Commit eac228b
committed
[mlir][spirv] Emit error when block to be unlinked has uses after structurization
This fixes the bug where deserializer would fail, with as assert,
during the control flow structurization when a block to be removed
still had uses. This indicates that the block that was sunk still
is being referenced outside the region as the control flow is not
structured.
closes #1630991 parent 1e84cb5 commit eac228b
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2619 | 2619 | | |
2620 | 2620 | | |
2621 | 2621 | | |
| 2622 | + | |
| 2623 | + | |
| 2624 | + | |
| 2625 | + | |
| 2626 | + | |
2622 | 2627 | | |
2623 | 2628 | | |
2624 | 2629 | | |
| |||
0 commit comments