[llvm] [BOLT][AArch64] Support FEAT_CMPBR branch instructions. (PR #174972)

Alexandros Lamprineas via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 30 03:30:42 PST 2026


labrinea wrote:

> Can you disallow any path outside compact-mode, indicating that this is unsupported and hinting users to use the `compact-code-model`?

To do this we will need `BinaryFunction::hasShortRangeBranchBeyondFragment()` as shown in https://github.com/llvm/llvm-project/pull/174546. We'd have to call it from `LongJmpPass::tentativeLayout()` and abort execution when `!opts::CompactCodeModel`. Lemme know if you would want this. 

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


More information about the llvm-commits mailing list