[all-commits] [llvm/llvm-project] f230d9: [mlir][spirv] Turn various passes to plain Operati...

Shenghang Tsai via All-commits all-commits at lists.llvm.org
Wed Aug 10 10:50:23 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f230d91592a17176c626b682880e6d6f49862475
      https://github.com/llvm/llvm-project/commit/f230d91592a17176c626b682880e6d6f49862475
  Author: jackalcooper <jackalcooper at gmail.com>
  Date:   2022-08-10 (Wed, 10 Aug 2022)

  Changed paths:
    M mlir/include/mlir/Conversion/ArithmeticToSPIRV/ArithmeticToSPIRV.h
    M mlir/include/mlir/Conversion/ControlFlowToSPIRV/ControlFlowToSPIRVPass.h
    M mlir/include/mlir/Conversion/FuncToSPIRV/FuncToSPIRVPass.h
    M mlir/include/mlir/Conversion/MathToSPIRV/MathToSPIRVPass.h
    M mlir/include/mlir/Conversion/MemRefToSPIRV/MemRefToSPIRVPass.h
    M mlir/include/mlir/Conversion/Passes.td
    M mlir/include/mlir/Conversion/SCFToSPIRV/SCFToSPIRVPass.h
    M mlir/include/mlir/Conversion/TensorToSPIRV/TensorToSPIRVPass.h
    M mlir/include/mlir/Conversion/VectorToSPIRV/VectorToSPIRVPass.h
    M mlir/lib/Conversion/ArithmeticToSPIRV/ArithmeticToSPIRV.cpp
    M mlir/lib/Conversion/ControlFlowToSPIRV/ControlFlowToSPIRVPass.cpp
    M mlir/lib/Conversion/FuncToSPIRV/FuncToSPIRVPass.cpp
    M mlir/lib/Conversion/GPUToSPIRV/GPUToSPIRVPass.cpp
    M mlir/lib/Conversion/MathToSPIRV/MathToSPIRVPass.cpp
    M mlir/lib/Conversion/MemRefToSPIRV/MemRefToSPIRVPass.cpp
    M mlir/lib/Conversion/SCFToSPIRV/SCFToSPIRVPass.cpp
    M mlir/lib/Conversion/TensorToSPIRV/TensorToSPIRVPass.cpp
    M mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRVPass.cpp

  Log Message:
  -----------
  [mlir][spirv] Turn various passes to plain OperationPass

Made passes converting ops from other dialects to spirv OperationPass,
so that downstream compiler could put them in a proper nested pass
manager to lower device code only.

Reviewed By: antiagainst

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




More information about the All-commits mailing list