[clang] [Serialization] Remove delta encoding optimization (PR #145670)

2025-06-25 Thread Haojian Wu via cfe-commits
https://github.com/hokein closed https://github.com/llvm/llvm-project/pull/145670 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Serialization] Remove delta encoding optimization (PR #145670)

2025-06-25 Thread Haojian Wu via cfe-commits
https://github.com/hokein updated https://github.com/llvm/llvm-project/pull/145670 >From d2cac7f56f5adf2ddfe084e684562a56f5c5dc65 Mon Sep 17 00:00:00 2001 From: Haojian Wu Date: Wed, 25 Jun 2025 12:30:18 +0200 Subject: [PATCH 1/2] [Serialization] Remove delta encoding. --- clang/include/clang

[clang] [Serialization] Remove delta encoding optimization (PR #145670)

2025-06-25 Thread Timm Baeder via cfe-commits
@@ -733,16 +731,14 @@ class ASTWriter : public ASTDeserializationListener, void AddFileID(FileID FID, RecordDataImpl &Record); /// Emit a source location. - void AddSourceLocation(SourceLocation Loc, RecordDataImpl &Record, - LocSeq *Seq = nullptr)

[clang] [Serialization] Remove delta encoding optimization (PR #145670)

2025-06-25 Thread Chuanqi Xu via cfe-commits
https://github.com/ChuanqiXu9 approved this pull request. LGTM. Maintainability is important given the limited dev resources right now. https://github.com/llvm/llvm-project/pull/145670 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lis

[clang] [Serialization] Remove delta encoding optimization (PR #145670)

2025-06-25 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Haojian Wu (hokein) Changes See the discussion in https://github.com/llvm/llvm-project/pull/145529. This will slightly increase the PCM size (~5%), some data (in-memory preamble size in clangd): - SemaExpr.cpp: 77MB -> 80MB - FindTarget

[clang] [Serialization] Remove delta encoding optimization (PR #145670)

2025-06-25 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-modules Author: Haojian Wu (hokein) Changes See the discussion in https://github.com/llvm/llvm-project/pull/145529. This will slightly increase the PCM size (~5%), some data (in-memory preamble size in clangd): - SemaExpr.cpp: 77MB -> 80MB - Fi

[clang] [Serialization] Remove delta encoding optimization (PR #145670)

2025-06-25 Thread Haojian Wu via cfe-commits
https://github.com/hokein created https://github.com/llvm/llvm-project/pull/145670 See the discussion in https://github.com/llvm/llvm-project/pull/145529. This will slightly increase the PCM size (~5%), some data (in-memory preamble size in clangd): - SemaExpr.cpp: 77MB -> 80MB - FindTarget.