[X86] As per suggestion from Craig Topper and Hal Finkel, override
authorLang Hames <lhames@gmail.com>
Wed, 2 Apr 2014 23:57:49 +0000 (23:57 +0000)
committerLang Hames <lhames@gmail.com>
Wed, 2 Apr 2014 23:57:49 +0000 (23:57 +0000)
commitd285beabff6d4880da6badd1a574adfa572811b7
tree05522dfebe4bb979fa7bcb03873f9d0dc4ce157c
parent9263e6f08d26384d076e8e314ba0e72fe8ad3e2f
[X86] As per suggestion from Craig Topper and Hal Finkel, override
TargetInstrInfo::findCommutedOpIndices to enable VFMA*231 commutation, rather
than abusing commuteInstruction.

Thanks very much for the suggestion guys!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205489 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrInfo.cpp
lib/Target/X86/X86InstrInfo.h