[all-commits] [llvm/llvm-project] 526654: [RemoveDIs][DebugInfo] Handle DPVAssigns in Assign...
Stephen Tozer via All-commits
all-commits at lists.llvm.org
Tue Jan 23 04:32:36 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 52665432842fc187eac6404407df1fa6f37444d6
https://github.com/llvm/llvm-project/commit/52665432842fc187eac6404407df1fa6f37444d6
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-01-23 (Tue, 23 Jan 2024)
Changed paths:
M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
Log Message:
-----------
[RemoveDIs][DebugInfo] Handle DPVAssigns in AssignmentTrackingLowering (#78980)
Following on from the previous patch 6aeb7a7,
this patch adds the necessary code to process the DPV equivalents of
llvm.dbg.assign intrinsics. Most of the content of this patch is simply
duplicating existing functionality, using generic code for simple
functions and PointerUnions where storage is required. The most complex
changes are in the places that iterate over instructions, as iterating
over DPValues between instructions is different to iterating over
instructions that may or may not be debug intrinsics; this is most
complex in `AssignmentTrackingLowering::process`, where I've added some
comments to explain the state of the program at each key point depending
on whether we are operating on intrinsics or DPValues.
More information about the All-commits
mailing list