Files
clang-p2996/llvm/test/CodeGen/SPIRV/structurizer/loop-continue-split.ll
Nathan Gauër 53326ee0cf [SPIR-V] Fix block sorting with irreducible CFG (#116996)
Block sorting was assuming reducible CFG. Meaning we always had a best
node to continue with. Irreducible CFG makes breaks this assumption, so
the algorithm looped indefinitely because no node was a valid candidate.

Fixes #116692

---------

Signed-off-by: Nathan Gauër <brioche@google.com>
2024-11-28 13:42:57 +01:00

4.0 KiB