[X86] Make the VFMA*231 variants commutable and relax the alignment restrictions
authorLang Hames <lhames@gmail.com>
Wed, 2 Apr 2014 22:06:16 +0000 (22:06 +0000)
committerLang Hames <lhames@gmail.com>
Wed, 2 Apr 2014 22:06:16 +0000 (22:06 +0000)
commitc2c751312e328556388f5cf2585f3b655935af25
tree4087625773fec37b09ff3e1a84217445e687b5d6
parent4680f40d28f1de7b2c8b01ef7422d4e1e001ee01
[X86] Make the VFMA*231 variants commutable and relax the alignment restrictions
on FMA3 memory operands. FMA3 instructions are VEX encoded, so they can load
from unaligned memory.

Testcase to follow, along with related patch.

<rdar://problem/16478629>

llvm-svn: 205472
llvm/lib/Target/X86/X86InstrFMA.td
llvm/lib/Target/X86/X86InstrInfo.cpp