[llvm] [DebugInfo][RemoveDIs] Handle dbg.declares in SelectionDAGISel (PR #73496)

Orlando Cazalet-Hyams via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 11 05:55:20 PST 2023


================
@@ -191,6 +191,7 @@ class FunctionLoweringInfo {
   /// Collection of dbg.declare instructions handled after argument
   /// lowering and before ISel proper.
   SmallPtrSet<const DbgDeclareInst *, 8> PreprocessedDbgDeclares;
+  SmallPtrSet<const DPValue *, 8> PreprocessedDPVs;
----------------
OCHyams wrote:

Do you have a preference between PreprocessedDPVDeclares and PreprocessedDPDeclares (no V, as in in DPV, in the second one)? The former, DPVDeclares, might be more grep-friendly?

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


More information about the llvm-commits mailing list