add operands in the correct order

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23123 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-08-29 00:02:01 +00:00
parent ff01698ec0
commit b9efd14568

View File

@ -1097,8 +1097,8 @@ SDOperand PPC32DAGToDAGISel::Select(SDOperand Op) {
int FrameIdx = BB->getParent()->getFrameInfo()->CreateStackObject(8, 8);
SDOperand FI = CurDAG->getTargetFrameIndex(FrameIdx, MVT::f64);
SDOperand ST = CurDAG->getTargetNode(PPC::STFD, MVT::Other, In, FI, getI32Imm(0));
CurDAG->SelectNodeTo(N, PPC::LWZ, MVT::i32, MVT::Other, FI, getI32Imm(4), ST);
SDOperand ST = CurDAG->getTargetNode(PPC::STFD, MVT::Other, In, getI32Imm(0), FI);
CurDAG->SelectNodeTo(N, PPC::LWZ, MVT::i32, MVT::Other, getI32Imm(4), FI, ST);
break;
}
case ISD::FNEG: {