HomePhabricator

[SimplifyCFG] propagate branch metadata when creating select

Authored by spatel on May 4 2016, 1:48 PM.

Description

[SimplifyCFG] propagate branch metadata when creating select

Unlike earlier similar fixes, we need to recalculate the branch weights
in this case.

Differential Revision: http://reviews.llvm.org/D19674

llvm-svn: 268550

Details