PGO: preserve branch-weight metadata when simplifying two branches with a common
authorManman Ren <mren@apple.com>
Mon, 17 Sep 2012 21:30:40 +0000 (21:30 +0000)
committerManman Ren <mren@apple.com>
Mon, 17 Sep 2012 21:30:40 +0000 (21:30 +0000)
commit566540332f6fe59e6424dd0d9a06a29e6f19f790
treee306a3fbc15e11358ed03f5b06f8d014a328c0d8
parentff1547890a5af47c215bf7e1f1da85bae6aabe4d
PGO: preserve branch-weight metadata when simplifying two branches with a common
destination in SimplifyCondBranchToCondBranch.

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