[llvm] [Convergence] Extend cycles to include outside uses of tokens (PR #98006)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 8 03:09:48 PDT 2024


jayfoad wrote:

Can you explain a bit more about the big picture?

It looks like the new pass modifies the IR by adding some dummy branches which a pass like jump threading could easily remove again. So, after running the new pass, can you really rely on the IR remaining in "extended cycle" form for very long?

What effect do the dummy branches have on final codegen?

Why implement this by modifying the IR, instead of providing an analysis that reports the extended form of cycles on unmodified IR?

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


More information about the llvm-commits mailing list