[PATCH] D48547: Improve ConvertDebugDeclareToDebugValue

Bjorn Pettersson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 25 09:32:41 PDT 2018


bjope updated this revision to Diff 152708.
bjope added a comment.

Update after review comments:

- Use Optional in AllocaInst::getAllocationSizeInBits.
- Add comments describing the added test cases.


Repository:
  rL LLVM

https://reviews.llvm.org/D48547

Files:
  include/llvm/IR/Instructions.h
  lib/IR/Instructions.cpp
  lib/Transforms/Utils/Local.cpp
  test/Transforms/Mem2Reg/debug-alloca-vla-1.ll
  test/Transforms/Mem2Reg/debug-alloca-vla-2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48547.152708.patch
Type: text/x-patch
Size: 10117 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180625/9a82177a/attachment-0001.bin>


More information about the llvm-commits mailing list