[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp X86ISelLowering.h

Chris Lattner lattner at cs.uiuc.edu
Tue Feb 21 15:11:13 PST 2006



Changes in directory llvm/lib/Target/X86:

X86ISelLowering.cpp updated: 1.90 -> 1.91
X86ISelLowering.h updated: 1.28 -> 1.29
---
Log message:

Updates to match change of getRegForInlineAsmConstraint prototype


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

 X86ISelLowering.cpp |    5 +++--
 X86ISelLowering.h   |    3 ++-
 2 files changed, 5 insertions(+), 3 deletions(-)


Index: llvm/lib/Target/X86/X86ISelLowering.cpp
diff -u llvm/lib/Target/X86/X86ISelLowering.cpp:1.90 llvm/lib/Target/X86/X86ISelLowering.cpp:1.91
--- llvm/lib/Target/X86/X86ISelLowering.cpp:1.90	Sat Feb 18 01:26:17 2006
+++ llvm/lib/Target/X86/X86ISelLowering.cpp	Tue Feb 21 17:11:00 2006
@@ -1961,7 +1961,8 @@
 }
 
 std::vector<unsigned> X86TargetLowering::
-getRegForInlineAsmConstraint(const std::string &Constraint) const {
+getRegForInlineAsmConstraint(const std::string &Constraint,
+                             MVT::ValueType VT) const {
   if (Constraint.size() == 1) {
     // FIXME: not handling fp-stack yet!
     // FIXME: not handling MMX registers yet ('y' constraint).
@@ -1993,5 +1994,5 @@
   }
   
   // Handle explicit register names.
-  return TargetLowering::getRegForInlineAsmConstraint(Constraint);
+  return TargetLowering::getRegForInlineAsmConstraint(Constraint, VT);
 }


Index: llvm/lib/Target/X86/X86ISelLowering.h
diff -u llvm/lib/Target/X86/X86ISelLowering.h:1.28 llvm/lib/Target/X86/X86ISelLowering.h:1.29
--- llvm/lib/Target/X86/X86ISelLowering.h:1.28	Fri Feb 17 18:15:05 2006
+++ llvm/lib/Target/X86/X86ISelLowering.h	Tue Feb 21 17:11:00 2006
@@ -224,7 +224,8 @@
     SDOperand getReturnAddressFrameIndex(SelectionDAG &DAG);
 
     std::vector<unsigned> 
-      getRegForInlineAsmConstraint(const std::string &Constraint) const;
+      getRegForInlineAsmConstraint(const std::string &Constraint,
+                                   MVT::ValueType VT) const;
   private:
     // C Calling Convention implementation.
     std::vector<SDOperand> LowerCCCArguments(Function &F, SelectionDAG &DAG);






More information about the llvm-commits mailing list