[llvm-commits] CVS: llvm/include/llvm/CodeGen/SelectionDAGNodes.h

Nate Begeman natebegeman at mac.com
Mon Jan 29 14:59:28 PST 2007



Changes in directory llvm/include/llvm/CodeGen:

SelectionDAGNodes.h updated: 1.166 -> 1.167
---
Log message:

Finish off bug 680: http://llvm.org/PR680 , allowing targets to custom lower frame and return
address nodes.


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

 SelectionDAGNodes.h |    7 +++++++
 1 files changed, 7 insertions(+)


Index: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
diff -u llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.166 llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.167
--- llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.166	Sun Jan 28 07:31:35 2007
+++ llvm/include/llvm/CodeGen/SelectionDAGNodes.h	Mon Jan 29 16:58:52 2007
@@ -84,6 +84,13 @@
 
     // The address of the GOT
     GLOBAL_OFFSET_TABLE,
+    
+    // FRAMEADDR, RETURNADDR - These nodes represent llvm.frameaddress and
+    // llvm.returnaddress on the DAG.  These nodes take one operand, the index
+    // of the frame or return address to return.  An index of zero corresponds
+    // to the current function's frame or return address, an index of one to the
+    // parent's frame or return address, and so on.
+    FRAMEADDR, RETURNADDR,
 
     // TargetConstant* - Like Constant*, but the DAG does not do any folding or
     // simplification of the constant.






More information about the llvm-commits mailing list