[all-commits] [llvm/llvm-project] c0b3ab: [MLIR] Add a foldTrait() mechanism to allow traits...
ahmedsabie via All-commits
all-commits at lists.llvm.org
Tue Oct 13 14:26:50 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c0b3abd19a3eaaaeeb9e6df47b3dfed4b767e974
https://github.com/llvm/llvm-project/commit/c0b3abd19a3eaaaeeb9e6df47b3dfed4b767e974
Author: ahmedsabie <ahmed13579 at gmail.com>
Date: 2020-10-13 (Tue, 13 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 is the same diff as https://reviews.llvm.org/D88809/ except side effect
free check is removed for involution and a FIXME is added until the dependency
is resolved for shared builds. The old diff has more details on possible fixes.
Reviewed By: rriddle, andyly
Differential Revision: https://reviews.llvm.org/D89333
More information about the All-commits
mailing list