[llvm] [BOLT][AArch64] Support FEAT_CMPBR branch instructions. (PR #174972)
Alexandros Lamprineas via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 5 03:51:20 PST 2026
================
@@ -69,6 +69,12 @@ static BinaryBasicBlock *getBBAtHotColdSplitPoint(BinaryFunction &Func) {
}
static bool mayNeedStub(const BinaryContext &BC, const MCInst &Inst) {
+ if (BC.isAArch64() && BC.MIB->isShortRangeBranch(Inst) &&
+ !opts::CompactCodeModel) {
+ BC.errs() << "Short range branch " << Inst
+ << " not supported outside compact code model\n";
----------------
labrinea wrote:
Cool, I wasn't aware we have dedicated pretty printers :) Thanks
https://github.com/llvm/llvm-project/pull/174972
More information about the llvm-commits
mailing list