[cfe-commits] r136307 - /cfe/trunk/test/CodeGen/struct-matching-constraint.c

Eric Christopher echristo at apple.com
Wed Jul 27 17:22:59 PDT 2011


Author: echristo
Date: Wed Jul 27 19:22:59 2011
New Revision: 136307

URL: http://llvm.org/viewvc/llvm-project?rev=136307&view=rev
Log:
Fix this test to work for arm and on all platforms.

Modified:
    cfe/trunk/test/CodeGen/struct-matching-constraint.c

Modified: cfe/trunk/test/CodeGen/struct-matching-constraint.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/struct-matching-constraint.c?rev=136307&r1=136306&r2=136307&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/struct-matching-constraint.c (original)
+++ cfe/trunk/test/CodeGen/struct-matching-constraint.c Wed Jul 27 19:22:59 2011
@@ -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)
 {





More information about the cfe-commits mailing list