[all-commits] [llvm/llvm-project] 57540c: [mlir] Replace toy::DeadFunctionEliminationPass wi...

River Riddle via All-commits all-commits at lists.llvm.org
Mon Jan 27 23:53:44 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 57540c96bef9c568ac4984d171bc9797abf9b2f5
      https://github.com/llvm/llvm-project/commit/57540c96bef9c568ac4984d171bc9797abf9b2f5
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2020-01-27 (Mon, 27 Jan 2020)

  Changed paths:
    M mlir/examples/toy/Ch4/CMakeLists.txt
    M mlir/examples/toy/Ch4/include/toy/Passes.h
    R mlir/examples/toy/Ch4/mlir/DeadFunctionEliminationPass.cpp
    M mlir/examples/toy/Ch4/mlir/MLIRGen.cpp
    M mlir/examples/toy/Ch4/toyc.cpp
    M mlir/examples/toy/Ch5/CMakeLists.txt
    M mlir/examples/toy/Ch5/include/toy/Passes.h
    R mlir/examples/toy/Ch5/mlir/DeadFunctionEliminationPass.cpp
    M mlir/examples/toy/Ch5/mlir/MLIRGen.cpp
    M mlir/examples/toy/Ch5/toyc.cpp
    M mlir/examples/toy/Ch6/CMakeLists.txt
    M mlir/examples/toy/Ch6/include/toy/Passes.h
    R mlir/examples/toy/Ch6/mlir/DeadFunctionEliminationPass.cpp
    M mlir/examples/toy/Ch6/mlir/MLIRGen.cpp
    M mlir/examples/toy/Ch6/toyc.cpp
    M mlir/examples/toy/Ch7/CMakeLists.txt
    M mlir/examples/toy/Ch7/include/toy/Passes.h
    R mlir/examples/toy/Ch7/mlir/DeadFunctionEliminationPass.cpp
    M mlir/examples/toy/Ch7/mlir/MLIRGen.cpp
    M mlir/examples/toy/Ch7/toyc.cpp
    M mlir/test/Examples/Toy/Ch4/shape_inference.mlir
    M mlir/test/Examples/Toy/Ch5/shape_inference.mlir
    M mlir/test/Examples/Toy/Ch6/shape_inference.mlir
    M mlir/test/Examples/Toy/Ch7/shape_inference.mlir
    M mlir/test/Examples/Toy/Ch7/struct-codegen.toy

  Log Message:
  -----------
  [mlir] Replace toy::DeadFunctionEliminationPass with symbolDCEPass.

Summary:
The dead function elimination pass in toy was a temporary stopgap until we had proper dead function elimination support in MLIR. Now that this functionality is available, this pass is no longer necessary.

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




More information about the All-commits mailing list