[all-commits] [llvm/llvm-project] 1dfd8e: [Serialization] Delta encode locations in expansio...

Sam McCall via All-commits all-commits at lists.llvm.org
Thu May 19 16:06:17 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1dfd8e99f91c52879fd361466ad8765293a872be
      https://github.com/llvm/llvm-project/commit/1dfd8e99f91c52879fd361466ad8765293a872be
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2022-05-20 (Fri, 20 May 2022)

  Changed paths:
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTWriter.cpp

  Log Message:
  -----------
  [Serialization] Delta encode locations in expansion sloc entries

This is a 1.9% reduction in PCH size in my measurements.

In abbreviated records, VBR6 seems to be slightl better than VBR8 for locations
that may be delta-encoded (i.e. not the first)

Differential Revision: https://reviews.llvm.org/D125952




More information about the All-commits mailing list