[clang] [llvm] [APFloat] Add APFloat support for FP6 data types (PR #94735)
Durgadoss R via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 8 03:19:50 PDT 2024
================
@@ -68,6 +68,10 @@ enum class fltNonfiniteBehavior {
// `fltNanEncoding` enum. We treat all NaNs as quiet, as the available
// encodings do not distinguish between signalling and quiet NaN.
NanOnly,
+
+ // This behavior is present in Float6E3M2FN and Float6E2M3FN types.
+ // There is no representation for Inf or NaN.
+ NoNanInf,
----------------
durga4github wrote:
@kuhar , I updated the naming to "FiniteOnly" in the latest revision. Please let me know if it's good to go.
https://github.com/llvm/llvm-project/pull/94735
More information about the llvm-commits
mailing list