[PATCH] D78190: Add Bfloat IR type

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 16 08:22:00 PDT 2020


jdoerfert added inline comments.


================
Comment at: llvm/include/llvm/IR/Constants.h:790
+  static Constant *getFP(Type *ElementType, ArrayRef<uint64_t> Elts);
 
   /// Return a ConstantVector with the specified constant in each element.
----------------
Drive by: The documentation of these functions need to be changed and it needs to be clarified what would happen if you pass `double` to the `uint16_y` version.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78190/new/

https://reviews.llvm.org/D78190





More information about the llvm-commits mailing list