aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/fabs.ll
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2012-08-08 20:31:37 +0000
committerBob Wilson <bob.wilson@apple.com>2012-08-08 20:31:37 +0000
commit5f91a99427c0be5899835fc6407c6e55bfcd606d (patch)
tree1212b7bb26ba438a0d58e4f0e041462c252bdf48 /test/CodeGen/X86/fabs.ll
parentba7b890d0b8ca554fac24d24f8c17cb93adc3abc (diff)
downloadexternal_llvm-5f91a99427c0be5899835fc6407c6e55bfcd606d.zip
external_llvm-5f91a99427c0be5899835fc6407c6e55bfcd606d.tar.gz
external_llvm-5f91a99427c0be5899835fc6407c6e55bfcd606d.tar.bz2
Add test triples to fix win32 failures. Revert workaround from r161292.
I don't have a win32 system to test, so hopefully I got them all fixed here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161519 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/fabs.ll')
-rw-r--r--test/CodeGen/X86/fabs.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/X86/fabs.ll b/test/CodeGen/X86/fabs.ll
index 2074f04..af1867f 100644
--- a/test/CodeGen/X86/fabs.ll
+++ b/test/CodeGen/X86/fabs.ll
@@ -1,7 +1,7 @@
; Make sure this testcase codegens to the fabs instruction, not a call to fabsf
-; RUN: llc < %s -march=x86 -mattr=-sse2,-sse3,-sse | FileCheck %s
-; RUN: llc < %s -march=x86 -mattr=-sse,-sse2,-sse3 -enable-unsafe-fp-math -enable-no-nans-fp-math | FileCheck %s --check-prefix=UNSAFE
-; RUN: llc < %s -march=x86-64 -O0 | FileCheck %s --check-prefix=NOOPT
+; RUN: llc < %s -mtriple=i686-apple-macosx -mattr=-sse2,-sse3,-sse | FileCheck %s
+; RUN: llc < %s -mtriple=i686-apple-macosx -mattr=-sse,-sse2,-sse3 -enable-unsafe-fp-math -enable-no-nans-fp-math | FileCheck %s --check-prefix=UNSAFE
+; RUN: llc < %s -mtriple=x86_64-apple-macosx -O0 | FileCheck %s --check-prefix=NOOPT
declare float @fabsf(float)