[all-commits] [llvm/llvm-project] 2ad297: [mlir][spirv] Handle zero-element tensors in spirv...

Jakub Kuderski via All-commits all-commits at lists.llvm.org
Wed Aug 2 14:37:25 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ad297db2c0ea168822b4958dbe3f3c1d3198d79
      https://github.com/llvm/llvm-project/commit/2ad297db2c0ea168822b4958dbe3f3c1d3198d79
  Author: Jakub Kuderski <kubak at google.com>
  Date:   2023-08-02 (Wed, 02 Aug 2023)

  Changed paths:
    M mlir/lib/Dialect/SPIRV/Transforms/SPIRVConversion.cpp
    M mlir/test/Conversion/TensorToSPIRV/tensor-ops-to-spirv.mlir

  Log Message:
  -----------
  [mlir][spirv] Handle zero-element tensors in spirv type conversion

Return gracefully instead of crashing. Add missing type conversion
tests.

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

Reviewed By: qedawkins

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




More information about the All-commits mailing list