diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-08-27 03:38:15 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-08-27 03:38:15 +0000 |
commit | e10fa862f8601148c79e64b381e50647a586fa7b (patch) | |
tree | 854d5413a807ec0289289516685a4e6ae65adb2f /test | |
parent | a16c2e3493816472afd78521094f08bf2d26165e (diff) | |
download | external_llvm-e10fa862f8601148c79e64b381e50647a586fa7b.zip external_llvm-e10fa862f8601148c79e64b381e50647a586fa7b.tar.gz external_llvm-e10fa862f8601148c79e64b381e50647a586fa7b.tar.bz2 |
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-x | test/CodeGen/X86/fma3-intrinsics.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/X86/fma3-intrinsics.ll b/test/CodeGen/X86/fma3-intrinsics.ll index 90529e0..1b660f1 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 |