diff options
author | Michael Zolotukhin <mzolotukhin@apple.com> | 2016-02-23 00:30:50 +0000 |
---|---|---|
committer | Michael Zolotukhin <mzolotukhin@apple.com> | 2016-02-23 00:30:50 +0000 |
commit | de19ed1eb1aca8493abb5168d46b7f6f3cf9e770 (patch) | |
tree | bb58610f93672c28696d6ce640299db03c095a77 /clang/lib/Lex/HeaderMap.cpp | |
parent | 77b6e47f74279c4d42b00002450bd42743045f3b (diff) | |
download | llvm-de19ed1eb1aca8493abb5168d46b7f6f3cf9e770.zip llvm-de19ed1eb1aca8493abb5168d46b7f6f3cf9e770.tar.gz llvm-de19ed1eb1aca8493abb5168d46b7f6f3cf9e770.tar.bz2 |
[LoopUnroll] Avoid unnecessary DT recomputation.
Summary:
When we completely unroll a loop, it's pretty easy to update DT in-place and
thus avoid rebuilding it. DT recalculation is one of the most time-consuming
tasks in loop-unroll, so avoiding it at least in case of full unroll should be
beneficial.
On some extreme (but still real-world) tests this patch improves compile time by
~2x.
Reviewers: escha, jmolloy, hfinkel, sanjoy, chandlerc
Subscribers: joker.eph, sanjoy, llvm-commits
Differential Revision: http://reviews.llvm.org/D17473
llvm-svn: 261595
Diffstat (limited to 'clang/lib/Lex/HeaderMap.cpp')
0 files changed, 0 insertions, 0 deletions