[PowerPC] Correct commutable indices for VSX FMA instructions
authorHal Finkel <hfinkel@anl.gov>
Tue, 25 Mar 2014 19:26:43 +0000 (19:26 +0000)
committerHal Finkel <hfinkel@anl.gov>
Tue, 25 Mar 2014 19:26:43 +0000 (19:26 +0000)
commit7e77dabbd08f5822a8b95fe98ee1a48072aa0f1c
treedcf79b50b0fd2a1477bb07be3513b2b8f40bdfde
parentfba0a057a2105c46c542ae38f17b96b6f48c53b0
[PowerPC] Correct commutable indices for VSX FMA instructions

Although the first two operands are the ones that can be swapped, the tied
input operand is listed before them, so we need to adjust for that.

I have a test case for this, but it goes along with an upcoming commit (so it
will come soon).

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