diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-10-14 10:21:31 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-10-14 10:21:31 +0000 |
commit | 0d05acf592565c0f64661e0b5307f51f31d6cbc1 (patch) | |
tree | b7238fd6afcc5d038714306002ad44626da2483f /lib/Transforms/Utils/SimplifyCFG.cpp | |
parent | e82a040ee04e7340f3fc9a1d55213ed19167ba72 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165903 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/SimplifyCFG.cpp')
0 files changed, 0 insertions, 0 deletions