LLVM/project 53983b3 — llvm/lib/Target/SystemZ/MCTargetDesc SystemZHLASMAsmStreamer.h SystemZHLASMAsmStreamer.cpp, llvm/test/CodeGen/SystemZ zos-hlasm-dc-xl.ll

[SystenZ][z/OS] Beautify HLASM output

Instructions are currently indented by 2 spaces, which makes the output
hard to read. This changes increases the indentation to 10, which improves
the readability. The indent is now controlled by a constant instead of
hard-coded spaces.
DeltaFile
+44-44llvm/test/CodeGen/SystemZ/zos-hlasm-dc-xl.ll
+11-8llvm/lib/Target/SystemZ/MCTargetDesc/SystemZHLASMAsmStreamer.cpp
+6-1llvm/lib/Target/SystemZ/MCTargetDesc/SystemZHLASMAsmStreamer.h
+61-533 files

LLVM/project 08f3412 — llvm/lib/Target/SystemZ/MCTargetDesc SystemZHLASMAsmStreamer.cpp, llvm/test/CodeGen/SystemZ zos-hlasm-dc-xl.ll

Add latest changes after rebase
DeltaFile
+7-5llvm/lib/Target/SystemZ/MCTargetDesc/SystemZHLASMAsmStreamer.cpp
+2-2llvm/test/CodeGen/SystemZ/zos-hlasm-dc-xl.ll
+9-72 files

LLVM/project 89d54fb — llvm/lib/Target/SystemZ/MCTargetDesc SystemZHLASMAsmStreamer.cpp

Update formatting
DeltaFile
+1-1llvm/lib/Target/SystemZ/MCTargetDesc/SystemZHLASMAsmStreamer.cpp
+1-11 files

LLVM/project ead3dc9 — llvm/lib/Target/SystemZ SystemZISelLowering.h SystemZISelLowering.cpp, llvm/test/CodeGen/SystemZ pdep-pext.ll

[SystemZ] Lower ISD::PDEP and ISD::PEXT on z17 using BDEPG and BEXTG

Implement custom lowering for ISD::PDEP and ISD::PEXT on IBM z17
(Miscellaneous-Instruction-Extensions Facility 4 / arch15).

z17 introduces BDEPG (Bit Deposit) and BEXTG (Bit Extract) instructions,
which operate on left-justified (MSB-first) bit fields:
- ISD::PEXT is lowered using BEXTG followed by a right shift (by 64 - popcount(mask))
  to right-justify the extracted bits.
- ISD::PDEP is lowered by left-shifting the value (by 64 - popcount(mask)) to align
  LSBs to the MSB, followed by BDEPG.
- For constant masks, popcount and shift amounts are computed at compile time.
- Scalar sub-i64 types (i8, i16, i32) are promoted to i64.
DeltaFile
+946-0llvm/test/CodeGen/SystemZ/pdep-pext.ll
+64-1llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
+2-0llvm/lib/Target/SystemZ/SystemZISelLowering.h
+1,012-13 files

LLVM/project 906374a — llvm/lib/Target/SystemZ SystemZISelLowering.cpp

Apply suggestion from @kazutakahirata

Co-authored-by: Kazu Hirata <kazu at google.com>
DeltaFile
+1-2llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
+1-21 files

LLVM/project 39cf96d — llvm/lib/Target/SystemZ SystemZISelLowering.cpp

Add the 'AND 63' back in
DeltaFile
+6-2llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
+6-21 files

LLVM/project ec53e61 — llvm/lib/Target/SystemZ SystemZISelLowering.cpp, llvm/test/CodeGen/SystemZ pdep-pext.ll

Changes due to review comments
DeltaFile
+15-16llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
+9-17llvm/test/CodeGen/SystemZ/pdep-pext.ll
+24-332 files

LLVM/project 4244cc9 — llvm/include/llvm/IR RuntimeLibcalls.td

RuntimeLibcalls: Add attributes to operator new and delete

Annotate operator new and delete implementation variants. The nothrow
variants are nounwind. No library registers these yet so they don't
appear in the DeclareRuntimeLibcalls tests.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+100-64llvm/include/llvm/IR/RuntimeLibcalls.td
+100-641 files

LLVM/project 8befe35 — offload/unittests/OffloadAPI/platform olRegisterRPCCallback.cpp

[Offload] Fix missing return in RPC callback registration test (#244709)

Return 0 from the callback stub in olRegisterRPCCallback.cpp to avoid
compiler warning.

---------

Co-authored-by: Joseph Huber <huberjn at outlook.com>
DeltaFile
+1-1offload/unittests/OffloadAPI/platform/olRegisterRPCCallback.cpp
+1-11 files

LLVM/project 30452b1 — llvm/include/llvm/IR RuntimeLibcalls.td, llvm/test/Transforms/Util/DeclareRuntimeLibcalls windows.ll ve.ll

RuntimeLibcalls: Mark runtime helper functions nounwind

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+47-42llvm/test/Transforms/Util/DeclareRuntimeLibcalls/aarch64.ll
+28-23llvm/include/llvm/IR/RuntimeLibcalls.td
+5-4llvm/test/Transforms/Util/DeclareRuntimeLibcalls/mips.ll
+3-2llvm/test/Transforms/Util/DeclareRuntimeLibcalls/ve.ll
+3-2llvm/test/Transforms/Util/DeclareRuntimeLibcalls/arm.ll
+2-1llvm/test/Transforms/Util/DeclareRuntimeLibcalls/windows.ll
+88-741 files not shown
+90-757 files

LLVM/project b2d0918 — llvm/include/llvm/IR RuntimeLibcalls.td, llvm/test/Transforms/Util/DeclareRuntimeLibcalls xcore.ll emscripten.ll

RuntimeLibcalls: Add attributes to printf variants

Give the integer-only and size-optimized printf variants the
attributes of the corresponding printf functions.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+6-6llvm/include/llvm/IR/RuntimeLibcalls.td
+5-3llvm/test/Transforms/Util/DeclareRuntimeLibcalls/xcore.ll
+5-3llvm/test/Transforms/Util/DeclareRuntimeLibcalls/emscripten.ll
+16-123 files

LLVM/project 2c43f84 — llvm/include/llvm/IR RuntimeLibcalls.td

RuntimeLibcalls: Add attributes to ObjC runtime calls

Mark the ObjC runtime functions nounwind, and mark the argument of
the functions whose intrinsics mark their argument returned.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+31-26llvm/include/llvm/IR/RuntimeLibcalls.td
+31-261 files

LLVM/project 9d01aa3 — llvm/include/llvm/IR RuntimeLibcallsImpl.td RuntimeLibcalls.td, llvm/test/Transforms/Util/DeclareRuntimeLibcalls ppc.ll

RuntimeLibcalls: Add attributes to libc libcalls (#244442)

Annotate C library functions with the attributes InferFunctionAttrs
gives. This isn't fully captured in the DeclareRuntimeLibcalls testing
because not all of these functions are yet associated with a library.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+1,074-184llvm/include/llvm/IR/RuntimeLibcalls.td
+12-12llvm/test/Transforms/Util/DeclareRuntimeLibcalls/ppc.ll
+1-0llvm/include/llvm/IR/RuntimeLibcallsImpl.td
+1,087-1963 files

LLVM/project 1163b54 — openmp/runtime/cmake config-ix.cmake, openmp/runtime/test/ompt callback.h

[OpenMP][OMPT] Enable OMPT on 32-bit PowerPC (#227540)

The tests' return-address offsets are the same as on LoongArch64: a nop,
optionally followed by one or two branches.

Tested with check-openmp under qemu-ppc with OMPT enabled.

Assisted-by: Claude Code
DeltaFile
+5-5openmp/runtime/test/ompt/callback.h
+1-0openmp/runtime/cmake/config-ix.cmake
+6-52 files

LLVM/project 6c6720d — openmp/runtime/src kmp_invoke_microtask.cpp z_Linux_asm.S

[OpenMP] Add __kmp_invoke_microtask for 32-bit PowerPC (#227541)

32-bit PowerPC ELF targets use the generic C++ `__kmp_invoke_microtask`,
which exits when a parallel region has more than 15 arguments, so
misc_bugs/many-microtask-args.c fails. Add an assembly version for the
SysV ABI, based on the ppc64 one.

AIX also defines `KMP_ARCH_PPC` and already has its own version in
z_AIX_asm.S.

Tested with check-openmp under qemu-ppc.
DeltaFile
+115-0openmp/runtime/src/z_Linux_asm.S
+1-1openmp/runtime/src/kmp_invoke_microtask.cpp
+116-12 files

LLVM/project 35cf9d3 — llvm/test/CodeGen/AMDGPU waitcnt-loop-carried-fence-drain.mir

Drop tracksRegLiveness and poison MMO references from the new tests

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+8-10llvm/test/CodeGen/AMDGPU/waitcnt-loop-carried-fence-drain.mir
+8-101 files

LLVM/project 10b8f0b — lldb/packages/Python/lldbsuite/test decorators.py, lldb/test/API/functionalities/data-formatter/data-formatter-synthval TestDataFormatterSynthVal.py

[lldb][test] Enable/Skip tests on Arm after building with symtab on Windows (#244702)

After #238525, a few more tests now pass on arm, enable them.

The odd one out is `TestPythonOSPlugin.py` which seems to fail on
https://lab.llvm.org/buildbot/#/builders/141/builds/26163 but succeeds
on https://lab.llvm.org/buildbot/#/builders/141/builds/26162. I marked
that as skipped for now. #240868 tracks this.
DeltaFile
+0-12lldb/test/API/functionalities/step-avoids-no-debug/TestStepNoDebug.py
+0-6lldb/test/API/lang/cpp/signed_types/TestSignedTypes.py
+3-3lldb/test/API/tools/lldb-dap/attach/TestDAP_attach.py
+3-3lldb/packages/Python/lldbsuite/test/decorators.py
+4-1lldb/test/API/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py
+0-4lldb/test/API/functionalities/inline-stepping/TestInlineStepping.py
+10-292 files not shown
+11-318 files

LLVM/project 581ab92 — llvm/cmake/modules AddLLVM.cmake HandleLLVMOptions.cmake, llvm/docs ReleaseNotes.md CMake.md

[CMake] Name languages explicitly in llvm_add_warning_options

Address review feedback: instead of a hardcoded C|CXX|ALL selector,
llvm_add_warning_options() now takes any number of enabled languages followed
by options. Arguments starting with '-' or '/' are options and everything
else is a language, which must already be enabled (checked against
ENABLED_LANGUAGES). Every option is added to every named language, and the
per-language lists are LLVM_WARNING_OPTIONS_<lang>.

The ALL selector is removed so that adding a language later cannot change the
meaning of existing calls; callers now say "C CXX". llvm_apply_warning_options(),
the -Wno- stripping and the runtimes fold-back loop iterate over the enabled
languages instead of assuming C and CXX, so languages such as Fortran work
once something populates their list. The helper is now a function, and the
temporaries introduced by this patch are unset after use.

LLM-aided
DeltaFile
+55-38llvm/cmake/modules/HandleLLVMOptions.cmake
+10-4runtimes/CMakeLists.txt
+8-4llvm/cmake/modules/AddLLVM.cmake
+2-1llvm/docs/ReleaseNotes.md
+2-1llvm/docs/CMake.md
+77-485 files

LLVM/project a4c90cd — clang/test/CIR/Transforms/abi-lowering indirect-non-byval-copy.cir, clang/test/CodeGenCXX alloc-token.cpp

Merge branch 'main' into users/arsenm/ir/remove-less-precise-fpmad
DeltaFile
+613-0clang/unittests/Analysis/FlowSensitive/UncheckedExpectedAccessModelTest.cpp
+0-313clang/test/CodeGenCXX/alloc-token.cpp
+308-0libc/test/src/syslog/linux/syslog_internal_test.cpp
+271-0clang/unittests/Analysis/FlowSensitive/MockHeaders.cpp
+243-0clang/test/CIR/Transforms/abi-lowering/indirect-non-byval-copy.cir
+104-100llvm/unittests/Transforms/Vectorize/SandboxVectorizer/DependencyGraphTest.cpp
+1,539-413240 files not shown
+6,253-2,017246 files

LLVM/project c2cef5b — llvm/lib/Target/AMDGPU SIInsertWaitcnts.cpp, llvm/test/CodeGen/AMDGPU extract-subvector-16bit.ll flat-saddr-atomics.ll

[AMDGPU] Keep soft waitcnts unchanged until SIInsertWaitcnts converges

On the first visit to a loop header only the preheader state is known.
A soft waitcnt there (e.g. from a release fence) can have some of its
counters simplified away while another counter keeps the instruction
alive: the fence's own vmcnt(0), a preceding wait.asyncmark, or an
explicit s_waitcnt. The soft waitcnt was then rewritten with the
simplified value and promoted to a hard waitcnt, or merged into a
preceding hard one. When the back edge later brought a pending LDS
store, the original lgkmcnt(0) request was gone, and the s_barrier after
the release fence no longer waited for it.

Treat soft waitcnts as requests that depend on the incoming state: never
merge, promote or rewrite them while the analysis iterates. They are
kept unchanged in DeferredErasures, a hard waitcnt (existing or new)
carries what is needed on each visit, and the soft waitcnts are erased
once the analysis converges. This extends #220357, which did the same
only for soft waitcnts that were simplified away entirely.


    [11 lines not shown]
DeltaFile
+66-66llvm/test/CodeGen/AMDGPU/function-args.ll
+48-48llvm/test/CodeGen/AMDGPU/a-v-flat-atomicrmw.ll
+32-32llvm/test/CodeGen/AMDGPU/flat-saddr-atomics.ll
+12-11llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+10-10llvm/test/CodeGen/AMDGPU/extract-subvector-16bit.ll
+10-10llvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch.ll
+178-17712 files not shown
+221-21618 files

LLVM/project 7318793 — llvm/test/CodeGen/AMDGPU waitcnt-loop-carried-fence-drain.mir

[AMDGPU] Pre-commit tests for soft waitcnt requests lost at a loop header (NFC)

Two cases where a soft waitcnt at a loop header loses its lgkmcnt(0)
request: on the first visit no LDS operation is pending, so lgkmcnt is
simplified away while vmcnt keeps the instruction alive (either the soft
waitcnt's own vmcnt, or a preceding hard vmcnt(0) it is merged into).
The DS write in the loop is then not waited for before the S_BARRIER on
the next iteration. The checks show the current, incorrect output.

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+110-0llvm/test/CodeGen/AMDGPU/waitcnt-loop-carried-fence-drain.mir
+110-01 files

LLVM/project 6aef2f2 — flang/lib/Semantics openmp-utils.cpp, flang/test/Lower/OpenMP metadirective-implementation.f90

[OpenMP][flang] Score unknown context selector properties by selector (#232960)

Flang records an unknown property such as kind(bogus) or vendor(bogus)
as TraitProperty::invalid, which belongs to no selector. Under
match_any or match_none, where such a variant can still be selected,
the property therefore lost its selector's weight: kind(bogus) added
nothing, while an unmatched kind(gpu) adds 2^l, where l is the number of
constructs in the context. A score on a selector that mixes known and
unknown properties was also added twice, once for the known property and
once for invalid, and unknown properties in different selectors shared
a single score.

Add VariantMatchInfo::addUnknownTrait, which keeps the property
unmatched and records its selector and score, and score that selector
like any other. Use it in Flang. Clang drops unknown properties while
parsing and is unaffected.

Fixes: https://github.com/llvm/llvm-project/issues/233029

Assisted-by: GitHub Copilot (Claude Opus 5.5)
DeltaFile
+38-1llvm/unittests/Frontend/OpenMPContextTest.cpp
+30-0flang/test/Lower/OpenMP/metadirective-implementation.f90
+15-0llvm/include/llvm/Frontend/OpenMP/OMPContext.h
+6-2llvm/lib/Frontend/OpenMP/OMPContext.cpp
+2-4flang/lib/Semantics/openmp-utils.cpp
+91-75 files

LLVM/project fdc7e53 — clang/include/clang/Serialization ObjectFilePCHContainerReader.h, clang/lib/Serialization ObjectFilePCHContainerReader.cpp

[clang] Ensure the AST file extracted from a PCM is aligned

The COFF object writer doesn't align section contents within the file, so
the `clangast` section of a `-fmodule-format=obj` PCM may start at an
unaligned offset. The readers use the AST file in place, which trips the
on-disk hash table alignment assertion.

Before #242384, the importing compiler instance copied the AST file out of
a freshly built PCM into a (suitably aligned) heap buffer, which hid the
issue for that PCM. However, reading the PCM from disk has always used the
memory-mapped file directly, which happens when:
* reusing the implicit module cache in a subsequent compilation,
* reading a PCM built by another process (while waiting on the lock),
* reading dependencies that already exist on disk,
* loading explicit modules or PCHs,
* building the global module index.

Since #242384, the freshly built PCM is no longer copied either, so the
assertion now fires on the very first compilation. Note that the reads

    [8 lines not shown]
DeltaFile
+41-0clang/test/Modules/pch-container-coff-alignment.c
+6-0clang/lib/Serialization/ObjectFilePCHContainerReader.cpp
+3-0clang/include/clang/Serialization/ObjectFilePCHContainerReader.h
+50-03 files

LLVM/project 6ad93f7 — clang/include/clang/Serialization PCHContainerOperations.h, clang/lib/Frontend CompilerInstance.cpp

[clang] Make `PCHContainerReader::ExtractPCH()` return a buffer

`ExtractPCH()` used to return a view into the buffer holding the PCM,
leaving it up to the callers to keep that buffer alive. This patch changes
it to take the PCM buffer by-value and return the sub-buffer holding just
the AST file by-value as well. This gives the readers more room to decide
how the AST file is exposed, e.g. to make a copy when needed. No
functional change intended.

The callers are updated as follows:
* The importing compiler instance, the module manager and the global
  module index builder extract the AST file once, up front. The
  `SubMemoryBuffer` helper moves to the object file reader, the only one
  that needs it.
* `ASTReader::ReadASTCore()` and `ModuleManager::addModule()` now rely on
  the buffer already being extracted instead of extracting it again. This
  relies on the in-memory module cache only holding extracted buffers,
  which is why `ASTUnit::LoadFromASTFile()` extracts the AST file read from
  stdin before adding it. As a side effect, `ModuleFile::SizeInBits` (used

    [6 lines not shown]
DeltaFile
+36-2clang/lib/Serialization/ObjectFilePCHContainerReader.cpp
+1-25clang/lib/Frontend/CompilerInstance.cpp
+8-6clang/include/clang/Serialization/PCHContainerOperations.h
+6-4clang/lib/Serialization/ASTReader.cpp
+4-3clang/lib/Serialization/PCHContainerOperations.cpp
+5-1clang/lib/Serialization/GlobalModuleIndex.cpp
+60-413 files not shown
+69-479 files

LLVM/project 17c0e2a — llvm/lib/Target/SystemZ/MCTargetDesc SystemZHLASMAsmStreamer.cpp, llvm/test/CodeGen/SystemZ zos-hlasm-dc-xl.ll

Add latest changes after rebase
DeltaFile
+7-5llvm/lib/Target/SystemZ/MCTargetDesc/SystemZHLASMAsmStreamer.cpp
+2-2llvm/test/CodeGen/SystemZ/zos-hlasm-dc-xl.ll
+9-72 files

LLVM/project 7525bd7 — llvm/lib/Target/SystemZ/MCTargetDesc SystemZHLASMAsmStreamer.cpp

Update formatting
DeltaFile
+1-1llvm/lib/Target/SystemZ/MCTargetDesc/SystemZHLASMAsmStreamer.cpp
+1-11 files

LLVM/project 4d4b18b — llvm/lib/Target/SystemZ/MCTargetDesc SystemZHLASMAsmStreamer.h SystemZHLASMAsmStreamer.cpp, llvm/test/CodeGen/SystemZ zos-hlasm-dc-xl.ll

[SystenZ][z/OS] Beautify HLASM output

Instructions are currently indented by 2 spaces, which makes the output
hard to read. This changes increases the indentation to 10, which improves
the readability. The indent is now controlled by a constant instead of
hard-coded spaces.
DeltaFile
+44-44llvm/test/CodeGen/SystemZ/zos-hlasm-dc-xl.ll
+11-8llvm/lib/Target/SystemZ/MCTargetDesc/SystemZHLASMAsmStreamer.cpp
+6-1llvm/lib/Target/SystemZ/MCTargetDesc/SystemZHLASMAsmStreamer.h
+61-533 files

LLVM/project 3564e2b — lldb/source/Core PluginManager.cpp, lldb/source/Target Process.cpp

[LLDB] Halt the process before disabling an InstrumentationRuntime plugin

Disabling an InstrumentationRuntime plugin in a process destroys the
plugin instance. The plugins pass a raw `this` pointer as the baton for
their breakpoint callbacks so the plugin's breakpoint must not be hit
while the plugin is being destroyed.

`Process::SetInstrumentationRuntimeEnabled()` now refuses to disable a
plugin unless the process is stopped. When the `plugin disable` command
disables a plugin in a running process it halts the process, disables
the plugin and then resumes the process. The halt is not hidden so
clients see the process stop and then run again.

If the process happens to stop for another reason (e.g. a breakpoint)
at the same time as the halt it is still resumed. This is very unlikely
and is noted in a FIXME.

Enabling a plugin doesn't require the process to be stopped.

Assisted-by: Claude Code
DeltaFile
+60-0lldb/test/API/lang/BoundsSafety/soft_trap/TestBoundsSafetyInstrumentationPlugin.py
+58-0lldb/test/API/functionalities/ubsan/plugin_enable_disable/TestUbsanPluginEnableDisable.py
+39-3lldb/source/Core/PluginManager.cpp
+8-6lldb/source/Target/Process.cpp
+13-0lldb/test/API/lang/BoundsSafety/soft_trap/main.c
+12-0lldb/test/API/functionalities/ubsan/plugin_enable_disable/main.c
+190-91 files not shown
+195-127 files

LLVM/project 9c35489 — clang/include/clang/Serialization ObjectFilePCHContainerReader.h, clang/lib/Serialization ObjectFilePCHContainerReader.cpp

[clang] Ensure the AST file extracted from a PCM is aligned

The COFF object writer doesn't align section contents within the file, so
the `clangast` section of a `-fmodule-format=obj` PCM may start at an
unaligned offset. The readers use the AST file in place, which trips the
on-disk hash table alignment assertion.

Before #242384, the importing compiler instance copied the AST file out of
a freshly built PCM into a (suitably aligned) heap buffer, which hid the
issue for that PCM. However, reading the PCM from disk has always used the
memory-mapped file directly, which happens when:
* reusing the implicit module cache in a subsequent compilation,
* reading a PCM built by another process (while waiting on the lock),
* reading dependencies that already exist on disk,
* loading explicit modules or PCHs,
* building the global module index.

Since #242384, the freshly built PCM is no longer copied either, so the
assertion now fires on the very first compilation. Note that the reads

    [8 lines not shown]
DeltaFile
+41-0clang/test/Modules/pch-container-coff-alignment.c
+6-0clang/lib/Serialization/ObjectFilePCHContainerReader.cpp
+3-0clang/include/clang/Serialization/ObjectFilePCHContainerReader.h
+50-03 files

LLVM/project afb3158 — clang/include/clang/Serialization PCHContainerOperations.h, clang/lib/Frontend CompilerInstance.cpp

[clang] Make `PCHContainerReader::ExtractPCH()` return a buffer

`ExtractPCH()` used to return a view into the buffer holding the PCM,
leaving it up to the callers to keep that buffer alive. This patch changes
it to take the PCM buffer by-value and return the sub-buffer holding just
the AST file by-value as well. This gives the readers more room to decide
how the AST file is exposed, e.g. to make a copy when needed. No
functional change intended.

The callers are updated as follows:
* The importing compiler instance, the module manager and the global
  module index builder extract the AST file once, up front. The
  `SubMemoryBuffer` helper moves to the object file reader, the only one
  that needs it.
* `ASTReader::ReadASTCore()` and `ModuleManager::addModule()` now rely on
  the buffer already being extracted instead of extracting it again. This
  relies on the in-memory module cache only holding extracted buffers,
  which is why `ASTUnit::LoadFromASTFile()` extracts the AST file read from
  stdin before adding it. As a side effect, `ModuleFile::SizeInBits` (used

    [6 lines not shown]
DeltaFile
+37-2clang/lib/Serialization/ObjectFilePCHContainerReader.cpp
+2-26clang/lib/Frontend/CompilerInstance.cpp
+8-6clang/include/clang/Serialization/PCHContainerOperations.h
+6-4clang/lib/Serialization/ASTReader.cpp
+4-3clang/lib/Serialization/PCHContainerOperations.cpp
+5-1clang/lib/Serialization/GlobalModuleIndex.cpp
+62-423 files not shown
+71-489 files