[llvm] [APFloat] Add APFloat support for E8M0 type (PR #107127)

Diego Caballero via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 5 11:36:53 PDT 2024


================
@@ -955,6 +965,12 @@ void IEEEFloat::makeNaN(bool SNaN, bool Negative, const APInt *fill) {
       significand[part] = 0;
   }
 
+  // For the E8M0 types, precision is just 1 and the
+  // the NaNBit handling below is not relevant.
----------------
dcaballe wrote:

typo: the the

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


More information about the llvm-commits mailing list