llvm-project
6ae7177d - [mlir][spirv] Update mergeInfo of blocks nested in regions (#137789)

Commit
155 days ago
[mlir][spirv] Update mergeInfo of blocks nested in regions (#137789) The current code that updates mergeInfo iterates only over constructBlocks, potentially leaving blocks nested in already structured regions with invalid mergeInfo. This patch adds walk for each block to ensure all nested blocks are considered. It is not possible to add a unit test exercising this change as whether the problem occurs depends on the structuring order that is currently non-deterministic.
Author
Parents
Loading