diff options
author | Chris Lattner <sabre@nondot.org> | 2006-02-21 23:11:00 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-02-21 23:11:00 +0000 |
commit | 4217ca8dc175f7268a4335c8406dedd901e8e631 (patch) | |
tree | 5b005d58753216105bb61c8ea24dfd5e1f6b00ec /lib/Target/PowerPC/PPCISelLowering.cpp | |
parent | aba3b13fb3e00b16725860e46a484c88136569f6 (diff) |
Updates to match change of getRegForInlineAsmConstraint prototype
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26305 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCISelLowering.cpp')
-rw-r--r-- | lib/Target/PowerPC/PPCISelLowering.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/PPCISelLowering.cpp b/lib/Target/PowerPC/PPCISelLowering.cpp index 568d94f9e8..243c51d7c9 100644 --- a/lib/Target/PowerPC/PPCISelLowering.cpp +++ b/lib/Target/PowerPC/PPCISelLowering.cpp @@ -999,7 +999,8 @@ PPCTargetLowering::getConstraintType(char ConstraintLetter) const { std::vector<unsigned> PPCTargetLowering:: -getRegForInlineAsmConstraint(const std::string &Constraint) const { +getRegForInlineAsmConstraint(const std::string &Constraint, + MVT::ValueType VT) const { if (Constraint.size() == 1) { switch (Constraint[0]) { // GCC RS6000 Constraint Letters default: break; // Unknown constriant letter @@ -1051,7 +1052,7 @@ getRegForInlineAsmConstraint(const std::string &Constraint) const { } // Handle explicit register names. - return TargetLowering::getRegForInlineAsmConstraint(Constraint); + return TargetLowering::getRegForInlineAsmConstraint(Constraint, VT); } // isOperandValidForConstraint |