[all-commits] [llvm/llvm-project] b6d9e3: [mlir] [Linalg] Limit Detensorize pass to Function...

Felix S via All-commits all-commits at lists.llvm.org
Sun Apr 2 13:30:28 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b6d9e30b265834c51274f41718009d953e0d8eb0
  Author: Felix Schneider <fx.schn at gmail.com>
  Date:   2023-04-02 (Sun, 02 Apr 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Passes.td
    M mlir/lib/Dialect/Linalg/Transforms/Detensorize.cpp

  Log Message:
  [mlir] [Linalg] Limit Detensorize pass to FunctionOpInterface

The linalg-detensorize Pass can only be run on FunctionOpInterface Ops and will crash when run on other ops. The TableGen definition of the pass did not enforce that.

Github issue here: https://github.com/llvm/llvm-project/issues/61845

Reviewed By: mehdi_amini

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

More information about the All-commits mailing list