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