[all-commits] [llvm/llvm-project] fe1293: [MLIR][Linalg] Add unary named ops to linalg

Renato Golin via All-commits all-commits at lists.llvm.org
Fri Jul 7 02:38:50 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fe129311d39bba168e74a5c7718e3049ea06c0f8
  Author: Renato Golin <rengolin at systemcall.eu>
  Date:   2023-07-07 (Fri, 07 Jul 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yaml
    M mlir/python/mlir/dialects/linalg/opdsl/ops/core_named_ops.py
    M mlir/test/Dialect/Linalg/generalize-named-ops.mlir
    M mlir/test/Dialect/Linalg/named-ops-fail.mlir
    M mlir/test/Dialect/Linalg/named-ops.mlir

  Log Message:
  [MLIR][Linalg] Add unary named ops to linalg

Following binary arithmetic in previous commits, this patch adds unary
maths ops to linalg.

It also fixes a few of the previous tests, and makes the binary ops call
BinaryFn.<op> directly instead of relying on Python to recognise the

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

More information about the All-commits mailing list