[all-commits] [llvm/llvm-project] 5aee15: Reland: "[mlir][index][spirv] Add conversion for i...

Finn Plummer via All-commits all-commits at lists.llvm.org
Sat Oct 21 17:36:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5aee156b2ad2baea5d17e58ee3c5ef360d3ffaec
      https://github.com/llvm/llvm-project/commit/5aee156b2ad2baea5d17e58ee3c5ef360d3ffaec
  Author: Finn Plummer <50529406+inbelic at users.noreply.github.com>
  Date:   2023-10-21 (Sat, 21 Oct 2023)

  Changed paths:
    A mlir/include/mlir/Conversion/IndexToSPIRV/IndexToSPIRV.h
    M mlir/include/mlir/Conversion/Passes.h
    M mlir/include/mlir/Conversion/Passes.td
    M mlir/include/mlir/Dialect/SPIRV/Transforms/SPIRVConversion.h
    M mlir/lib/Conversion/CMakeLists.txt
    A mlir/lib/Conversion/IndexToSPIRV/CMakeLists.txt
    A mlir/lib/Conversion/IndexToSPIRV/IndexToSPIRV.cpp
    M mlir/lib/Conversion/SCFToSPIRV/CMakeLists.txt
    M mlir/lib/Conversion/SCFToSPIRV/SCFToSPIRVPass.cpp
    A mlir/test/Conversion/IndexToSPRIV/index-to-spirv.mlir
    A mlir/test/Conversion/SCFToSPIRV/use-indices.mlir
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  Reland: "[mlir][index][spirv] Add conversion for index to spirv" (#69790)

Due to an issue when lowering from scf to spirv as there was no
conversion pass for index to spirv, we are motivated to add a conversion
pass from the Index dialect to the SPIR-V dialect. Furthermore, we add
the new conversion patterns to the scf-to-spirv conversion.

Fixes https://github.com/llvm/llvm-project/issues/63713

---------

Co-authored-by: Jeremy Kun <jkun at google.com>




More information about the All-commits mailing list