summaryrefslogtreecommitdiffstats
path: root/clang/test/Headers/arm-neon-header.c
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2010-12-02 07:13:31 +0000
committerBob Wilson <bob.wilson@apple.com>2010-12-02 07:13:31 +0000
commit27d87807f6892dab7b7ec0d4ffe00a2932e2fa18 (patch)
tree357adc4be52cf61ef0badc4366a55c2e60cee7ce /clang/test/Headers/arm-neon-header.c
parent79026235e68e5f04f20efa4693279bcf573aeb87 (diff)
downloadbcm5719-llvm-27d87807f6892dab7b7ec0d4ffe00a2932e2fa18.tar.gz
bcm5719-llvm-27d87807f6892dab7b7ec0d4ffe00a2932e2fa18.zip
Add a test for calling a Neon intrinsic macro with the wrong vector type.
This does not work so well with the -fno-lax-vector-conversions option for testing the arm_neon.h header but that is a really useful test, so I split this out to a separate Sema test to check for the warning. llvm-svn: 120694
Diffstat (limited to 'clang/test/Headers/arm-neon-header.c')
-rw-r--r--clang/test/Headers/arm-neon-header.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/test/Headers/arm-neon-header.c b/clang/test/Headers/arm-neon-header.c
index 3f8b3d14362..e1190411108 100644
--- a/clang/test/Headers/arm-neon-header.c
+++ b/clang/test/Headers/arm-neon-header.c
@@ -3,8 +3,3 @@
// RUN: %clang_cc1 -x c++ -triple thumbv7-apple-darwin10 -target-cpu cortex-a8 -fsyntax-only -Wvector-conversions -verify %s
#include <arm_neon.h>
-
-// Radar 8228022: Should not report incompatible vector types.
-int32x2_t test(int32x2_t x) {
- return vshr_n_s32(x, 31);
-}
OpenPOWER on IntegriCloud