mirror of
https://github.com/RPCS3/llvm.git
synced 2025-05-13 17:06:15 +00:00
Name this variable to be what it really is!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23145 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
55334fc45c
commit
f155635b53
@ -205,13 +205,13 @@ unsigned SimpleSched::Emit(SDOperand Op) {
|
|||||||
Emit(Op.getOperand(i));
|
Emit(Op.getOperand(i));
|
||||||
break;
|
break;
|
||||||
case ISD::CopyToReg: {
|
case ISD::CopyToReg: {
|
||||||
SDOperand ChainOp;
|
SDOperand FlagOp;
|
||||||
if (Op.getNumOperands() == 4)
|
if (Op.getNumOperands() == 4)
|
||||||
ChainOp = Op.getOperand(3);
|
FlagOp = Op.getOperand(3);
|
||||||
if (Op.getOperand(0).Val != ChainOp.Val)
|
if (Op.getOperand(0).Val != FlagOp.Val)
|
||||||
Emit(Op.getOperand(0)); // Emit the chain.
|
Emit(Op.getOperand(0)); // Emit the chain.
|
||||||
unsigned Val = Emit(Op.getOperand(2));
|
unsigned Val = Emit(Op.getOperand(2));
|
||||||
if (ChainOp.Val) Emit(ChainOp);
|
if (FlagOp.Val) Emit(FlagOp);
|
||||||
MRI.copyRegToReg(*BB, BB->end(),
|
MRI.copyRegToReg(*BB, BB->end(),
|
||||||
cast<RegisterSDNode>(Op.getOperand(1))->getReg(), Val,
|
cast<RegisterSDNode>(Op.getOperand(1))->getReg(), Val,
|
||||||
RegMap->getRegClass(Val));
|
RegMap->getRegClass(Val));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user