[llvm] Handle #dbg_values in SROA. (PR #94070)
Adrian Prantl via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 6 08:51:50 PDT 2024
================
@@ -259,6 +259,16 @@ CallInst *changeToCall(InvokeInst *II, DomTreeUpdater *DTU = nullptr);
/// Dbg Intrinsic utilities
///
+/// Creates and inserts a dbg_value record intrinsic before a store
+/// that has an associated llvm.dbg.value intrinsic.
+void InsertDebugValueAtStoreLoc(DbgVariableRecord *DVR, StoreInst *SI,
+ DIBuilder &Builder);
+
+/// Creates and inserts a llvm.dbg.value intrinsic before a store
----------------
adrian-prantl wrote:
```suggestion
/// Creates and inserts an llvm.dbg.value intrinsic before a store
```
https://github.com/llvm/llvm-project/pull/94070
More information about the llvm-commits
mailing list