[llvm] Add support for DFP IR type. (PR #69718)
Andy Kaylor via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 20 11:28:11 PDT 2023
================
@@ -972,10 +972,19 @@ void ModuleBitcodeWriter::writeTypeTable() {
case Type::HalfTyID: Code = bitc::TYPE_CODE_HALF; break;
case Type::BFloatTyID: Code = bitc::TYPE_CODE_BFLOAT; break;
case Type::FloatTyID: Code = bitc::TYPE_CODE_FLOAT; break;
+ case Type::Decimal32TyID:
----------------
andykaylor wrote:
The LLVM Coding Standards say that when extending existing code you should follow the style of the existing code over the normal regulations of the coding standard (https://llvm.org/docs/CodingStandards.html#introduction). So even though what you have here probably makes clang-format happy, you should put these all on one line like the rest of this switch statement.
https://github.com/llvm/llvm-project/pull/69718
More information about the llvm-commits
mailing list