diff options
author | Akira Hatanaka <ahatanaka@apple.com> | 2014-09-18 00:29:04 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@apple.com> | 2014-09-18 00:29:04 +0000 |
commit | 3ab9ada59c45ef2b75b9bfb4f1c859f54055a3d0 (patch) | |
tree | 479014a45dbccf244f77e6d678d14195e628e5c2 | |
parent | 109534cb596ea15c08137329c5b8760e078fa780 (diff) | |
download | bcm5719-llvm-3ab9ada59c45ef2b75b9bfb4f1c859f54055a3d0.tar.gz bcm5719-llvm-3ab9ada59c45ef2b75b9bfb4f1c859f54055a3d0.zip |
Fix test case.
This is another follow-up patch to r217996.
llvm-svn: 218003
-rw-r--r-- | clang/test/CodeGen/mmx-inline-asm-error.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/mmx-inline-asm-error.c b/clang/test/CodeGen/mmx-inline-asm-error.c index e9a2800671f..9be27fac585 100644 --- a/clang/test/CodeGen/mmx-inline-asm-error.c +++ b/clang/test/CodeGen/mmx-inline-asm-error.c @@ -5,8 +5,8 @@ vec256 foo(vec256 in) { vec256 out; asm("something %0" : : "y"(in)); // expected-error {{invalid input size for constraint 'y'}} - asm("something %0" : "=y"(out)); // expected-error {{invalid type 'vec256' (vector of 8 'int' values) in asm input for constraint 'y'}} - asm("something %0, %0" : "+y"(out)); // expected-error {{invalid type 'vec256' (vector of 8 'int' values) in asm input for constraint 'y'}} + asm("something %0" : "=y"(out)); + asm("something %0, %0" : "+y"(out)); return out; } |