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

Chris Lattner lattner at cs.uiuc.edu
Tue Feb 7 12:13:57 PST 2006



Changes in directory llvm/include/llvm/Target:

TargetLowering.h updated: 1.47 -> 1.48
---
Log message:

getConstraintType should be virtual.


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

 TargetLowering.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)


Index: llvm/include/llvm/Target/TargetLowering.h
diff -u llvm/include/llvm/Target/TargetLowering.h:1.47 llvm/include/llvm/Target/TargetLowering.h:1.48
--- llvm/include/llvm/Target/TargetLowering.h:1.47	Fri Feb  3 20:12:09 2006
+++ llvm/include/llvm/Target/TargetLowering.h	Tue Feb  7 14:13:44 2006
@@ -451,7 +451,7 @@
   
   /// getConstraintType - Given a constraint letter, return the type of
   /// constraint it is for this target.
-  ConstraintType getConstraintType(char ConstraintLetter) const;
+  virtual ConstraintType getConstraintType(char ConstraintLetter) const;
   
   /// getRegForInlineAsmConstraint - Given a constraint letter or register
   /// name (e.g. "r" or "edx"), return a list of registers that can be used to
@@ -460,6 +460,8 @@
   virtual std::vector<unsigned> 
   getRegForInlineAsmConstraint(const std::string &Constraint) const;
   
+  /// isOperandValidForConstraint - Return true if the specified SDOperand is
+  /// valid for the specified target constraint letter.
   virtual bool isOperandValidForConstraint(SDOperand Op, char ConstraintLetter);
   
   //===--------------------------------------------------------------------===//






More information about the llvm-commits mailing list