[all-commits] [llvm/llvm-project] 370a7e: [mlir][spirv] Handle zero-sized memrefs

Jakub Kuderski via All-commits all-commits at lists.llvm.org
Fri Aug 4 22:11:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 370a7eae352abb9646e8f86aae02930c38135e23
      https://github.com/llvm/llvm-project/commit/370a7eae352abb9646e8f86aae02930c38135e23
  Author: Jakub Kuderski <kubak at google.com>
  Date:   2023-08-05 (Sat, 05 Aug 2023)

  Changed paths:
    M mlir/lib/Conversion/MemRefToSPIRV/MemRefToSPIRV.cpp
    M mlir/lib/Dialect/SPIRV/Transforms/SPIRVConversion.cpp
    M mlir/test/Conversion/MemRefToSPIRV/alloc.mlir
    M mlir/test/Conversion/MemRefToSPIRV/alloca.mlir
    M mlir/test/Conversion/MemRefToSPIRV/memref-to-spirv.mlir

  Log Message:
  -----------
  [mlir][spirv] Handle zero-sized memrefs

Make sure to check type conversion results. Add missing tests.

Fix some typos in the surrounding code.

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

Reviewed By: antiagainst

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




More information about the All-commits mailing list