[all-commits] [llvm/llvm-project] 7f7e33: [mlir][spirv][math] Fix crash on unsupported types...

Jakub Kuderski via All-commits all-commits at lists.llvm.org
Thu Nov 17 10:46:39 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f7e33c2481dc10bd883129c8998b8d925375213
      https://github.com/llvm/llvm-project/commit/7f7e33c2481dc10bd883129c8998b8d925375213
  Author: Jakub Kuderski <kubak at google.com>
  Date:   2022-11-17 (Thu, 17 Nov 2022)

  Changed paths:
    M mlir/lib/Conversion/MathToSPIRV/MathToSPIRV.cpp
    M mlir/lib/Conversion/SPIRVCommon/Pattern.h
    M mlir/test/Conversion/MathToSPIRV/math-to-core-spirv.mlir
    M mlir/test/Conversion/MathToSPIRV/math-to-gl-spirv.mlir
    M mlir/test/Conversion/MathToSPIRV/math-to-opencl-spirv.mlir

  Log Message:
  -----------
  [mlir][spirv][math] Fix crash on unsupported types in math-to-spirv

Fail to match conversion patterns when source op has unsupported types.

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

Reviewed By: antiagainst

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




More information about the All-commits mailing list