When lowerswitch find out that the switch default branch is not
reachable it remove the old default and replace it with the most
popular block from the cases, but it forget to update the PHI
nodes in the default block.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 18608 Build 18608: arc lint + arc unit
Event Timeline
Comment Actions
Fixed another case when PHI nodes are not correctly updated.
This time it is when switch is replaced with a single branch.
i should be capitalized