[all-commits] [llvm/llvm-project] 7dff6b: [MLIR] Add idempotent trait folding
ahmedsabie via All-commits
all-commits at lists.llvm.org
Fri Oct 16 08:51:33 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 7dff6b818b1cdd52fbc99f6256760d6eb02a7622
https://github.com/llvm/llvm-project/commit/7dff6b818b1cdd52fbc99f6256760d6eb02a7622
Author: ahmedsabie <ahmed13579 at gmail.com>
Date: 2020-10-16 (Fri, 16 Oct 2020)
Changed paths:
M mlir/include/mlir/IR/OpBase.td
M mlir/include/mlir/IR/OpDefinition.h
M mlir/lib/IR/Operation.cpp
M mlir/test/lib/Dialect/Test/TestOps.td
M mlir/test/mlir-tblgen/trait.mlir
Log Message:
-----------
[MLIR] Add idempotent trait folding
This trait simply adds a fold of f(f(x)) = f(x) when an operation is labelled as idempotent
Reviewed By: rriddle, andyly
Differential Revision: https://reviews.llvm.org/D89421
More information about the All-commits
mailing list