[llvm] [RemoveDIs][DebugInfo] Handle DPVAssigns in Assignment Tracking excluding lowering (PR #78982)

Orlando Cazalet-Hyams via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 22 07:13:55 PST 2024


================
@@ -1241,6 +1241,7 @@ void SelectionDAGBuilder::visitDbgInfo(const Instruction &I) {
                              It->Expr, Vals.size() > 1, It->DL, SDNodeOrder);
       }
     }
+    return;
----------------
OCHyams wrote:

Please can you add a comment, either here or the top of the outer `if` that explains we don't need to look at DPValues when assignment tracking analysis has given us location info.

https://github.com/llvm/llvm-project/pull/78982


More information about the llvm-commits mailing list