[X86][FMA] More thorough FMA tests
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 28 Nov 2015 14:28:44 +0000 (14:28 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 28 Nov 2015 14:28:44 +0000 (14:28 +0000)
commit5477417f967b42072087b4c9389d40dcb4279aea
treeeb7e571cd7d38a0c721c3b362ccdda92a4fc4fe2
parent45eadd4286742e7a1d39afc73701e052e41a012b
[X86][FMA] More thorough FMA tests

Added FMADD/FMSUB/FNMADD/FNMSUB tests for all types

Added load folding tests for 512-bit vectors

NOTE: Many of the AVX512 FMA instructions don't yet commute/fold correctly

As discussed on D14909

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254232 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/X86/fma_patterns.ll
test/CodeGen/X86/fma_patterns_wide.ll