[all-commits] [llvm/llvm-project] dd115e: [mlir][IR] Implement proper folder for `IsCommutat...

Matthias Springer via All-commits all-commits at lists.llvm.org
Thu Jul 20 01:20:09 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dd115e5a9bc778b5a8c4e445b7cdafa27db54ddd
      https://github.com/llvm/llvm-project/commit/dd115e5a9bc778b5a8c4e445b7cdafa27db54ddd
  Author: Matthias Springer <me at m-sp.org>
  Date:   2023-07-20 (Thu, 20 Jul 2023)

  Changed paths:
    M mlir/include/mlir/IR/OpDefinition.h
    M mlir/lib/IR/Operation.cpp
    M mlir/lib/Transforms/Utils/FoldUtils.cpp
    M mlir/test/Conversion/FuncToLLVM/calling-convention.mlir
    M mlir/test/Conversion/TensorToLinalg/tensor-ops-to-linalg.mlir

  Log Message:
  -----------
  [mlir][IR] Implement proper folder for `IsCommutative` trait

Commutative ops were previously folded with a special rule in `OperationFolder`. This change turns the folding into a proper `OpTrait` folder.

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




More information about the All-commits mailing list