]> granicus.if.org Git - clang/commitdiff
Fix this test to work for arm and on all platforms.
authorEric Christopher <echristo@apple.com>
Thu, 28 Jul 2011 00:22:59 +0000 (00:22 +0000)
committerEric Christopher <echristo@apple.com>
Thu, 28 Jul 2011 00:22:59 +0000 (00:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136307 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/struct-matching-constraint.c

index 0e93eb8b2d9b07630810bd38ec5e8f9dcd6c460c..445264f90388fd321462769b47cd0ea1c4577980 100644 (file)
@@ -1,12 +1,6 @@
-// RUN: %clang_cc1 -emit-llvm -march=armv7a %s 
-
-// XFAIL: *
-// XTARGET: arm
-
-typedef struct __simd128_uint16_t
-{
-  __neon_uint16x8_t val;
-} uint16x8_t;
+// RUN: %clang -S -emit-llvm -arch arm -march=armv7a %s
+typedef unsigned short uint16_t;
+typedef __attribute__((neon_vector_type(8))) uint16_t uint16x8_t;
 
 void b(uint16x8_t sat, uint16x8_t luma)
 {