summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-08-27 03:38:15 +0000
committerCraig Topper <craig.topper@gmail.com>2012-08-27 03:38:15 +0000
commite10fa862f8601148c79e64b381e50647a586fa7b (patch)
tree854d5413a807ec0289289516685a4e6ae65adb2f /test
parenta16c2e3493816472afd78521094f08bf2d26165e (diff)
downloadllvm-e10fa862f8601148c79e64b381e50647a586fa7b.tar.gz
llvm-e10fa862f8601148c79e64b381e50647a586fa7b.tar.bz2
llvm-e10fa862f8601148c79e64b381e50647a586fa7b.tar.xz
Make sure that FMA3 is favored even when FMA4 is also enabled. Test case for r162454.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162653 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rwxr-xr-xtest/CodeGen/X86/fma3-intrinsics.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/X86/fma3-intrinsics.ll b/test/CodeGen/X86/fma3-intrinsics.ll
index 90529e09d7..1b660f1a01 100755
--- a/test/CodeGen/X86/fma3-intrinsics.ll
+++ b/test/CodeGen/X86/fma3-intrinsics.ll
@@ -1,4 +1,5 @@
-; RUN: llc < %s -mtriple=x86_64-pc-win32 -mcpu=core-avx2 -mattr=avx2,+fma | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-pc-win32 -mcpu=core-avx2 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-pc-win32 -mattr=+fma,+fma4 | FileCheck %s
define <4 x float> @test_x86_fmadd_ss(<4 x float> %a0, <4 x float> %a1, <4 x float> %a2) {
; CHECK: fmadd213ss %xmm