[PATCH] D41496: [EarlyCSE] Salvage debug info during DCE

Djordje Todorovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 21 08:46:31 PST 2017


djtodoro created this revision.
djtodoro added a reviewer: aprantl.
Herald added a subscriber: JDevlieghere.

EarlyCSE didn't try to salvage debug info during erasing of instructions. This fixes that.


https://reviews.llvm.org/D41496

Files:
  lib/Transforms/Scalar/EarlyCSE.cpp
  test/Transforms/EarlyCSE/debuginfo-dce.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41496.127893.patch
Type: text/x-patch
Size: 4884 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171221/bec40cfc/attachment-0001.bin>


More information about the llvm-commits mailing list