aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/fma.ll
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-08-27 11:50:26 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-08-27 11:50:26 +0000
commit1ba64859f5e2827eeb7dac7eb0943d6cacfc5e27 (patch)
treea04e506f6aab84fb92528a81af85fabac10f9495 /test/CodeGen/X86/fma.ll
parent83e2546ad3fd75dca35dc3cdbf8f0d085d57e189 (diff)
downloadexternal_llvm-1ba64859f5e2827eeb7dac7eb0943d6cacfc5e27.zip
external_llvm-1ba64859f5e2827eeb7dac7eb0943d6cacfc5e27.tar.gz
external_llvm-1ba64859f5e2827eeb7dac7eb0943d6cacfc5e27.tar.bz2
llvm/test/CodeGen/X86/fma.ll: Add -march=x86, or two tests would fail on non-x86 hosts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162667 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/fma.ll')
-rw-r--r--test/CodeGen/X86/fma.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/fma.ll b/test/CodeGen/X86/fma.ll
index 30bdf95..bd3514c 100644
--- a/test/CodeGen/X86/fma.ll
+++ b/test/CodeGen/X86/fma.ll
@@ -2,8 +2,8 @@
; RUN: llc < %s -mtriple=i386-apple-darwin10 -mattr=-fma,-fma4 | FileCheck %s --check-prefix=CHECK-FMA-CALL
; RUN: llc < %s -mtriple=x86_64-apple-darwin10 -mattr=+fma,-fma4 | FileCheck %s --check-prefix=CHECK-FMA-INST
; RUN: llc < %s -mtriple=x86_64-apple-darwin10 -mattr=-fma,-fma4 | FileCheck %s --check-prefix=CHECK-FMA-CALL
-; RUN: llc < %s -mcpu=bdver2 -mattr=-fma4 | FileCheck %s --check-prefix=CHECK-FMA-INST
-; RUN: llc < %s -mcpu=bdver2 -mattr=-fma,-fma4 | FileCheck %s --check-prefix=CHECK-FMA-CALL
+; RUN: llc < %s -march=x86 -mcpu=bdver2 -mattr=-fma4 | FileCheck %s --check-prefix=CHECK-FMA-INST
+; RUN: llc < %s -march=x86 -mcpu=bdver2 -mattr=-fma,-fma4 | FileCheck %s --check-prefix=CHECK-FMA-CALL
; CHECK: test_f32
; CHECK-FMA-INST: vfmadd213ss