[llvm-commits] CVS: llvm/include/llvm/Target/TargetLowering.h

Nate Begeman natebegeman at mac.com
Fri Jan 27 19:14:45 PST 2006



Changes in directory llvm/include/llvm/Target:

TargetLowering.h updated: 1.38 -> 1.39
---
Log message:

Implement Promote for VAARG, and allow it to be custom promoted for people
who don't want the default behavior (Alpha).


---
Diffs of the changes:  (+6 -1)

 TargetLowering.h |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletion(-)


Index: llvm/include/llvm/Target/TargetLowering.h
diff -u llvm/include/llvm/Target/TargetLowering.h:1.38 llvm/include/llvm/Target/TargetLowering.h:1.39
--- llvm/include/llvm/Target/TargetLowering.h:1.38	Fri Jan 27 15:09:21 2006
+++ llvm/include/llvm/Target/TargetLowering.h	Fri Jan 27 21:14:31 2006
@@ -369,11 +369,16 @@
                           SelectionDAG &DAG);
 
   /// LowerOperation - For operations that are unsupported by the target, and
-  /// which are registered to use 'custom' lowering.  This callback is invoked.
+  /// which are registered to use 'custom' lowering, this callback is invoked.
   /// If the target has no operations that require custom lowering, it need not
   /// implement this.  The default implementation of this aborts.
   virtual SDOperand LowerOperation(SDOperand Op, SelectionDAG &DAG);
 
+  /// CustomPromoteOperation - For operations that are unsupported by the
+  /// target, are registered to use 'custom' lowering, and whose type needs to
+  /// be promoted, this callback is invoked.
+  virtual SDOperand CustomPromoteOperation(SDOperand Op, SelectionDAG &DAG);
+  
   /// getTargetNodeName() - This method returns the name of a target specific
   /// DAG node.
   virtual const char *getTargetNodeName(unsigned Opcode) const;






More information about the llvm-commits mailing list