Fix recent test for more diverse environments.
authorTim Northover <Tim.Northover@arm.com>
Wed, 16 Jan 2013 20:35:54 +0000 (20:35 +0000)
committerTim Northover <Tim.Northover@arm.com>
Wed, 16 Jan 2013 20:35:54 +0000 (20:35 +0000)
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

clang/test/CodeGen/arm-neon-fma.c

index 7511fe1..994702d 100644 (file)
@@ -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>