Recognize memory operand codes

llvm-svn: 26345
This commit is contained in:
Chris Lattner 2006-02-24 01:10:46 +00:00
parent db3689ed09
commit 2a9e1e3e74
1 changed files with 6 additions and 1 deletions

View File

@ -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;
}
}