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

Johannes Reifferscheid llvmlistbot at llvm.org
Fri Jul 19 00:31:15 PDT 2024


================
@@ -39,6 +39,11 @@ struct IntegerTypeStorage;
 struct TupleTypeStorage;
 } // namespace detail
 
+/// Type trait indicating that the type can be an operand to an elementwise op.
----------------
jreiffers wrote:

Isn't this conflating two different traits? For an `arith` op on a shaped type you want it to have value semantics and you want the right element type. Why does that need to be expressed in a single trait?

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


More information about the Mlir-commits mailing list