Changes in directory llvm/lib/CodeGen/SelectionDAG:
SelectionDAGISel.cpp updated: 1.131 -> 1.132 --- Log message: Fix bugs lowering stackrestore, fixing 2004-08-12-InlinerAndAllocas.c on PPC. --- Diffs of the changes: (+4 -3) SelectionDAGISel.cpp | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.131 llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.132 --- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.131 Sat Jan 21 13:12:11 2006 +++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Sun Jan 22 23:22:07 2006 @@ -1043,10 +1043,11 @@ DAG.setRoot(Tmp.getValue(1)); return 0; } - case Intrinsic::stackrestore: - DAG.setRoot(DAG.getNode(ISD::STACKRESTORE, MVT::Other, DAG.getRoot(), - getValue(I.getOperand(1)))); + case Intrinsic::stackrestore: { + SDOperand Tmp = getValue(I.getOperand(1)); + DAG.setRoot(DAG.getNode(ISD::STACKRESTORE, MVT::Other, getRoot(), Tmp)); return 0; + } case Intrinsic::prefetch: // FIXME: Currently discarding prefetches. return 0; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits