summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-02-21 23:11:00 +0000
committerChris Lattner <sabre@nondot.org>2006-02-21 23:11:00 +0000
commit7bb4696dc3c55c18c5c580daa1c1f6b69f1322c9 (patch)
tree052069c279b57ea506b4c8a4292bc9733011a2e2 /llvm/lib/Target/PowerPC/PPCISelLowering.cpp
parentebb74895374ab13d2827118dcf0a7ca3189cc6c2 (diff)
downloadbcm5719-llvm-7bb4696dc3c55c18c5c580daa1c1f6b69f1322c9.tar.gz
bcm5719-llvm-7bb4696dc3c55c18c5c580daa1c1f6b69f1322c9.zip
Updates to match change of getRegForInlineAsmConstraint prototype
llvm-svn: 26305
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCISelLowering.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCISelLowering.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
index 568d94f9e84..243c51d7c9d 100644
--- a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud