aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/bad-phisrc1a.c
AgeCommit message (Collapse)AuthorFilesLines
2021-03-19fix phisources during CBR-BR conversionLuc Van Oostenryck1-1/+0
When a parent is removed from a BB containing one or several phi-nodes, the corresponding phi-sources must be removed from the phi-node. However this is not done and consequentially: * it becomes impossibly to correctly reason about the flow of values through these phi-nodes. * simplifications are missed (e.g. if-conversion). Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
2021-03-19add testcases to check if phi-sources from removed targets are removed tooLuc Van Oostenryck1-0/+24
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>