[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:12:05 PDT 2024
================
@@ -43,6 +43,8 @@ class Module;
TinyPtrVector<DbgDeclareInst *> findDbgDeclares(Value *V);
/// As above, for DVRDeclares.
TinyPtrVector<DbgVariableRecord *> findDVRDeclares(Value *V);
+/// As above, for DVRValues.
+TinyPtrVector<DbgVariableRecord *> findDVRValues(Value *V);
----------------
adrian-prantl wrote:
Is this separation meaningful, or should we just have one findDbgVariableRecord() function that handles both and forces all call sites to handle both, too?
https://github.com/llvm/llvm-project/pull/94068
More information about the llvm-commits
mailing list