Teach DAGCombine to fold constant offsets into GlobalAddress nodes,
[oota-llvm.git] / lib / Target / Sparc / SparcISelLowering.h
index ea3171d0276e831b64a633585ad1a1b6900ef5b6..a0e3c653441ff98482d15d11a96af42d0c1e49a8 100644 (file)
@@ -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