HomePhabricator

Recommit "[LoopSimplifyCFG] Teach LoopSimplifyCFG to constant-fold branches and…

Description

Recommit "[LoopSimplifyCFG] Teach LoopSimplifyCFG to constant-fold branches and switches"

The initial version of patch lacked Phi nodes updates in destinations of removed
edges. This version contains this update and tests on this situation.

Differential Revision: https://reviews.llvm.org/D54021