]> granicus.if.org Git - llvm/commit
[X86] Add more FMA3 patterns to cover a load in all 3 possible positions.
authorCraig Topper <craig.topper@intel.com>
Wed, 6 Sep 2017 03:35:58 +0000 (03:35 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 6 Sep 2017 03:35:58 +0000 (03:35 +0000)
commit4bf6215f5e088caa5a2e013fc387a23800f735a7
tree28192405992bdf209b8f3a5f2c13d3c1809424f2
parenta481ab548d038c1dfd52ee211b997e2dd33ff5ae
[X86] Add more FMA3 patterns to cover a load in all 3 possible positions.

This matches what we already do for AVX512. The peephole pass makes up for this in most if not all cases. But this makes isel behavior for these consistent with every other instruction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312613 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrAVX512.td
lib/Target/X86/X86InstrFMA.td