summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorStephen Lin <stephenwlin@gmail.com>2013-07-09 19:27:10 +0000
committerStephen Lin <stephenwlin@gmail.com>2013-07-09 19:27:10 +0000
commitddd536085c6d07149fbbd953c4015531dad52400 (patch)
treeca17dc84ffaad349bdf5dd7456faf0ab13157446 /test
parent1a2b2481ee24c5b6fac8c18845e4a9d0080f8ad2 (diff)
downloadllvm-ddd536085c6d07149fbbd953c4015531dad52400.tar.gz
llvm-ddd536085c6d07149fbbd953c4015531dad52400.tar.bz2
llvm-ddd536085c6d07149fbbd953c4015531dad52400.tar.xz
Appease buildbots after r185956: just set -mcpu explicitly, as it should have been from the beginning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185962 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/X86/extended-fma-contraction.ll4
-rw-r--r--test/CodeGen/X86/wide-fma-contraction.ll4
2 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/X86/extended-fma-contraction.ll b/test/CodeGen/X86/extended-fma-contraction.ll
index 9de14505c7..2fb46b993a 100644
--- a/test/CodeGen/X86/extended-fma-contraction.ll
+++ b/test/CodeGen/X86/extended-fma-contraction.ll
@@ -1,5 +1,5 @@
-; RUN: llc -march=x86 -mattr=+fma4 -mtriple=x86_64-apple-darwin < %s | FileCheck %s
-; RUN: llc -march=x86 -mattr=+avx,-fma,-fma4 -mtriple=x86_64-apple-darwin < %s | FileCheck %s --check-prefix=CHECK-NOFMA
+; RUN: llc -march=x86 -mcpu=bdver2 -mattr=-fma -mtriple=x86_64-apple-darwin < %s | FileCheck %s
+; RUN: llc -march=x86 -mcpu=bdver2 -mattr=-fma,-fma4 -mtriple=x86_64-apple-darwin < %s | FileCheck %s --check-prefix=CHECK-NOFMA
; CHECK: fmafunc
define <3 x float> @fmafunc(<3 x float> %a, <3 x float> %b, <3 x float> %c) {
diff --git a/test/CodeGen/X86/wide-fma-contraction.ll b/test/CodeGen/X86/wide-fma-contraction.ll
index ab0cf2f3e1..35c0924579 100644
--- a/test/CodeGen/X86/wide-fma-contraction.ll
+++ b/test/CodeGen/X86/wide-fma-contraction.ll
@@ -1,5 +1,5 @@
-; RUN: llc -march=x86 -mattr=+fma4 -mtriple=x86_64-apple-darwin < %s | FileCheck %s
-; RUN: llc -march=x86 -mattr=+avx,-fma,-fma4 -mtriple=x86_64-apple-darwin < %s | FileCheck %s --check-prefix=CHECK-NOFMA
+; RUN: llc -march=x86 -mcpu=bdver2 -mattr=-fma -mtriple=x86_64-apple-darwin < %s | FileCheck %s
+; RUN: llc -march=x86 -mcpu=bdver2 -mattr=-fma,-fma4 -mtriple=x86_64-apple-darwin < %s | FileCheck %s --check-prefix=CHECK-NOFMA
; CHECK: fmafunc
define <16 x float> @fmafunc(<16 x float> %a, <16 x float> %b, <16 x float> %c) {