[PATCH] D23715: Add @llvm.dbg.value entries for the phi node created by -mem2reg

Keith Walker via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 21 07:45:18 PDT 2016


keith.walker.arm updated this revision to Diff 68814.
keith.walker.arm added a comment.

- Moved the changes for ensuring the lowered load instruction in placed before the DEBUG_VALUE entry into a separate change: https://reviews.llvm.org/D23760
- Updated PhiHasDebugValue() to use llvm::any_of


https://reviews.llvm.org/D23715

Files:
  include/llvm/Transforms/Utils/Local.h
  lib/Transforms/Utils/Local.cpp
  lib/Transforms/Utils/PromoteMemoryToRegister.cpp
  test/Transforms/Util/mem2reg-dbg.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23715.68814.patch
Type: text/x-patch
Size: 6645 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160821/f4cb91d1/attachment.bin>


More information about the llvm-commits mailing list