[all-commits] [llvm/llvm-project] 1828de: [mlir][gpu] Deprecate gpu::Serialization* passes. ...

Fabian Mora via All-commits all-commits at lists.llvm.org
Mon Sep 11 13:32:29 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1828deb7524f8d371825dfa6bd39cc17b7247e54
      https://github.com/llvm/llvm-project/commit/1828deb7524f8d371825dfa6bd39cc17b7247e54
  Author: Fabian Mora <fmora.dev at gmail.com>
  Date:   2023-09-11 (Mon, 11 Sep 2023)

  Changed paths:
    M mlir/CMakeLists.txt
    M mlir/include/mlir/Dialect/GPU/Transforms/Passes.h
    M mlir/include/mlir/InitAllPasses.h
    M mlir/lib/Dialect/SparseTensor/Pipelines/CMakeLists.txt
    M mlir/lib/Dialect/SparseTensor/Pipelines/SparseTensorPipelines.cpp
    R mlir/test/Conversion/GPUToCUDA/lit.local.cfg
    R mlir/test/Conversion/GPUToCUDA/lower-nvvm-kernel-to-cubin.mlir
    R mlir/test/Conversion/GPUToROCm/lit.local.cfg
    R mlir/test/Conversion/GPUToROCm/lower-rocdl-kernel-to-hsaco.mlir
    M mlir/test/lib/Dialect/GPU/CMakeLists.txt
    R mlir/test/lib/Dialect/GPU/TestConvertGPUKernelToCubin.cpp
    R mlir/test/lib/Dialect/GPU/TestConvertGPUKernelToHsaco.cpp
    M mlir/tools/mlir-opt/CMakeLists.txt
    M mlir/tools/mlir-opt/mlir-opt.cpp

  Log Message:
  -----------
  [mlir][gpu] Deprecate gpu::Serialization* passes. (#65857)

Deprecate the `gpu-to-cubin` & `gpu-to-hsaco` passes in favor of the
`TargetAttr` workflow. This patch removes remaining upstream uses of the
aforementioned passes, including the option to use them in `mlir-opt`. A
future patch will remove these passes entirely.

The passes can be re-enabled in `mlir-opt` by adding the CMake flag: `-DMLIR_ENABLE_DEPRECATED_GPU_SERIALIZATION=1`.




More information about the All-commits mailing list