[llvm] [bolt][aarch64] simplify rodata/literal load for X86 & AArch64 (PR #165723)

YongKang Zhu via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 1 10:59:46 PST 2025


yozhu wrote:

> @yozhu do we need one more verification pass to check that the distance is valid for target?

You meant the verification within this `SimplifyRODataLoads` pass?  I think we don't need to since we will change `ldr <addr>` to `movk <const>`, for which distance no longer matters.

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


More information about the llvm-commits mailing list