aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/fma_patterns.ll
diff options
context:
space:
mode:
authorAnitha Boyapati <anitha.boyapati@gmail.com>2012-08-27 06:59:01 +0000
committerAnitha Boyapati <anitha.boyapati@gmail.com>2012-08-27 06:59:01 +0000
commit0aa63fcbcb71c057e1ccf98ab0b2689f0ad88748 (patch)
treea6db8c75a801dc3de984f6eb5094eead28ddc621 /test/CodeGen/X86/fma_patterns.ll
parent3a1683f88f45bcf79b1df86797a26e18ac5ff770 (diff)
FMA3 tests on bdver2 target for changes made in rev 162012. Also made
corresponding changes to existing tests for darwin triple to ensure that same pattern is tested for bdver2 target. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162655 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/fma_patterns.ll')
-rw-r--r--test/CodeGen/X86/fma_patterns.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGen/X86/fma_patterns.ll b/test/CodeGen/X86/fma_patterns.ll
index 5d97a87b3b..f7f919089b 100644
--- a/test/CodeGen/X86/fma_patterns.ll
+++ b/test/CodeGen/X86/fma_patterns.ll
@@ -1,4 +1,5 @@
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=core-avx2 -mattr=avx2,+fma -fp-contract=fast | FileCheck %s
+; RUN: llc < %s -mcpu=bdver2 -mattr=-fma4 -fp-contract=fast | FileCheck %s
; CHECK: test_x86_fmadd_ps
; CHECK: vfmadd213ps %xmm2, %xmm0, %xmm1