projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ee3e14
)
Recognize memory operand codes
author
Chris Lattner
<sabre@nondot.org>
Fri, 24 Feb 2006 01:10:46 +0000
(
01:10
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 24 Feb 2006 01:10:46 +0000
(
01:10
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26345
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/TargetLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/TargetLowering.cpp
b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index c875a85c805ad68628a5b2fd5cc8e86d013930ad..01887e516c1329f6694ff46db2c777ddc54b0534 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/
lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@
-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;
}
}