[llvm] [BOLT][AArch64] Add indirect call promotion support (PR #184733)

Alexey Moksyakov via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 4 23:34:55 PST 2026


yavtuk wrote:

@Jianghibo hello, thanks for the PR. I think we should exclude indirect branch promotion until we add jump tables support. for aarch64, functions with indirect branches skipped from optimizations due to lack of understanding, this is a part of the jump table pattern or just an indirect call.

at the current moment for indirect call promotion optimization need to insert snippet to compare target address and blr reg value and go to basic block where direct call is or go to BB with indirect call instruction

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


More information about the llvm-commits mailing list