[PATCH] D89810: [mem2reg] Remove dbg.values describing contents of dead allocas

Orlando Cazalet-Hyams via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 21 02:20:53 PDT 2020


Orlando updated this revision to Diff 299607.
Orlando marked 2 inline comments as done.
Orlando added a comment.

Addressed @vsk's comments:
+ Resize SmallVector<...,8> -> SmallVector<...,1>
+ Rename Declares -> DbgUsers.


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

https://reviews.llvm.org/D89810

Files:
  llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
  llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-1.ll
  llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-2.ll
  llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-3.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89810.299607.patch
Type: text/x-patch
Size: 20141 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201021/3abfbc32/attachment.bin>


More information about the llvm-commits mailing list