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

Chris Lattner sabre at nondot.org
Tue Oct 31 11:40:59 PST 2006



Changes in directory llvm/include/llvm/Target:

TargetLowering.h updated: 1.82 -> 1.83
---
Log message:

Change the prototype for TargetLowering::isOperandValidForConstraint


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

 TargetLowering.h |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)


Index: llvm/include/llvm/Target/TargetLowering.h
diff -u llvm/include/llvm/Target/TargetLowering.h:1.82 llvm/include/llvm/Target/TargetLowering.h:1.83
--- llvm/include/llvm/Target/TargetLowering.h:1.82	Fri Oct 13 16:08:54 2006
+++ llvm/include/llvm/Target/TargetLowering.h	Tue Oct 31 13:40:43 2006
@@ -694,9 +694,12 @@
                                  MVT::ValueType VT) const;
   
   
-  /// isOperandValidForConstraint - Return true if the specified SDOperand is
-  /// valid for the specified target constraint letter.
-  virtual bool isOperandValidForConstraint(SDOperand Op, char ConstraintLetter);
+  /// isOperandValidForConstraint - Return the specified operand (possibly
+  /// modified) if the specified SDOperand is valid for the specified target
+  /// constraint letter, otherwise return null.
+  virtual SDOperand 
+    isOperandValidForConstraint(SDOperand Op, char ConstraintLetter,
+                                SelectionDAG &DAG);
   
   //===--------------------------------------------------------------------===//
   // Scheduler hooks






More information about the llvm-commits mailing list