mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-01 01:14:12 +00:00
codegen ADD_PARTS correctly: put the results in the right registers! This
fixes fhourstones git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23152 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cc0675a4be
commit
14b86c72a2
@ -1208,8 +1208,8 @@ SDOperand PPC32DAGToDAGISel::Select(SDOperand Op) {
|
||||
else
|
||||
ResultHi = CurDAG->getTargetNode(PPC::ADDE, MVT::i32, LHSH,
|
||||
Select(N->getOperand(3)), CarryFromLo);
|
||||
Result.push_back(ResultHi);
|
||||
Result.push_back(CarryFromLo.getValue(0));
|
||||
Result.push_back(ResultHi);
|
||||
CurDAG->ReplaceAllUsesWith(N, Result);
|
||||
return Result[Op.ResNo];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user