From 0b2b76601a160cc5e38f5c1720084e6b872bc246 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136307 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/struct-matching-constraint.c | 12 +++--------- 1 file 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) { -- 2.40.0