projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Teach DAGCombine to fold constant offsets into GlobalAddress nodes,
[oota-llvm.git]
/
lib
/
Target
/
Mips
/
MipsISelLowering.cpp
diff --git
a/lib/Target/Mips/MipsISelLowering.cpp
b/lib/Target/Mips/MipsISelLowering.cpp
index 3224d73d5f6041aea767fc114def38d8ade16d70..8fdc4b799b8d7938ee995e52712ca85c117e0b65 100644
(file)
--- a/
lib/Target/Mips/MipsISelLowering.cpp
+++ b/
lib/Target/Mips/MipsISelLowering.cpp
@@
-1094,3
+1094,9
@@
getRegClassForInlineAsmConstraint(const std::string &Constraint,
}
return std::vector<unsigned>();
}
+
+bool
+MipsTargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const {
+ // The Mips target isn't yet aware of offsets.
+ return false;
+}