[all-commits] [llvm/llvm-project] 9cdb82: [NFC] [Serialization] Packing more bits and refact...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Thu Dec 14 19:14:16 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9cdb825a4f1bf9e75829d03879620c6144d0b7bc
      https://github.com/llvm/llvm-project/commit/9cdb825a4f1bf9e75829d03879620c6144d0b7bc
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2023-12-15 (Fri, 15 Dec 2023)

  Changed paths:
    M clang/include/clang/Serialization/ASTReader.h
    M clang/include/clang/Serialization/ASTWriter.h
    M clang/lib/Serialization/ASTReaderDecl.cpp
    M clang/lib/Serialization/ASTReaderStmt.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/lib/Serialization/ASTWriterDecl.cpp
    M clang/lib/Serialization/ASTWriterStmt.cpp

  Log Message:
  -----------
  [NFC] [Serialization] Packing more bits and refactor AbbrevToUse

This patch tries to pack more bits into a value to reduce the size of
.pcm files. Also, after we introduced BitsPackers, it may slightly
better to adjust the way we use Abbrev.

After this patch, the size of the BMI for std module reduce from 28.94MB
to 28.1 MB.




More information about the All-commits mailing list