Should be using flag and not chain.

llvm-svn: 23572
This commit is contained in:
Jim Laskey 2005-09-30 23:43:37 +00:00
parent 62fa04cd5b
commit 94e6b5c648

View File

@ -1351,7 +1351,7 @@ SDOperand PPC32DAGToDAGISel::Select(SDOperand Op) {
Chain.getValue(1)).getValue(1); Chain.getValue(1)).getValue(1);
CallResults.push_back(Chain.getValue(0)); CallResults.push_back(Chain.getValue(0));
Chain = CurDAG->getCopyFromReg(Chain, PPC::R3, MVT::i32, Chain = CurDAG->getCopyFromReg(Chain, PPC::R3, MVT::i32,
Chain.getValue(1)).getValue(1); Chain.getValue(2)).getValue(1);
CallResults.push_back(Chain.getValue(0)); CallResults.push_back(Chain.getValue(0));
} else { } else {
Chain = CurDAG->getCopyFromReg(Chain, PPC::R3, MVT::i32, Chain = CurDAG->getCopyFromReg(Chain, PPC::R3, MVT::i32,