[all-commits] [llvm/llvm-project] dee85d: [LiveDebugVariables] Stop trimming locations of no...
Djordje Todorovic via All-commits
all-commits at lists.llvm.org
Mon May 31 03:00:08 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dee85d47d9f15fc268f7b18f279dac2774836615
https://github.com/llvm/llvm-project/commit/dee85d47d9f15fc268f7b18f279dac2774836615
Author: Djordje Todorovic <djordje.todorovic at syrmia.com>
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M llvm/lib/CodeGen/LiveDebugVariables.cpp
M llvm/test/CodeGen/AMDGPU/ptr-arg-dbg-value.ll
M llvm/test/CodeGen/PowerPC/non-debug-mi-search-frspxsrsp.ll
A llvm/test/DebugInfo/MIR/Mips/livedebugvars-stop-trimming-loc.mir
M llvm/test/DebugInfo/X86/dbg-addr-dse.ll
Log Message:
-----------
[LiveDebugVariables] Stop trimming locations of non-inlined vars
The D35953, D62650 and D73691 introduced trimming of variables locations
in LiveDebugVariables pass, since there are some cases where after
the virtregrewrite we have exploded number of DBG_VALUEs created for some
inlined variables. As it looks, all problematic cases were regarding
inlined variables, so it seems reasonable to stop trimming the location
ranges for non-inlined variables.
It has very good impact on the llvm-locstats report.
Differential Revision: https://reviews.llvm.org/D102917
More information about the All-commits
mailing list