[llvm] [CGP][AArch64] Rebase the common base offset for better ISel (PR #74046)
David Green via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 3 09:21:44 PST 2023
================
@@ -2721,6 +2721,12 @@ class TargetLoweringBase {
Type *Ty, unsigned AddrSpace,
Instruction *I = nullptr) const;
+ /// Return the perfered common base offset.
+ virtual int64_t getPreferBaseOffset(int64_t MinOffset,
----------------
davemgreen wrote:
Maybe call this something like getPreferredLargeGEPBaseOffset?
https://github.com/llvm/llvm-project/pull/74046
More information about the llvm-commits
mailing list