]> granicus.if.org Git - clang/commitdiff
Fix test case.
authorAkira Hatanaka <ahatanaka@apple.com>
Thu, 18 Sep 2014 00:04:10 +0000 (00:04 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Thu, 18 Sep 2014 00:04:10 +0000 (00:04 +0000)
This is a follow-up to r217994.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@217996 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/mmx-inline-asm-error.c

index 876c664e3b57071379bbd3a973435660020d033f..e9a2800671ff40c964406dba2549cd9de4ba6342 100644 (file)
@@ -4,7 +4,7 @@ typedef int vec256 __attribute__((ext_vector_type(8)));
 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'}}