[llvm] [DebugInfo][RemoveDIs] Don't allocate one DPMarker per instruction (PR #79345)

Stephen Tozer via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 26 03:18:41 PST 2024


================
@@ -911,7 +914,8 @@ void BasicBlock::spliceDebugInfo(BasicBlock::iterator Dest, BasicBlock *Src,
   if (!MoreDanglingDPValues)
     return;
 
-  // FIXME: we could avoid an allocation here sometimes.
+  // FIXME: we could avoid an allocation here sometimes. (absorbDbgValues
----------------
SLTozer wrote:

```suggestion
  // FIXME: we could avoid an allocation here sometimes. (adoptDbgValues
```
Meant to be this?

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


More information about the llvm-commits mailing list