switch TargetLowering::getConstraintType to take the entire constraint,

not just the first letter.  No functionality change.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35322 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2007-03-25 02:14:49 +00:00
parent 2b81207b4b
commit 4234f57fa0
11 changed files with 82 additions and 68 deletions

View File

@@ -806,9 +806,9 @@ public:
C_Unknown // Unsupported constraint.
};
/// getConstraintType - Given a constraint letter, return the type of
/// constraint it is for this target.
virtual ConstraintType getConstraintType(char ConstraintLetter) const;
/// getConstraintType - Given a constraint, return the type of constraint it
/// is for this target.
virtual ConstraintType getConstraintType(const std::string &Constraint) const;
/// getRegClassForInlineAsmConstraint - Given a constraint letter (e.g. "r"),