[llvm] Add support for DFP IR type. (PR #69718)

Andy Kaylor via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 23 13:54:26 PDT 2023


================
@@ -56,10 +56,13 @@ class Type {
     HalfTyID = 0,  ///< 16-bit floating point type
     BFloatTyID,    ///< 16-bit floating point type (7-bit significand)
     FloatTyID,     ///< 32-bit floating point type
+    Decimal32TyID, ///< 32-bit decimal floating point type
----------------
andykaylor wrote:

I think that's right, but you'd want to move Decimal64TyID above DoubleTyID and Decimal128TyID above FP128TyID for consistency.

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


More information about the llvm-commits mailing list