[all-commits] [llvm/llvm-project] 1ceaff: [MLIR] Add a foldTrait() mechanism to allow traits...
ahmedsabie via All-commits
all-commits at lists.llvm.org
Thu Oct 8 20:26:34 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 1ceaffd95a6bdc4b7d2193e049bcd6b40ee9ff50
https://github.com/llvm/llvm-project/commit/1ceaffd95a6bdc4b7d2193e049bcd6b40ee9ff50
Author: ahmedsabie <ahmed13579 at gmail.com>
Date: 2020-10-09 (Fri, 09 Oct 2020)
Changed paths:
M mlir/docs/Traits.md
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/CMakeLists.txt
M mlir/test/lib/Dialect/Test/TestOps.td
A mlir/test/lib/Dialect/Test/TestTraits.cpp
A mlir/test/mlir-tblgen/trait.mlir
M mlir/tools/mlir-opt/mlir-opt.cpp
Log Message:
-----------
[MLIR] Add a foldTrait() mechanism to allow traits to define folding and test it with an Involution trait
This change allows folds to be done on a newly introduced involution trait rather than having to manually rewrite this optimization for every instance of an involution
Reviewed By: rriddle, andyly, stephenneuendorffer
Differential Revision: https://reviews.llvm.org/D88809
More information about the All-commits
mailing list