forked from OSchip/llvm-project
parent
7939acd7fa
commit
4be76e99fe
|
|
@ -1281,9 +1281,7 @@ SDNode *SITargetLowering::foldOperands(MachineSDNode *Node,
|
||||||
fitsRegClass(DAG, Ops[1], OtherRegClass))) {
|
fitsRegClass(DAG, Ops[1], OtherRegClass))) {
|
||||||
|
|
||||||
// Swap commutable operands
|
// Swap commutable operands
|
||||||
SDValue Tmp = Ops[1];
|
std::swap(Ops[0], Ops[1]);
|
||||||
Ops[1] = Ops[0];
|
|
||||||
Ops[0] = Tmp;
|
|
||||||
|
|
||||||
Desc = DescRev;
|
Desc = DescRev;
|
||||||
DescRev = 0;
|
DescRev = 0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue