diff options
author | Eric Christopher <echristo@apple.com> | 2011-07-28 00:25:28 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-07-28 00:25:28 +0000 |
commit | 55528b2eedb2b22bbd08dcf0f0baec22f64100d9 (patch) | |
tree | b689423a6e21c0a1a6133c98fbd7c2bdf745a690 /test/CodeGen/struct-init.c | |
parent | 0b2b76601a160cc5e38f5c1720084e6b872bc246 (diff) |
Fix this up for clang codegen versus llvm-gcc.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136308 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/struct-init.c')
-rw-r--r-- | test/CodeGen/struct-init.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/test/CodeGen/struct-init.c b/test/CodeGen/struct-init.c index 8a605c1b67..9bc46ec05f 100644 --- a/test/CodeGen/struct-init.c +++ b/test/CodeGen/struct-init.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s +// RUN: %clang -S -arch armv7 %s -emit-llvm -o - | FileCheck %s typedef struct _zend_ini_entry zend_ini_entry; struct _zend_ini_entry { @@ -23,17 +23,15 @@ typedef __attribute__(( ext_vector_type(2) )) unsigned int uint2; typedef __attribute__(( __vector_size__(8) )) unsigned int __neon_uint32x2_t; // rdar://8183908 -typedef struct __simd64_uint32_t { - __neon_uint32x2_t val; -} uint32x2_t; +typedef unsigned int uint32_t; +typedef __attribute__((neon_vector_type(2))) uint32_t uint32x2_t; void foo() { const uint32x2_t signBit = { (uint2) 0x80000000 }; } -// CHECK: %struct.fp_struct_foo = type { void (i32)* } +// CHECK: %struct.fp_struct_foo = type { void ([1 x i32])* } struct fp_struct_bar { int a; }; struct fp_struct_foo { void (*FP)(struct fp_struct_bar); } G; - |