HomePhabricator

Revert "[CorrelatedValuePropagation] Fix prof branch_weights metadata handling…

Authored by nikic on May 28 2019, 2:28 PM.

Description

Revert "[CorrelatedValuePropagation] Fix prof branch_weights metadata handling for SwitchInst"

This reverts commit 53f2f3286572cb879b3861d7c15480e4d830dd3b.

As reported on D62126, this causes assertion failures if the switch
has incorrect branch_weights metadata, which may happen as a result
of other transforms not handling it correctly yet.

llvm-svn: 361881