[lld] [RISCV][lld] Guarding lld relaxation for RISCV (PR #130265)
Daniel Thornburgh via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 7 09:41:20 PST 2025
mysterymath wrote:
It feels like a part of the address assignment loop where every pass is correct to emit (differing only in performance), should intrinsically never produce a failure to converge. That feels like something that should be part of the contract between the loop and the various targets.
More specifically, it seems rough to have the target deciding which pass number to quit on; this would go out of sync if we lower or raise the pass limit in the address assignment loop. It seems cleaner to have it communicate something like: "from here on in, every pass is gravy". (In this case, every pass might be gravy?)
https://github.com/llvm/llvm-project/pull/130265
More information about the llvm-commits
mailing list