[all-commits] [llvm/llvm-project] 3c07a2: [mlir][index][spirv] Add conversion for index to s...

Finn Plummer via All-commits all-commits at lists.llvm.org
Fri Oct 20 08:47:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c07a21683c3c0a30aef4a47dde31cb85ad9830c
      https://github.com/llvm/llvm-project/commit/3c07a21683c3c0a30aef4a47dde31cb85ad9830c
  Author: Finn Plummer <50529406+inbelic at users.noreply.github.com>
  Date:   2023-10-20 (Fri, 20 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/SCFToSPIRVPass.cpp
    A mlir/test/Conversion/IndexToSPRIV/index-to-spirv.mlir
    A mlir/test/Conversion/SCFToSPIRV/use-indices.mlir

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

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 #63713




More information about the All-commits mailing list