[PATCH] D99048: [RFC][DebugInfo] Do not use the DBG_VALUE to calculate debug info of spill location
Yifeng Dong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 24 18:40:34 PDT 2021
dongAxis1944 added inline comments.
================
Comment at: llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp:1313
})) {
- // Use normal VarLoc constructor for registers and immediates.
- VarLoc VL(MI, LS);
- // End all previous ranges of VL.Var.
- OpenRanges.erase(VL);
+ if (!MI.isIndirectDebugValue()) {
+ // Use normal VarLoc constructor for registers and immediates.
----------------
dongAxis1944 wrote:
> @jmorse If the MI is indirect DBG_VALUE, does it mean the positions of variable is in the stack?
I just want to skip the DBG_VALUE related to the spill location. Because I find the function "VarLocBasedLDV::transferSpillOrRestoreInst" can handle spill location well
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99048/new/
https://reviews.llvm.org/D99048
More information about the llvm-commits
mailing list