[all-commits] [llvm/llvm-project] 80e61e: Remove redundant linalg.matmul_signed (#98615)

Renato Golin via All-commits all-commits at lists.llvm.org
Sat Jul 13 06:47:05 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 80e61e38428964c9c9abac5b7a59bb513b5b1c3d
      https://github.com/llvm/llvm-project/commit/80e61e38428964c9c9abac5b7a59bb513b5b1c3d
  Author: Renato Golin <rengolin at systemcall.eu>
  Date:   2024-07-13 (Sat, 13 Jul 2024)

  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-polymorphic-ops.mlir

  Log Message:
  -----------
  Remove redundant linalg.matmul_signed (#98615)

`linalg.matmul` already has an attribute for casts, defaults to signed
but allowed unsigned, so the operation `linalg.matmul_unsigned` is
redundant. The generalization test has an example on how to lower to
unsigned matmul in linalg.

This is the first PR in a list of many that will simplify the linalg
operations by using similar attributes.

Ref:
https://discourse.llvm.org/t/rfc-transpose-attribute-for-linalg-matmul-operations/80092



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