[PATCH] D142160: [mem2reg][debuginfo] Handle op_deref when converting dbg.declare

Orlando Cazalet-Hyams via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 30 02:46:23 PST 2023


Orlando added a comment.

Sorry for the slow turn around on this review - LGTM too, thanks!



================
Comment at: llvm/include/llvm/IR/DebugInfoMetadata.h:2772
 
+  /// Return whether there is exactly one expression and it is a DW_OP_deref;
+  bool isDeref() const;
----------------
nit: exactly one operator / expression operator / operation etc?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142160/new/

https://reviews.llvm.org/D142160



More information about the llvm-commits mailing list