Changes in directory llvm/lib/CodeGen/SelectionDAG:

SelectionDAGISel.cpp updated: 1.121 -> 1.122
---
Log message:

Add "support" for stacksave/stackrestore to the dag isel


---
Diffs of the changes:  (+5 -0)

 SelectionDAGISel.cpp |    5 +++++
 1 files changed, 5 insertions(+)


Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.121 
llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.122
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.121    Tue Jan 10 
13:04:57 2006
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp  Thu Jan 12 20:24:42 2006
@@ -1004,6 +1004,11 @@
                              getValue(I.getOperand(1)).getValueType(),
                              getValue(I.getOperand(1))));
     return 0;
+  case Intrinsic::stacksave:
+    setValue(&I, DAG.getNode(ISD::UNDEF, TLI.getValueType(I.getType())));
+    return 0;  // FIXME: discard stacksave/restore
+  case Intrinsic::stackrestore:
+    return 0;  // FIXME: discard stacksave/restore
   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

Reply via email to