aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Northover <Tim.Northover@arm.com>2013-01-16 20:35:54 +0000
committerTim Northover <Tim.Northover@arm.com>2013-01-16 20:35:54 +0000
commit04c226aab970da86fc9f59ec3a808cf916458261 (patch)
tree18076628c51fbb60f5efe4f0178407cb67bce617
parentc4a04010f676ce9ff0049b0fc5d1f96a2dbe81be (diff)
Fix recent test for more diverse environments.
I think the main issue was the lack of -ffreestanding, which pulled in the host's stdint.h. After that things went rapidly downhill. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172653 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/arm-neon-fma.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/CodeGen/arm-neon-fma.c b/test/CodeGen/arm-neon-fma.c
index 7511fe16c6..994702d746 100644
--- a/test/CodeGen/arm-neon-fma.c
+++ b/test/CodeGen/arm-neon-fma.c
@@ -1,6 +1,9 @@
// REQUIRES: arm-registered-target
-// RUN: %clang -target thumbv7-none-linux-gnueabihf \
-// RUN: -mcpu=cortex-a8 -mfloat-abi=hard \
+// RUN: %clang_cc1 -triple thumbv7-none-linux-gnueabihf \
+// RUN: -target-abi aapcs \
+// RUN: -target-cpu cortex-a8 \
+// RUN: -mfloat-abi hard \
+// RUN: -ffreestanding \
// RUN: -O3 -S -emit-llvm -o - %s | FileCheck %s
#include <arm_neon.h>