[Mlir-commits] [mlir] [mlir] Add a MappableContainer trait. (PR #99493)

Mehdi Amini llvmlistbot at llvm.org
Fri Jul 19 04:47:57 PDT 2024


================
@@ -39,6 +39,16 @@ struct IntegerTypeStorage;
 struct TupleTypeStorage;
 } // namespace detail
 
+/// Type trait indicating that the type can be an operand to an elementwise op.
+template <typename ConcreteType>
+class MappableContainer
+    : public TypeTrait::TraitBase<ConcreteType, MappableContainer> {};
----------------
joker-eph wrote:

Do we need this right now knowing we have the ShapedTypeInterface?

https://github.com/llvm/llvm-project/pull/99493


More information about the Mlir-commits mailing list