[llvm] Add support for DFP IR type. (PR #69718)
Zahira Ammarguellat via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 23 12:19:43 PDT 2023
================
@@ -207,9 +216,15 @@ int Type::getFPMantissaWidth() const {
if (getTypeID() == HalfTyID) return 11;
if (getTypeID() == BFloatTyID) return 8;
if (getTypeID() == FloatTyID) return 24;
+ // TODO - Does this depend on the encoding format used (BID or DPD)?
----------------
zahiraam wrote:
I just added the DFP into the assert. Not quite sure what you mean by "give them an explicit check".
https://github.com/llvm/llvm-project/pull/69718
More information about the llvm-commits
mailing list