[all-commits] [llvm/llvm-project] c19436: [mlir][spirv] Fix a crash of typeConverter with no...

Kohei Yamaguchi via All-commits all-commits at lists.llvm.org
Tue Jan 30 19:37:08 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c19436eec1c236cbe622c04e33f35f1f9478fa15
      https://github.com/llvm/llvm-project/commit/c19436eec1c236cbe622c04e33f35f1f9478fa15
  Author: Kohei Yamaguchi <fix7211 at gmail.com>
  Date:   2024-01-30 (Tue, 30 Jan 2024)

  Changed paths:
    M mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp

  Log Message:
  -----------
  [mlir][spirv] Fix a crash of typeConverter with non supported type (#79955)

Fixes a crash in the `convert-to-spirv-llvm` pass caused by unsupported
types (e.g. `spirv.matrix` ). This PR fixes it by checking the converted type.

Fixes #60017




More information about the All-commits mailing list