r217996 - Fix test case.
Akira Hatanaka
ahatanaka at apple.com
Wed Sep 17 17:04:10 PDT 2014
Author: ahatanak
Date: Wed Sep 17 19:04:10 2014
New Revision: 217996
URL: http://llvm.org/viewvc/llvm-project?rev=217996&view=rev
Log:
Fix test case.
This is a follow-up to r217994.
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=217996&r1=217995&r2=217996&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:04:10 2014
@@ -4,7 +4,7 @@ typedef int vec256 __attribute__((ext_ve
vec256 foo(vec256 in) {
vec256 out;
- asm("something %0" : : "y"(in)); // expected-error {{invalid type 'vec256' (vector of 8 'int' values) in asm input for constraint 'y'}}
+ 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'}}
More information about the cfe-commits
mailing list