[all-commits] [llvm/llvm-project] fbc103: [mlir][TosaToLinalg] Only support ranked tensor fo...

Longsheng Mou via All-commits all-commits at lists.llvm.org
Tue Mar 18 18:19:13 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fbc1038f0cfe4038d412914cfd8b2ee4a48bba45
      https://github.com/llvm/llvm-project/commit/fbc1038f0cfe4038d412914cfd8b2ee4a48bba45
  Author: Longsheng Mou <longshengmou at gmail.com>
  Date:   2025-03-19 (Wed, 19 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] Only support ranked tensor for `reduce` and `gather` (#131805)

This PR adds checks for ranked tensors in converter of reduce and gather
to prevent crash. Fixes #131087.



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