[PATCH] D145051: [ADCE] Only remove debug intrinsics if non debug instructions are removed

Mikael Holmén via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 1 21:24:14 PST 2023


uabelho updated this revision to Diff 501744.
uabelho added a comment.

Rebase and update according to comments.


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

https://reviews.llvm.org/D145051

Files:
  llvm/lib/Transforms/Scalar/ADCE.cpp
  llvm/test/Transforms/ADCE/debug-info-intrinsic-2.ll
  llvm/test/Transforms/ADCE/debug-info-intrinsic.ll
  llvm/test/Transforms/MergeFunc/mergefunc-preserve-debug-info.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145051.501744.patch
Type: text/x-patch
Size: 7503 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230302/98fdd55e/attachment-0001.bin>


More information about the llvm-commits mailing list