[X86] Only 213 FMA3 variants should be marked commutable.
authorLang Hames <lhames@gmail.com>
Tue, 4 Feb 2014 19:42:47 +0000 (19:42 +0000)
committerLang Hames <lhames@gmail.com>
Tue, 4 Feb 2014 19:42:47 +0000 (19:42 +0000)
commit051faa2cfa63b5add668592c9e6cc240a876cdb9
tree1ae6cd16f84d0535996bd7346365b8c02c7766ec
parent483727da487c1cb97c6b23ce6eea37886a0df0e1
[X86] Only 213 FMA3 variants should be marked commutable.

Commuting the 231 and 132 variants would swap addends and
multiplicands/multipliers, which isn't valid.

I'm still trying to reduce a decent test case for this.

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