[PATCH] D74030: [DebugInfo] Avoid generating duplicate llvm.dbg.value

David Stenberg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 5 03:52:21 PST 2020


dstenb added inline comments.


================
Comment at: llvm/lib/Transforms/Utils/Local.cpp:1239
   // not inserting the same dbg.value intrinsic over and over.
+  // check if the same dbg.value already exists before I
   BasicBlock::InstListType::iterator PrevI(I);
----------------
dstenb wrote:
> Nit: check -> Check, and a dot at the end of the instruction.
s/instruction/comment/


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74030





More information about the llvm-commits mailing list