r218003 - Fix test case.
Akira Hatanaka
ahatanaka at apple.com
Wed Sep 17 17:29:04 PDT 2014
Author: ahatanak
Date: Wed Sep 17 19:29:04 2014
New Revision: 218003
URL: http://llvm.org/viewvc/llvm-project?rev=218003&view=rev
Log:
Fix test case.
This is another follow-up patch to r217996.
Modified:
cfe/trunk/test/CodeGen/mmx-inline-asm-error.c
Modified: cfe/trunk/test/CodeGen/mmx-inline-asm-error.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/mmx-inline-asm-error.c?rev=218003&r1=218002&r2=218003&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/mmx-inline-asm-error.c (original)
+++ cfe/trunk/test/CodeGen/mmx-inline-asm-error.c Wed Sep 17 19:29:04 2014
@@ -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;
}
More information about the cfe-commits
mailing list