summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-10-14 10:21:31 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-10-14 10:21:31 +0000
commit650b1dbd56f75eefa69422395ad312f786036b80 (patch)
treeb74a656bf14b525709fc860b5809e1c217169625 /llvm/lib/Transforms/Utils/SimplifyCFG.cpp
parent5ae76a379c40f71f676a1204ab6a517219c27678 (diff)
downloadbcm5719-llvm-650b1dbd56f75eefa69422395ad312f786036b80.tar.gz
bcm5719-llvm-650b1dbd56f75eefa69422395ad312f786036b80.zip
Unquadratize SetVector removal loops in DSE.
Erasing from the beginning or middle of the vector is expensive, remove_if can do it in linear time even though it's a bit ugly without lambdas. No functionality change. llvm-svn: 165903
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyCFG.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud