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
/
Sparc
/
SparcISelLowering.h
diff --git
a/lib/Target/Sparc/SparcISelLowering.h
b/lib/Target/Sparc/SparcISelLowering.h
index ea3171d0276e831b64a633585ad1a1b6900ef5b6..a0e3c653441ff98482d15d11a96af42d0c1e49a8 100644
(file)
--- a/
lib/Target/Sparc/SparcISelLowering.h
+++ b/
lib/Target/Sparc/SparcISelLowering.h
@@
-70,6
+70,8
@@
namespace llvm {
std::vector<unsigned>
getRegClassForInlineAsmConstraint(const std::string &Constraint,
MVT VT) const;
+
+ virtual bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const;
};
} // end namespace llvm