[all-commits] [llvm/llvm-project] 93fc45: [mlir][spirv] Support `memref` in `convert-to-spir...

Angel Zhang via All-commits all-commits at lists.llvm.org
Fri Aug 9 07:14:58 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 93fc4590d9e584d8a8552d00f45bca982021fb1d
      https://github.com/llvm/llvm-project/commit/93fc4590d9e584d8a8552d00f45bca982021fb1d
  Author: Angel Zhang <angel.zhang at amd.com>
  Date:   2024-08-09 (Fri, 09 Aug 2024)

  Changed paths:
    M mlir/lib/Conversion/ConvertToSPIRV/CMakeLists.txt
    M mlir/lib/Conversion/ConvertToSPIRV/ConvertToSPIRVPass.cpp
    A mlir/test/Conversion/ConvertToSPIRV/memref.mlir
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  [mlir][spirv] Support `memref` in `convert-to-spirv` pass (#102534)

This PR adds conversion patterns for MemRef to the `convert-to-spirv`
pass, introduced in #95942. Conversions from MemRef memory space to
SPIR-V storage class were also included, and would run before the final
dialect conversion phase.

**Future Plans**
- Add tests for ops other than `memref.load` and `memref.store`

---------

Co-authored-by: Jakub Kuderski <kubakuderski at gmail.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list