summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2015-06-25 18:32:02 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2015-06-25 18:32:02 +0000
commit2a3443c7c5eb314aba8bce2f38d8846ecb815f85 (patch)
tree1974cde24ccc4db78336692283eb5447149d8c61 /llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp
parentd21e5c6684642a4e17b0f6d7802d55b0a32c5837 (diff)
downloadbcm5719-llvm-2a3443c7c5eb314aba8bce2f38d8846ecb815f85.tar.gz
bcm5719-llvm-2a3443c7c5eb314aba8bce2f38d8846ecb815f85.zip
GVN: If a branch has two identical successors, we cannot declare either dead.
This previously caused miscompilations as a result of phi nodes receiving undef incoming values from blocks dominated by such successors. Differential Revision: http://reviews.llvm.org/D10726 llvm-svn: 240670
Diffstat (limited to 'llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud