From 9c8dece1b64fc89b8e71e33147b5541b51d7f32c Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Thu, 28 Jul 2011 00:22:59 +0000 Subject: [PATCH] Fix this test to work for arm and on all platforms. llvm-svn: 136307 --- clang/test/CodeGen/struct-matching-constraint.c | 12 +++--------- 1 file 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) {