[llvm-branch-commits] [llvm] [FixIrreducible] Use CycleInfo instead of a custom SCC traversal (PR #101386)
Sameer Sahasrabuddhe via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Aug 21 03:02:05 PDT 2024
ssahasra wrote:
> This needs a finer method that redirects only specific edges. Either that, or we let the pass destroy some cycles. But updating `CycleInfo` for these missing subcycles may be a fair amount of work too, so I would rather do it the right way.
This now depends on the newly refactored ControlFlowHub, which correctly reroutes only the relevant edges. The effect was already caught in an existing test with nested cycles and a common header, so no new test needs to be written for this.
https://github.com/llvm/llvm-project/pull/101386
More information about the llvm-branch-commits
mailing list