[llvm] [Mips] Fix fixpoint iteration in MipsBranchExpansion (PR #223900)

Ying Huang via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 29 01:19:51 PDT 2026


yingopq wrote:

> > That's the only one that depends on offsets / instruction sizes, right?

Yes.

> 
> I adjusted the order this way because if any of the four changes, function `handlePossibleLongBranch` must be run again to check if expansion is required. The `while` loop will stop only when no further changes occur.

@nikic Is my understanding correct?

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


More information about the llvm-commits mailing list