ElementsAttr getOpaqueElementsAttr(Dialect *dialect, ShapedType type,
StringRef bytes);
// Returns a 0-valued attribute of the given `type`. This function only
- // supports boolean, integer, and 32-/64-bit float types, and vector or ranked
- // tensor of them. Returns null attribute otherwise.
+ // supports boolean, integer, and 16-/32-/64-bit float types, and vector or
+ // ranked tensor of them. Returns null attribute otherwise.
Attribute getZeroAttr(Type type);
// Convenience methods for fixed types.