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

Nate Begeman natebegeman at mac.com
Mon Aug 29 19:39:43 PDT 2005



Changes in directory llvm/include/llvm/CodeGen:

SelectionDAGNodes.h updated: 1.65 -> 1.66
---
Log message:

Add AssertSext, AssertZext nodes for targets that pass arguments in
registers, and the incoming values have already been zero or sign extended
from the appopriate type to the register width.


---
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.65 llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.66
--- llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.65	Mon Aug 29 17:48:32 2005
+++ llvm/include/llvm/CodeGen/SelectionDAGNodes.h	Mon Aug 29 21:39:32 2005
@@ -52,6 +52,13 @@
     // single token result.  This is used to represent the fact that the operand
     // operators are independent of each other.
     TokenFactor,
+    
+    // AssertSext, AssertZext - These nodes record if a register contains a 
+    // value that has already been zero or sign extended from a narrower type.  
+    // These nodes take two operands.  The first is the node that has already 
+    // been extended, and the second is a value type node indicating the width
+    // of the extension
+    AssertSext, AssertZext,
 
     // Various leaf nodes.
     Constant, ConstantFP, GlobalAddress, FrameIndex, ConstantPool,






More information about the llvm-commits mailing list