PGO: preserve branch-weight metadata when simplifying SwitchOnSelect.
authorManman Ren <mren@apple.com>
Mon, 17 Sep 2012 22:28:55 +0000 (22:28 +0000)
committerManman Ren <mren@apple.com>
Mon, 17 Sep 2012 22:28:55 +0000 (22:28 +0000)
commitb11cbe6b2360cd46e12d676064e8f58a0586c9ba
treef491ff8aae183c487c1cf32a8d684cb4561a97df
parent97d552e5c71dd45e1a124e5a87550270a20a9062
PGO: preserve branch-weight metadata when simplifying SwitchOnSelect.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164068 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyCFG.cpp
test/Transforms/SimplifyCFG/preserve-branchweights.ll