aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/struct-matching-constraint.c
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-07-28 00:22:59 +0000
committerEric Christopher <echristo@apple.com>2011-07-28 00:22:59 +0000
commit0b2b76601a160cc5e38f5c1720084e6b872bc246 (patch)
treed1cf722fed916784d0f4205322fa2ccc90149c73 /test/CodeGen/struct-matching-constraint.c
parent5cb3d699f0e37de1767eb23d26d03953a46cf1ff (diff)
Fix this test to work for arm and on all platforms.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136307 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/struct-matching-constraint.c')
-rw-r--r--test/CodeGen/struct-matching-constraint.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/test/CodeGen/struct-matching-constraint.c b/test/CodeGen/struct-matching-constraint.c
index 0e93eb8b2d..445264f903 100644
--- a/test/CodeGen/struct-matching-constraint.c
+++ b/test/CodeGen/struct-matching-constraint.c
@@ -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)
{