aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
diff options
context:
space:
mode:
authorAlexey Lapshin <a.v.lapshin@mail.ru>2021-08-04 19:17:33 +0300
committerAlexey Lapshin <a.v.lapshin@mail.ru>2021-08-22 19:39:21 +0300
commit07d44cc0b14765732c6ca37e534ed34935ab2d6e (patch)
tree672f2d9cb8453d7bd6fd2402899156deab2dd1c7 /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
parent40fd2d93c0ac694dce49e1d52f585752d011d884 (diff)
downloadllvm-07d44cc0b14765732c6ca37e534ed34935ab2d6e.zip
llvm-07d44cc0b14765732c6ca37e534ed34935ab2d6e.tar.gz
llvm-07d44cc0b14765732c6ca37e534ed34935ab2d6e.tar.bz2
[DWARF][Verifier] Do not add child DieRangeInfo with empty address range to the parent.
verifyDieRanges function checks for the intersected address ranges. It adds child DieRangeInfo into parent DieRangeInfo to check whether children have overlapping address ranges. It is safe to not add DieRangeInfo with empty address range into parent's children list. This decreases the number of children which should be navigated and as a result decreases execution time(parents having a lot of children with empty ranges spend much time navigating them). For this command: "llvm-dwarfdump --verify clang-repl" execution time decreased from 220 sec till 75 sec. Differential Revision: https://reviews.llvm.org/D107554
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions