[llvm] [X86] Don't convert local function foo in the same section to foo(%rip) when the offset is near INT32_MIN (PR #98438)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 17 14:11:52 PDT 2024


RKSimon wrote:

Let's at least use the same offset as used in isOffsetSuitableForCodeModel - ideally add comments to both locations saying that they are matching estimates (you can pull out the magic number into one location if you want but its not necessary).

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


More information about the llvm-commits mailing list