mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Updates to match change of getRegForInlineAsmConstraint prototype
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26305 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user