mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-04 10:30:01 +00:00
Recognize memory operand codes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26345 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5ee3e14127
commit
2b7401e28e
@ -718,6 +718,10 @@ TargetLowering::getConstraintType(char ConstraintLetter) const {
|
||||
switch (ConstraintLetter) {
|
||||
default: return C_Unknown;
|
||||
case 'r': return C_RegisterClass;
|
||||
case 'm': // memory
|
||||
case 'o': // offsetable
|
||||
case 'V': // not offsetable
|
||||
return C_Memory;
|
||||
case 'i': // Simple Integer or Relocatable Constant
|
||||
case 'n': // Simple Integer
|
||||
case 's': // Relocatable Constant
|
||||
@ -728,7 +732,8 @@ TargetLowering::getConstraintType(char ConstraintLetter) const {
|
||||
case 'M':
|
||||
case 'N':
|
||||
case 'O':
|
||||
case 'P': return C_Other;
|
||||
case 'P':
|
||||
return C_Other;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user