diff options
author | Florian Hahn <flo@fhahn.com> | 2019-08-29 04:26:29 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2019-08-29 04:26:29 +0000 |
commit | 3177b92231ae9b350909deea32109a7f2a58b022 (patch) | |
tree | 5127c5110b92afa86c43b36df976e072fd2085c8 /llvm/lib/Object/COFFObjectFile.cpp | |
parent | db751c37782d10548e62d08bf23075ac9b5d4362 (diff) | |
download | llvm-3177b92231ae9b350909deea32109a7f2a58b022.zip llvm-3177b92231ae9b350909deea32109a7f2a58b022.tar.gz llvm-3177b92231ae9b350909deea32109a7f2a58b022.tar.bz2 |
[LoopUnroll] Use Lazy strategy for DTU used for MergeBlockIntoPredecessor.
We do not access the DT in the loop, so we do not have to apply updates
eagerly. We can apply them lazyly and flush them after we are done
merging blocks.
As follow-up work, we might be able to use the DTU above as well,
instead of manually updating the DT.
This brings the example from PR43134 from ~100s to ~4s for a relase +
assertions build on my machine.
Reviewers: efriedma, kuhar, asbirlea, brzycki
Reviewed By: kuhar, brzycki
Differential Revision: https://reviews.llvm.org/D66911
llvm-svn: 370292
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions