diff options
author | Eric Christopher <echristo@apple.com> | 2011-07-28 00:22:59 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-07-28 00:22:59 +0000 |
commit | 9c8dece1b64fc89b8e71e33147b5541b51d7f32c (patch) | |
tree | ae9d9a00c2218071b46d33a400348a4d862f9013 /clang/test/CodeGen/struct-matching-constraint.c | |
parent | 82398f9cd6e2461f2c5a9efb44f126e81adc2fa4 (diff) | |
download | bcm5719-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.c | 12 |
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) { |