[llvm-commits] CVS: llvm/lib/Target/TargetLowering.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Feb 23 17:10:58 PST 2006
Changes in directory llvm/lib/Target:
TargetLowering.cpp updated: 1.36 -> 1.37
---
Log message:
Recognize memory operand codes
---
Diffs of the changes: (+6 -1)
TargetLowering.cpp | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/TargetLowering.cpp
diff -u llvm/lib/Target/TargetLowering.cpp:1.36 llvm/lib/Target/TargetLowering.cpp:1.37
--- llvm/lib/Target/TargetLowering.cpp:1.36 Wed Feb 22 17:00:51 2006
+++ llvm/lib/Target/TargetLowering.cpp Thu Feb 23 19:10:46 2006
@@ -718,6 +718,10 @@
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 @@
case 'M':
case 'N':
case 'O':
- case 'P': return C_Other;
+ case 'P':
+ return C_Other;
}
}
More information about the llvm-commits
mailing list