[llvm] [RemoveDIs][DebugInfo] Update SROA to handle DPVAssigns (PR #78475)
Orlando Cazalet-Hyams via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 19 07:48:21 PST 2024
================
@@ -319,6 +319,29 @@ static DebugVariable getAggregateVariable(DbgVariableIntrinsic *DVI) {
return DebugVariable(DVI->getVariable(), std::nullopt,
DVI->getDebugLoc().getInlinedAt());
}
+static DebugVariable getAggregateVariable(DPValue *DPV) {
+ return DebugVariable(DPV->getVariable(), std::nullopt,
+ DPV->getDebugLoc().getInlinedAt());
+}
+
+static DPValue *createLinkedAssign(DPValue *, DIBuilder &DIB,
----------------
OCHyams wrote:
clang-format?
https://github.com/llvm/llvm-project/pull/78475
More information about the llvm-commits
mailing list