[all-commits] [llvm/llvm-project] 400ad6: [mlir] Eliminate the remaining usages of cl::opt i...

River Riddle via All-commits all-commits at lists.llvm.org
Wed Apr 8 13:09:27 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 400ad6f95d7a8d425463571f5c24efc562677ce7
      https://github.com/llvm/llvm-project/commit/400ad6f95d7a8d425463571f5c24efc562677ce7
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2020-04-08 (Wed, 08 Apr 2020)

  Changed paths:
    M llvm/include/llvm/Support/CommandLine.h
    M mlir/include/mlir/Dialect/Affine/Passes.h
    M mlir/include/mlir/Dialect/Affine/Passes.td
    M mlir/include/mlir/IR/OperationSupport.h
    M mlir/include/mlir/Pass/PassOptions.h
    M mlir/include/mlir/Transforms/Passes.td
    M mlir/lib/Conversion/LoopsToGPU/LoopsToGPUPass.cpp
    M mlir/lib/Dialect/Affine/Transforms/AffineDataCopyGeneration.cpp
    M mlir/lib/Dialect/Affine/Transforms/LoopTiling.cpp
    M mlir/lib/Dialect/Affine/Transforms/LoopUnroll.cpp
    M mlir/lib/Dialect/Affine/Transforms/LoopUnrollAndJam.cpp
    M mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
    M mlir/lib/IR/AsmPrinter.cpp
    M mlir/lib/Transforms/Inliner.cpp
    M mlir/lib/Transforms/LoopFusion.cpp
    M mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp
    M mlir/lib/Transforms/ViewOpGraph.cpp
    M mlir/test/Dialect/Affine/affine-data-copy.mlir
    M mlir/test/Dialect/Affine/dma-generate.mlir
    M mlir/test/Dialect/Affine/inlining.mlir
    M mlir/test/Dialect/Affine/loop-tiling.mlir
    M mlir/test/Dialect/Affine/unroll-jam.mlir
    M mlir/test/Dialect/Affine/unroll.mlir
    M mlir/test/Dialect/SPIRV/Transforms/inlining.mlir
    M mlir/test/Transforms/inlining.mlir
    M mlir/test/Transforms/loop-fusion.mlir
    M mlir/test/lib/Pass/TestPassManager.cpp

  Log Message:
  -----------
  [mlir] Eliminate the remaining usages of cl::opt instead of PassOption.

Summary: Pass options are a better choice for various reasons and avoid the need for static constructors.

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




More information about the All-commits mailing list