[all-commits] [llvm/llvm-project] 7c11d0: [mlir][TosaToLinalg] Exit after `notifyMatchFailur...

Longsheng Mou via All-commits all-commits at lists.llvm.org
Thu Mar 20 12:17:25 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7c11d053f6619e9feb73b75353cf6d40f989b8d2
      https://github.com/llvm/llvm-project/commit/7c11d053f6619e9feb73b75353cf6d40f989b8d2
  Author: Longsheng Mou <longshengmou at gmail.com>
  Date:   2025-03-20 (Thu, 20 Mar 2025)

  Changed paths:
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
    M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg-invalid.mlir

  Log Message:
  -----------
  [mlir][TosaToLinalg] Exit after `notifyMatchFailure` (#132012)

This PR adds `return nullptr` when the shift value of `tosa.mul` is not
constant to prevent a crash. Fixes #131766.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list