[all-commits] [llvm/llvm-project] a16fbf: [mlir][spirv] Create a pass for testing SCFToSPIRV...

Lei Zhang via All-commits all-commits at lists.llvm.org
Wed Dec 23 11:32:20 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a16fbff17d329c3f2cc1e49d501f61b3996e9b8a
      https://github.com/llvm/llvm-project/commit/a16fbff17d329c3f2cc1e49d501f61b3996e9b8a
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2020-12-23 (Wed, 23 Dec 2020)

  Changed paths:
    M mlir/include/mlir/Conversion/Passes.h
    M mlir/include/mlir/Conversion/Passes.td
    A mlir/include/mlir/Conversion/SCFToSPIRV/SCFToSPIRVPass.h
    M mlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRVPass.cpp
    M mlir/lib/Conversion/SCFToSPIRV/CMakeLists.txt
    A mlir/lib/Conversion/SCFToSPIRV/SCFToSPIRVPass.cpp
    A mlir/test/Conversion/GPUToSPIRV/entry-point.mlir
    R mlir/test/Conversion/GPUToSPIRV/if.mlir
    R mlir/test/Conversion/GPUToSPIRV/loop.mlir
    R mlir/test/Conversion/GPUToSPIRV/test_spirv_entry_point.mlir
    A mlir/test/Conversion/SCFToSPIRV/for.mlir
    A mlir/test/Conversion/SCFToSPIRV/if.mlir

  Log Message:
  -----------
  [mlir][spirv] Create a pass for testing SCFToSPIRV patterns

Previously all SCF to SPIR-V conversion patterns were tested as
the -convert-gpu-to-spirv pass. That obscured the structure we
want. This commit fixed it.

Reviewed By: ThomasRaoux, hanchung

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




More information about the All-commits mailing list