[all-commits] [llvm/llvm-project] 1e9799: [mlir][spirv] Fix crash in convert-gpu-to-spirv pa...

Ivan Butygin via All-commits all-commits at lists.llvm.org
Fri Jul 30 02:51:30 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e9799e204ff9eaa2160304e6a139c2faa850d33
      https://github.com/llvm/llvm-project/commit/1e9799e204ff9eaa2160304e6a139c2faa850d33
  Author: Butygin <ivan.butygin at intel.com>
  Date:   2021-07-30 (Fri, 30 Jul 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/SPIRV/Transforms/SPIRVConversion.h
    M mlir/lib/Conversion/MemRefToSPIRV/MemRefToSPIRV.cpp

  Log Message:
  -----------
  [mlir][spirv] Fix crash in convert-gpu-to-spirv pass with memrefs with affine maps

spirv::getElementPtr can return null (for memrefs with affine map) but patterns didn't handle this.

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




More information about the All-commits mailing list