projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[mips] Distinguish 'R', 'ZC', and 'm' inline assembly memory constraint.
[oota-llvm.git]
/
lib
/
Target
/
Mips
/
MipsISelLowering.cpp
diff --git
a/lib/Target/Mips/MipsISelLowering.cpp
b/lib/Target/Mips/MipsISelLowering.cpp
index 2eebd76ce246289f2e5c9b536a5d7ad576dfc55a..e4bae03ebd4fc4a60ae8c4de0851128a57c5daff 100644
(file)
--- a/
lib/Target/Mips/MipsISelLowering.cpp
+++ b/
lib/Target/Mips/MipsISelLowering.cpp
@@
-3173,6
+3173,10
@@
getConstraintType(const std::string &Constraint) const
return C_Memory;
}
}
+
+ if (Constraint == "ZC")
+ return C_Memory;
+
return TargetLowering::getConstraintType(Constraint);
}