[llvm-branch-commits] [lld] ELF: Add branch-to-branch optimization. (PR #138366)

Rahman Lavaee via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri May 23 12:28:59 PDT 2025


rlavaee wrote:

At my first glance, it seems this feature overwrites the target of the branch and doesn't move or relax the branches within the section, which would interfere with the SHT_LLVM_BB_ADDR_MAP. Could you please add a test just to be safe? You could use amend  a test with the SHT_LLVM_BB_ADDR_MAP section (https://github.com/llvm/llvm-project/blob/main/llvm/test/CodeGen/X86/basic-block-address-map.ll).


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


More information about the llvm-branch-commits mailing list