diff options
author | Fiona Glaser <escha@apple.com> | 2015-09-30 17:49:49 +0000 |
---|---|---|
committer | Fiona Glaser <escha@apple.com> | 2015-09-30 17:49:49 +0000 |
commit | b0c6d9174ef6d1ce4eac5951dd42107b1a49ecfc (patch) | |
tree | 6072cdd00dac8d8e570369e239df28e65fd931a7 /clang/lib/Sema/SemaDeclCXX.cpp | |
parent | bb9387444c4e719953f9e52236f67c3300771173 (diff) | |
download | bcm5719-llvm-b0c6d9174ef6d1ce4eac5951dd42107b1a49ecfc.tar.gz bcm5719-llvm-b0c6d9174ef6d1ce4eac5951dd42107b1a49ecfc.zip |
DeadCodeElimination: rewrite to be faster
Same strategy as simplifyInstructionsInBlock. ~1/3 less time
on my test suite. This pass doesn't have many in-tree users,
but getting rid of an O(N^2) worst case and making it cleaner
should at least make it a viable alternative to ADCE, since
it's now consistently somewhat faster.
llvm-svn: 248927
Diffstat (limited to 'clang/lib/Sema/SemaDeclCXX.cpp')
0 files changed, 0 insertions, 0 deletions