[all-commits] [llvm/llvm-project] f4f7df: [DIE] Remove DeadInstEliminationPass

aeubanks via All-commits all-commits at lists.llvm.org
Mon Sep 21 12:12:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f4f7df037e71fa77b06a37d86f2596db47d583d0
      https://github.com/llvm/llvm-project/commit/f4f7df037e71fa77b06a37d86f2596db47d583d0
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2020-09-21 (Mon, 21 Sep 2020)

  Changed paths:
    M llvm/include/llvm/InitializePasses.h
    M llvm/include/llvm/LinkAllPasses.h
    M llvm/include/llvm/Transforms/Scalar.h
    M llvm/lib/Transforms/Scalar/DCE.cpp
    M llvm/lib/Transforms/Scalar/Scalar.cpp
    M llvm/test/Feature/optnone-opt.ll
    M llvm/test/Transforms/DeadArgElim/2008-06-23-DeadAfterLive.ll
    M llvm/test/Transforms/DeadArgElim/deadretval2.ll
    M llvm/test/Transforms/GVN/PRE/rle-addrspace-cast.ll
    M llvm/test/Transforms/GVN/PRE/rle.ll
    M llvm/test/Transforms/InstCombine/deadcode.ll
    M llvm/test/Transforms/InstSimplify/ConstProp/2002-09-03-SetCC-Bools.ll
    M llvm/test/Transforms/InstSimplify/ConstProp/basictest.ll
    M llvm/test/Transforms/InstSimplify/ConstProp/logicaltest.ll
    M llvm/test/Transforms/InstSimplify/ConstProp/phi.ll
    M llvm/test/Transforms/InstSimplify/ConstProp/remtest.ll
    M llvm/test/Transforms/NewGVN/rle.ll
    M llvm/test/Transforms/Reassociate/inverses.ll
    M llvm/test/Transforms/Reassociate/otherops.ll
    M llvm/test/Transforms/Reassociate/vaarg_movable.ll

  Log Message:
  -----------
  [DIE] Remove DeadInstEliminationPass

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.

Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D87933




More information about the All-commits mailing list