summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2010-11-17 00:44:53 +0000
committerBob Wilson <bob.wilson@apple.com>2010-11-17 00:44:53 +0000
commitdb04141f9ab04baccb05c18768487942e3672ca5 (patch)
tree846538b0ea52c6b3589090d51aacc2f42046eefe /clang/test
parentee5ba319dba7ecc9e58344a393e664c8ac2095cf (diff)
downloadbcm5719-llvm-db04141f9ab04baccb05c18768487942e3672ca5.tar.gz
bcm5719-llvm-db04141f9ab04baccb05c18768487942e3672ca5.zip
Re-enable test with modifications for Neon vector changes in clang.
I mistakenly thought that this was checking for vector name mangling, but it is not. Since we're no longer wrapping Neon vectors in structs, this test can just return a vector directly. There are already other tests for that, so just to make this interesting, change the test to return a struct of two vectors. llvm-svn: 119434
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/CodeGen/arm-vector-arguments.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/CodeGen/arm-vector-arguments.c b/clang/test/CodeGen/arm-vector-arguments.c
index a5d895edcc3..c5ac0a7ad1b 100644
--- a/clang/test/CodeGen/arm-vector-arguments.c
+++ b/clang/test/CodeGen/arm-vector-arguments.c
@@ -8,9 +8,9 @@
#include <arm_neon.h>
-// temporarily skip check: define void @f0(%struct.__simd128_int8_t* sret %agg.result, <16 x i8> %{{.*}}, <16 x i8> %{{.*}})
-int8x16_t f0(int8x16_t a0, int8x16_t a1) {
- return vzipq_s8(a0, a1).val[0];
+// CHECK: define void @f0(%struct.int8x16x2_t* sret %agg.result, <16 x i8> %{{.*}}, <16 x i8> %{{.*}})
+int8x16x2_t f0(int8x16_t a0, int8x16_t a1) {
+ return vzipq_s8(a0, a1);
}
// Test direct vector passing.
OpenPOWER on IntegriCloud