[llvm-dev] Removing DeadInstEliminationPass

Chris Lattner via llvm-dev llvm-dev at lists.llvm.org
Fri Sep 18 17:33:35 PDT 2020


SGTM, this (like the old constprop pass) isn’t used by anything I’m aware of.

-Chris

> On Sep 18, 2020, at 1:11 PM, Arthur Eubanks via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> DeadInstEliminationPass is like DeadCodeEliminationPass but it only does one pass through a function instead of iterating on users of eliminated instructions.
> 
> The reason I'd like to remove this is because it isn't ported to the new pass manager, and it doesn't seem very useful when DeadCodeEliminationPass exists. It also doesn't have very many appearances in tests compared to DCE.
> 
> Removing in https://reviews.llvm.org/D87933 <https://reviews.llvm.org/D87933>
> 
> Any objections?
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200918/66dc95fb/attachment.html>


More information about the llvm-dev mailing list