[llvm] [bolt][aarch64] Adding test with unsupported indirect branches (PR #127655)

Maksim Panchenko via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 5 17:28:54 PST 2025


================
@@ -833,6 +833,13 @@ BinaryFunction::processIndirectBranch(MCInst &Instruction, unsigned Size,
       Instruction, Begin, Instructions.end(), PtrSize, MemLocInstr, BaseRegNum,
       IndexRegNum, DispValue, DispExpr, PCRelBaseInstr, FixedEntryLoadInstr);
 
+  if (BranchType == IndirectBranchType::UNKNOWN) {
+    if (opts::Verbosity > 2)
----------------
maksfb wrote:

nit: I'd just merge these into one `if` statement.

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


More information about the llvm-commits mailing list