[PATCH] D87933: [DIE] Remove DeadInstEliminationPass

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 18 13:02:27 PDT 2020


aeubanks created this revision.
Herald added subscribers: llvm-commits, jfb, hiraditya.
Herald added a project: LLVM.
aeubanks requested review of this revision.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D87933

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87933.292881.patch
Type: text/x-patch
Size: 14460 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200918/db127ddf/attachment.bin>


More information about the llvm-commits mailing list