julia
2ebe5771 - cfg_simplify: Properly handle deleted multi-predecessor (#47306)

Commit
3 years ago
cfg_simplify: Properly handle deleted multi-predecessor (#47306) When deleting an empty block with multiple predecessors that has an entry in a sucessors phi node, said phi nodes needs to be updated to have an entry for every predecessor of the original deleted block. We had some handling to detect this case, but we didn't actually do the PhiNode modification, resulting in corrupted IR.
Author
Parents
Loading