mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-02 07:17:36 +00:00
Make the Uv constraint a memory operand. This doesn't solve the
addressing mode problem mentioned in r132559. Backend part of rdar://9037836 and part of rdar://9119939 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132561 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -7265,6 +7265,9 @@ ARMTargetLowering::getConstraintType(const std::string &Constraint) const {
|
||||
case 'l': return C_RegisterClass;
|
||||
case 'w': return C_RegisterClass;
|
||||
}
|
||||
} else {
|
||||
if (Constraint == "Uv")
|
||||
return C_Memory;
|
||||
}
|
||||
return TargetLowering::getConstraintType(Constraint);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user