aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/extended-fma-contraction.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/extended-fma-contraction.ll')
-rw-r--r--test/CodeGen/X86/extended-fma-contraction.ll22
1 files changed, 0 insertions, 22 deletions
diff --git a/test/CodeGen/X86/extended-fma-contraction.ll b/test/CodeGen/X86/extended-fma-contraction.ll
deleted file mode 100644
index 858eabcb7dc6..000000000000
--- a/test/CodeGen/X86/extended-fma-contraction.ll
+++ /dev/null
@@ -1,22 +0,0 @@
-; 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-LABEL: fmafunc
-define <3 x float> @fmafunc(<3 x float> %a, <3 x float> %b, <3 x float> %c) {
-
-; CHECK-NOT: vmulps
-; CHECK-NOT: vaddps
-; CHECK: vfmaddps
-; CHECK-NOT: vmulps
-; CHECK-NOT: vaddps
-
-; CHECK-NOFMA-NOT: calll
-; CHECK-NOFMA: vmulps
-; CHECK-NOFMA: vaddps
-; CHECK-NOFMA-NOT: calll
-
- %ret = tail call <3 x float> @llvm.fmuladd.v3f32(<3 x float> %a, <3 x float> %b, <3 x float> %c)
- ret <3 x float> %ret
-}
-
-declare <3 x float> @llvm.fmuladd.v3f32(<3 x float>, <3 x float>, <3 x float>) nounwind readnone