mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-13 15:11:39 +00:00
Fix a bug that resistor on IRC hit where we tried to create token factor
nodes of load results, not of their chain results. llvm-svn: 24398
This commit is contained in:
parent
4581404290
commit
7666d8192c
@ -670,7 +670,7 @@ PPCTargetLowering::LowerCallTo(SDOperand Chain,
|
||||
if (GPR_remaining > 0) {
|
||||
SDOperand Load = DAG.getLoad(MVT::i32, Store, PtrOff,
|
||||
DAG.getSrcValue(NULL));
|
||||
MemOps.push_back(Load);
|
||||
MemOps.push_back(Load.getValue(1));
|
||||
args_to_use.push_back(Load);
|
||||
--GPR_remaining;
|
||||
}
|
||||
@ -679,7 +679,7 @@ PPCTargetLowering::LowerCallTo(SDOperand Chain,
|
||||
PtrOff = DAG.getNode(ISD::ADD, MVT::i32, PtrOff, ConstFour);
|
||||
SDOperand Load = DAG.getLoad(MVT::i32, Store, PtrOff,
|
||||
DAG.getSrcValue(NULL));
|
||||
MemOps.push_back(Load);
|
||||
MemOps.push_back(Load.getValue(1));
|
||||
args_to_use.push_back(Load);
|
||||
--GPR_remaining;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user