[llvm-dev] Removing DeadInstEliminationPass

Johannes Doerfert via llvm-dev llvm-dev at lists.llvm.org
Fri Sep 18 13:20:02 PDT 2020


Nothing comes to mind where DCE isn't a proper replacement, I'm in favor.


On 9/18/20 3:11 PM, Arthur Eubanks via llvm-dev 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
>
> Any objections?
>
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev


More information about the llvm-dev mailing list