aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorJeremy Morse <jeremy.morse@sony.com>2021-08-17 11:32:41 +0100
committerJeremy Morse <jeremy.morse@sony.com>2021-08-17 11:34:49 +0100
commit708cbda5771aecf84e93c4e7f5d6f78bbc92af6e (patch)
tree726e5ba400fb81c21073aed575aa31938d649b3f /llvm/lib/CodeGen/CodeGenPrepare.cpp
parent895ed64009c024f9e6608f574f9ab083e421ae57 (diff)
downloadllvm-708cbda5771aecf84e93c4e7f5d6f78bbc92af6e.zip
llvm-708cbda5771aecf84e93c4e7f5d6f78bbc92af6e.tar.gz
llvm-708cbda5771aecf84e93c4e7f5d6f78bbc92af6e.tar.bz2
[DebugInfo][InstrRef] Honour too-much-debug-info cutouts
This reapplies 54a61c94f93, its follow up in 547b712500e, which were reverted 95fe61e63954. Original commit message: VarLoc based LiveDebugValues will abandon variable location propagation if there are too many blocks and variable assignments in the function. If it didn't, and we had (say) 1000 blocks and 1000 variables in scope, we'd end up with 1 million DBG_VALUEs just at the start of blocks. Instruction-referencing LiveDebugValues should honour this limitation too (because the same limitation applies to it). Hoist the relevant command line options into LiveDebugValues.cpp and pass it down into the implementation classes as an argument to ExtendRanges. I've duplicated all the run-lines in live-debug-values-cutoffs.mir to have an instruction-referencing flavour. Differential Revision: https://reviews.llvm.org/D107823
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions