Revert "[MLIR] Add a foldTrait() mechanism to allow traits to define folding and...
authorMehdi Amini <joker.eph@gmail.com>
Fri, 9 Oct 2020 06:16:42 +0000 (06:16 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Fri, 9 Oct 2020 06:16:42 +0000 (06:16 +0000)
commit5367a8b67fa18bc26635c69bd138596436b3fc28
tree3685a87621077b475a015096ffc5e98bbc8568bc
parent0a34492f36d77f043d371cc91f359b2d65e86475
Revert "[MLIR] Add a foldTrait() mechanism to allow traits to define folding and test it with an Involution trait"

This reverts commit 1ceaffd95a6bdc4b7d2193e049bcd6b40ee9ff50.

The build is broken with  -DBUILD_SHARED_LIBS=ON ; seems like a possible
layering issue to investigate:

tools/mlir/lib/IR/CMakeFiles/obj.MLIRIR.dir/Operation.cpp.o: In function `mlir::MemoryEffectOpInterface::hasNoEffect(mlir::Operation*)':
Operation.cpp:(.text._ZN4mlir23MemoryEffectOpInterface11hasNoEffectEPNS_9OperationE[_ZN4mlir23MemoryEffectOpInterface11hasNoEffectEPNS_9OperationE]+0x9c): undefined reference to `mlir::MemoryEffectOpInterface::getEffects(llvm::SmallVectorImpl<mlir::SideEffects::EffectInstance<mlir::MemoryEffects::Effect> >&)'
mlir/docs/Traits.md
mlir/include/mlir/IR/OpBase.td
mlir/include/mlir/IR/OpDefinition.h
mlir/lib/IR/Operation.cpp
mlir/test/lib/Dialect/Test/CMakeLists.txt
mlir/test/lib/Dialect/Test/TestOps.td
mlir/test/lib/Dialect/Test/TestTraits.cpp [deleted file]
mlir/test/mlir-tblgen/trait.mlir [deleted file]
mlir/tools/mlir-opt/mlir-opt.cpp