[llvm] [BOLT][AArch64] Fix LDR relocation type in ADRP+LDR sequence (PR #166391)

Paschalis Mpeis via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 5 11:59:41 PST 2025


https://github.com/paschalis-mpeis approved this pull request.

> I had thought about this when working on the previous patch. undoAdrpAddRelaxation seems to refer to that BOLT will undo the relaxation done by the linker, but LDR (load literal) is not resulted from of any relaxation done by the linker, so I just named it createAdrpLdr.

I was not sure of the context when that function was introduced.
That's fair. Thanks again for the patch!

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


More information about the llvm-commits mailing list