aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
diff options
context:
space:
mode:
authorJeremy Morse <jeremy.morse@sony.com>2023-11-21 17:10:25 +0000
committerGitHub <noreply@github.com>2023-11-21 17:10:25 +0000
commit4495485eb6558aac0b0fd81e90b317a8aca30945 (patch)
treea21c2bbcdf1b327042a02d753386f4c6fe05277e /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
parent2fe24fdc94cb10795a196eadcf3eed8055ea4000 (diff)
downloadllvm-4495485eb6558aac0b0fd81e90b317a8aca30945.zip
llvm-4495485eb6558aac0b0fd81e90b317a8aca30945.tar.gz
llvm-4495485eb6558aac0b0fd81e90b317a8aca30945.tar.bz2
[DebugInfo][RemoveDIs] Interpret DPValue objects in SelectionDAG (#72253)
DPValues are the non-intrinsic replacements for dbg.values, and when an IR function is converted by SelectionDAG we need to convert the variable location information in the same way. Happily all the information is in the same format, it's just stored in a slightly different object, therefore this patch refactors a few things to store the set of {Variable,Expr,DILocation,Location} instead of just a pointer to a DbgValueInst. This also adds a hook in llc that's much like the one I've added to opt in PR #71937, allowing tests to optionally ask for the use RemoveDIs mode if support for it is built into the compiler. I've added that flag to a variety of SelectionDAG debug-info tests to ensure that we get some coverage on the RemoveDIs / debug-info-iterator buildbot.
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions