diff options
| author | Tim Northover <Tim.Northover@arm.com> | 2013-01-16 20:35:54 +0000 |
|---|---|---|
| committer | Tim Northover <Tim.Northover@arm.com> | 2013-01-16 20:35:54 +0000 |
| commit | bd7c1696640b4a63b3d930dfc0719ed428fbd88f (patch) | |
| tree | 0f867f898b19cab10d0e062c70af5ae334e12fec /clang | |
| parent | 69fc38f02f1ec84d2a1390c4bd4a982a1a5187f3 (diff) | |
| download | bcm5719-llvm-bd7c1696640b4a63b3d930dfc0719ed428fbd88f.tar.gz bcm5719-llvm-bd7c1696640b4a63b3d930dfc0719ed428fbd88f.zip | |
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.
llvm-svn: 172653
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/test/CodeGen/arm-neon-fma.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/clang/test/CodeGen/arm-neon-fma.c b/clang/test/CodeGen/arm-neon-fma.c index 7511fe16c6b..994702d7469 100644 --- a/clang/test/CodeGen/arm-neon-fma.c +++ b/clang/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> |

