This pass is like DeadCodeEliminationPass, but only does one pass
through a function instead of iterating on users of eliminated
instructions.
DeadCodeEliminationPass should be used in all cases.
Paths
| Differential D87933
[DIE] Remove DeadInstEliminationPass ClosedPublic Authored by aeubanks on Sep 18 2020, 1:02 PM.
Details
Summary This pass is like DeadCodeEliminationPass, but only does one pass DeadCodeEliminationPass should be used in all cases.
Diff Detail
Event TimelineComment Actions This looks like a good cleanup. It's possible for DIE to be useful as a "light-weight" DCE, but that could also be achieved by adding a flag to DCE. This revision is now accepted and ready to land.Sep 21 2020, 11:44 AM Comment Actions http://lists.llvm.org/pipermail/llvm-dev/2020-September/145187.html for more agreement of this patch. Closed by commit rGf4f7df037e71: [DIE] Remove DeadInstEliminationPass (authored by aeubanks). · Explain WhySep 21 2020, 12:12 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 293228 llvm/include/llvm/InitializePasses.h
llvm/include/llvm/LinkAllPasses.h
llvm/include/llvm/Transforms/Scalar.h
llvm/lib/Transforms/Scalar/DCE.cpp
llvm/lib/Transforms/Scalar/Scalar.cpp
llvm/test/Feature/optnone-opt.ll
llvm/test/Transforms/DeadArgElim/2008-06-23-DeadAfterLive.ll
llvm/test/Transforms/DeadArgElim/deadretval2.ll
llvm/test/Transforms/GVN/PRE/rle-addrspace-cast.ll
llvm/test/Transforms/GVN/PRE/rle.ll
llvm/test/Transforms/InstCombine/deadcode.ll
llvm/test/Transforms/InstSimplify/ConstProp/2002-09-03-SetCC-Bools.ll
llvm/test/Transforms/InstSimplify/ConstProp/basictest.ll
llvm/test/Transforms/InstSimplify/ConstProp/logicaltest.ll
llvm/test/Transforms/InstSimplify/ConstProp/phi.ll
llvm/test/Transforms/InstSimplify/ConstProp/remtest.ll
llvm/test/Transforms/NewGVN/rle.ll
llvm/test/Transforms/Reassociate/inverses.ll
llvm/test/Transforms/Reassociate/otherops.ll
llvm/test/Transforms/Reassociate/vaarg_movable.ll
|