summaryrefslogtreecommitdiffstats
path: root/clang/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
commit9c8dece1b64fc89b8e71e33147b5541b51d7f32c (patch)
treeae9d9a00c2218071b46d33a400348a4d862f9013 /clang/test/CodeGen/struct-matching-constraint.c
parent82398f9cd6e2461f2c5a9efb44f126e81adc2fa4 (diff)
downloadbcm5719-llvm-9c8dece1b64fc89b8e71e33147b5541b51d7f32c.tar.gz
bcm5719-llvm-9c8dece1b64fc89b8e71e33147b5541b51d7f32c.zip
Fix this test to work for arm and on all platforms.
llvm-svn: 136307
Diffstat (limited to 'clang/test/CodeGen/struct-matching-constraint.c')
-rw-r--r--clang/test/CodeGen/struct-matching-constraint.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/clang/test/CodeGen/struct-matching-constraint.c b/clang/test/CodeGen/struct-matching-constraint.c
index 0e93eb8b2d9..445264f9038 100644
--- a/clang/test/CodeGen/struct-matching-constraint.c
+++ b/clang/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)
{
OpenPOWER on IntegriCloud