[all-commits] [llvm/llvm-project] e9482e: [mlir] Move several static cl::opts to be pass opt...

River Riddle via All-commits all-commits at lists.llvm.org
Sun Mar 22 03:39:03 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e9482ed1942a0b020dbb49df62259fc7b77a9060
      https://github.com/llvm/llvm-project/commit/e9482ed1942a0b020dbb49df62259fc7b77a9060
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2020-03-22 (Sun, 22 Mar 2020)

  Changed paths:
    M mlir/lib/Conversion/LoopsToGPU/LoopsToGPUPass.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Promotion.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
    M mlir/lib/Transforms/Vectorize.cpp
    M mlir/test/Conversion/LoopsToGPU/imperfect_2D.mlir
    M mlir/test/Conversion/LoopsToGPU/imperfect_3D.mlir
    M mlir/test/Conversion/LoopsToGPU/imperfect_4D.mlir
    M mlir/test/Conversion/LoopsToGPU/imperfect_linalg.mlir
    M mlir/test/Conversion/LoopsToGPU/no_blocks_no_threads.mlir
    M mlir/test/Conversion/LoopsToGPU/perfect_1D_setlaunch.mlir
    M mlir/test/Conversion/LoopsToGPU/step_one.mlir
    M mlir/test/Conversion/LoopsToGPU/step_positive.mlir
    M mlir/test/Dialect/Linalg/promote.mlir
    M mlir/test/Dialect/Linalg/tile.mlir
    M mlir/test/Dialect/Linalg/tile_conv.mlir
    M mlir/test/Dialect/Linalg/tile_indexed_generic.mlir
    M mlir/test/Dialect/Linalg/tile_parallel.mlir
    M mlir/test/Transforms/Vectorize/vectorize_1d.mlir
    M mlir/test/Transforms/Vectorize/vectorize_2d.mlir
    M mlir/test/Transforms/Vectorize/vectorize_3d.mlir
    M mlir/test/Transforms/Vectorize/vectorize_outer_loop_2d.mlir
    M mlir/test/Transforms/Vectorize/vectorize_outer_loop_transpose_2d.mlir
    M mlir/test/Transforms/Vectorize/vectorize_transpose_2d.mlir
    M mlir/test/mlir-cpu-runner/linalg_integration_test.mlir

  Log Message:
  -----------
  [mlir] Move several static cl::opts to be pass options instead.

This removes the reliance on global options, and also simplifies the pass registration.

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


  Commit: e74961eee2616fe18367b5e3fb8bbf409dbf3c3b
      https://github.com/llvm/llvm-project/commit/e74961eee2616fe18367b5e3fb8bbf409dbf3c3b
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2020-03-22 (Sun, 22 Mar 2020)

  Changed paths:
    R mlir/include/mlir/Analysis/Passes.h
    M mlir/include/mlir/InitAllPasses.h
    M mlir/lib/Support/MlirOptMain.cpp
    M mlir/test/lib/Dialect/Affine/TestAffineDataCopy.cpp
    M mlir/test/lib/Transforms/TestLoopFusion.cpp
    M mlir/test/lib/Transforms/TestMemRefBoundCheck.cpp
    M mlir/test/lib/Transforms/TestMemRefDependenceCheck.cpp
    M mlir/test/lib/Transforms/TestParallelismDetection.cpp
    M mlir/tools/mlir-opt/mlir-opt.cpp
    M mlir/tools/mlir-vulkan-runner/VulkanRuntime.h

  Log Message:
  -----------
  [mlir][NFC] Remove Analysis/Passes.h

Summary:
This file only contains references to test passes, and was never removed when the test passes were moved to the test/ directory.

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


  Commit: e8f5c072f6df444f6baea91a3533509cf4a3779f
      https://github.com/llvm/llvm-project/commit/e8f5c072f6df444f6baea91a3533509cf4a3779f
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2020-03-22 (Sun, 22 Mar 2020)

  Changed paths:
    M mlir/include/mlir/InitAllPasses.h
    M mlir/lib/Conversion/GPUToCUDA/ConvertKernelFuncToCubin.cpp
    M mlir/test/lib/Transforms/CMakeLists.txt
    A mlir/test/lib/Transforms/TestConvertGPUKernelToCubin.cpp
    M mlir/tools/mlir-opt/mlir-opt.cpp

  Log Message:
  -----------
  [mlir] Move the testing pass for GpuKernelToCubin to the test/ directory

Summary:
This removes the static pass registration, and also cleans up some lingering technical debt.

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


Compare: https://github.com/llvm/llvm-project/compare/dbf78ae12874...e8f5c072f6df


More information about the All-commits mailing list