[all-commits] [llvm/llvm-project] 3de062: [mlir][Linalg] Update signatures of the callback f...

Han-Chung Wang via All-commits all-commits at lists.llvm.org
Tue Jul 20 17:03:57 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3de06260f746e8a768330fdcc51ea031c39f8860
      https://github.com/llvm/llvm-project/commit/3de06260f746e8a768330fdcc51ea031c39f8860
  Author: Hanhan Wang <hanchung at google.com>
  Date:   2021-07-20 (Tue, 20 Jul 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
    M mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp

  Log Message:
  -----------
  [mlir][Linalg] Update signatures of the callback functions.

This allows caller to use non-const functions, e.g., `getOperandNumber`, etc. It
is expected that OpOperand is not modified in a callback function.

Reviewed By: mravishankar

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




More information about the All-commits mailing list