[llvm] Handle #dbg_values in SROA. (PR #94070)

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 6 08:51:49 PDT 2024


================
@@ -341,6 +341,14 @@ class DbgVariableIntrinsic : public DbgInfoIntrinsic {
     return getIntrinsicID() == Intrinsic::dbg_declare;
   }
 
+  /// Does this describe the value of a local variable. True for dbg.value,
+  /// but False for dbg.declare, which describes its address, and False for
----------------
adrian-prantl wrote:

```suggestion
  /// but false for dbg.declare, which describes its address, and false for
```
this is not Python :-)

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


More information about the llvm-commits mailing list