aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/HeaderMap.cpp
diff options
context:
space:
mode:
authorMichael Zolotukhin <mzolotukhin@apple.com>2016-02-23 00:30:50 +0000
committerMichael Zolotukhin <mzolotukhin@apple.com>2016-02-23 00:30:50 +0000
commitde19ed1eb1aca8493abb5168d46b7f6f3cf9e770 (patch)
treebb58610f93672c28696d6ce640299db03c095a77 /clang/lib/Lex/HeaderMap.cpp
parent77b6e47f74279c4d42b00002450bd42743045f3b (diff)
downloadllvm-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