[cfe-commits] r172653 - /cfe/trunk/test/CodeGen/arm-neon-fma.c
Tim Northover
Tim.Northover at arm.com
Wed Jan 16 12:35:54 PST 2013
Author: tnorthover
Date: Wed Jan 16 14:35:54 2013
New Revision: 172653
URL: http://llvm.org/viewvc/llvm-project?rev=172653&view=rev
Log:
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.
Modified:
cfe/trunk/test/CodeGen/arm-neon-fma.c
Modified: cfe/trunk/test/CodeGen/arm-neon-fma.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm-neon-fma.c?rev=172653&r1=172652&r2=172653&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm-neon-fma.c (original)
+++ cfe/trunk/test/CodeGen/arm-neon-fma.c Wed Jan 16 14:35:54 2013
@@ -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>
More information about the cfe-commits
mailing list