[all-commits] [llvm/llvm-project] a744c7: [mlir][linalg] Update OpDSL to use the newly intro...

Tobias Gysi via All-commits all-commits at lists.llvm.org
Wed Oct 6 00:05:09 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a744c7e962d85a6c0b2de19eff840755ef5c2a1d
      https://github.com/llvm/llvm-project/commit/a744c7e962d85a6c0b2de19eff840755ef5c2a1d
  Author: Tobias Gysi <gysit at google.com>
  Date:   2021-10-06 (Wed, 06 Oct 2021)

  Changed paths:
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    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_structured_generic.py
    M mlir/test/python/integration/dialects/linalg/opsrun.py

  Log Message:
  -----------
  [mlir][linalg] Update OpDSL to use the newly introduced min and max ops.

Implement min and max using the newly introduced std operations instead of relying on compare and select.

Reviewed By: dcaballe

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




More information about the All-commits mailing list