[PATCH] D30919: Salvage debug info from instructions about to be deleted

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 15 09:19:27 PDT 2017


aprantl updated this revision to Diff 91888.
aprantl marked an inline comment as done.
aprantl added a comment.

Use the functionally equivalent but more appropriate APInt::getSExtValue() and rename some locals for better readability.
I think that should be all outstanding comments.


https://reviews.llvm.org/D30919

Files:
  include/llvm/Transforms/Utils/Local.h
  lib/Transforms/InstCombine/InstCombineInternal.h
  lib/Transforms/Utils/Local.cpp
  test/Transforms/InstCombine/debuginfo-dce.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30919.91888.patch
Type: text/x-patch
Size: 12457 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170315/5c073e03/attachment.bin>


More information about the llvm-commits mailing list