[llvm] [CGP][AArch64] Rebase the common base offset for better ISel (PR #74046)

via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 4 03:53:21 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,
----------------
vfdff wrote:

apply your comment, thanks

https://github.com/llvm/llvm-project/pull/74046


More information about the llvm-commits mailing list