aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/Constants.cpp
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2012-12-17 14:28:00 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2012-12-17 14:28:00 +0000
commit179481419851ca4bd3643dc89d3d83056246c4a8 (patch)
treead1ce1a000d8c57291acd4b30ee675e703d23308 /lib/VMCore/Constants.cpp
parenta839ffc323396326ebdcf8d065c60be0bf05420d (diff)
downloadexternal_llvm-179481419851ca4bd3643dc89d3d83056246c4a8.zip
external_llvm-179481419851ca4bd3643dc89d3d83056246c4a8.tar.gz
external_llvm-179481419851ca4bd3643dc89d3d83056246c4a8.tar.bz2
Optimize tree walking in markAliveBlocks.
Check whether a BB is known as reachable before adding it to the worklist. This way BB's with multiple predecessors are added to the list no more than once. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170335 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Constants.cpp')
0 files changed, 0 insertions, 0 deletions