HomePhabricator

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

Authored by mkazantsev on Nov 19 2018, 9:43 PM.

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

llvm-svn: 347289