[llvm] [RemoveDIs][DebugInfo] Create overloads of debug intrinsic utilities for DPValues (PR #78313)

Jeremy Morse via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 16 10:27:19 PST 2024


================
@@ -547,6 +534,64 @@ class DbgLabelInst : public DbgInfoIntrinsic {
   /// @}
 };
 
+/// Wrapper functions for opaque interfacing between DbgVariableIntrinsics and
+/// DPValues.
----------------
jmorse wrote:

IMO this comment is opaque (pun intended), can we specify that these are deliberate overloads to ease writing type-generic code? (Also that they're here temporarily).

Presumably they're in this very-broadly-included header because they're going to be used across the compiler?

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


More information about the llvm-commits mailing list