[llvm] Add code to handle llvm.dbg.values in SROA. (PR #94068)

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 3 09:10:23 PDT 2024


================
@@ -1731,6 +1731,21 @@ void llvm::ConvertDebugDeclareToDebugValue(DbgVariableIntrinsic *DII,
                                     SI->getIterator());
 }
 
+/// Moves an llvm.dbg.value intrinsic before a store to an alloca'd value
+/// that has an associated llvm.dbg.value intrinsic.
----------------
adrian-prantl wrote:

We don't usually duplicate the doxygen comment in the .cpp file.

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


More information about the llvm-commits mailing list