Update function comment, since we added FP16 support for getZeroAttr.
authorMLIR Team <no-reply@google.com>
Fri, 7 Jun 2019 20:44:09 +0000 (13:44 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Sun, 9 Jun 2019 23:23:56 +0000 (16:23 -0700)
PiperOrigin-RevId: 252110998

mlir/include/mlir/IR/Builders.h

index c9d9fb2..694bb5f 100644 (file)
@@ -126,8 +126,8 @@ public:
   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.