[llvm] [RemoveDIs] Update Coroutine passes to handle DPValues (PR #74480)

Felipe de Azevedo Piovezan via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 5 10:49:24 PST 2023


================
@@ -2896,6 +2960,43 @@ void coro::salvageDebugInfo(
   }
 }
 
+void coro::salvageDebugInfo(
+    SmallDenseMap<Argument *, AllocaInst *, 4> &ArgToAllocaMap, DPValue *DPV,
----------------
felipepiovezan wrote:

`DPV` is assumed to be non-null, let's express that at the API level by making it a reference

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


More information about the llvm-commits mailing list