[all-commits] [llvm/llvm-project] 344eee: [MLIR] Allow `Idempotent` trait to be applied to b...

Chris Jones via All-commits all-commits at lists.llvm.org
Fri Nov 26 10:32:04 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 344eee6f384caea3d64df28ef17f4204febc5e94
      https://github.com/llvm/llvm-project/commit/344eee6f384caea3d64df28ef17f4204febc5e94
  Author: Chris Jones <chris.jones at cantab.net>
  Date:   2021-11-26 (Fri, 26 Nov 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Arithmetic/IR/ArithmeticOps.td
    M mlir/include/mlir/IR/OpBase.td
    M mlir/include/mlir/IR/OpDefinition.h
    M mlir/lib/Dialect/Arithmetic/IR/ArithmeticOps.cpp
    M mlir/lib/IR/Operation.cpp
    M mlir/test/lib/Dialect/Test/TestOps.td
    M mlir/test/mlir-tblgen/trait.mlir

  Log Message:
  -----------
  [MLIR] Allow `Idempotent` trait to be applied to binary ops.

Add `Idempotent` trait to `arith.{andi,ori}`.

Reviewed By: mehdi_amini

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




More information about the All-commits mailing list