yingopq wrote: > Instead of checking all the possible changes, would it also work to just have handlePossibleLongBranch() run last? That's the only one that depends on offsets / instruction sizes, right? I would check it. https://github.com/llvm/llvm-project/pull/223900