[all-commits] [llvm/llvm-project] 13d330: [mlir][linalg] Add a few unary operations.

Bixia Zheng via All-commits all-commits at lists.llvm.org
Thu Mar 10 09:39:11 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 13d330717666646443946e13df90c84a44ab4722
      https://github.com/llvm/llvm-project/commit/13d330717666646443946e13df90c84a44ab4722
  Author: Bixia Zheng <bixia at google.com>
  Date:   2022-03-10 (Thu, 10 Mar 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgBase.td
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/python/mlir/dialects/linalg/opdsl/lang/comprehension.py
    M mlir/python/mlir/dialects/linalg/opdsl/lang/emitter.py
    M mlir/test/Dialect/Linalg/generalize-named-polymorphic-ops.mlir
    M mlir/test/python/dialects/linalg/opdsl/emit_misc.py

  Log Message:
  -----------
  [mlir][linalg] Add a few unary operations.

Add operations abs, ceil, floor, and neg to the C++ API and Python API.

Add test cases.

Reviewed By: gysit

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




More information about the All-commits mailing list