LLVM/project 78a8415 — lldb/include/lldb/Core Module.h, lldb/include/lldb/Symbol ObjectFile.h Symtab.h

[lldb] Lock access to an ObjectFile's m_symtab_up w/ mutex (#242155)

There is a possible data race with an ObjectFile's symtab, which is more
exposed now with my addition of the Symtab::GetState queries for
ObjectFiles. I want to make these safer, even though I expect the
debugger to be stopped when the user might query the symtab states.

Add a m_symtab_up_mutex to ObjectFile to guard access to the
m_symtab_up. It was possible for one thread to call
ObjectFile::GetSymtab() and another thread call
GetSymtab(can_create=false) and nothing ordered the second thread's
access to m_symtab_up while the first thread was llvm::call_once
creating it.

Also, my earlier PR documented that Module::GetSymtabState would not
create an ObjectFile if it isn't present, but that was not correct. Now
it will return eSymtabStateNone and not create.

I change Symtab's m_state to an atomic instead of locking the entire

    [7 lines not shown]
DeltaFile
+51-0lldb/unittests/Symbol/SymtabTest.cpp
+11-11lldb/source/Symbol/ObjectFile.cpp
+7-9lldb/include/lldb/Symbol/Symtab.h
+4-3lldb/include/lldb/Core/Module.h
+4-1lldb/include/lldb/Symbol/ObjectFile.h
+4-0lldb/source/Core/Module.cpp
+81-244 files not shown
+88-3110 files

LLVM/project 2a11994 — llvm/lib/Transforms/Instrumentation MemorySanitizer.cpp, llvm/test/Instrumentation/MemorySanitizer address-space.ll

[MSan] Handle memory accesses in non-default address spaces (#246269)

Memory in non-default address spaces (e.g., x86 %gs relative per-CPU
variables in Linux) cannot be mapped to shadow memory, and pointers to
it cannot be passed to the runtime. Currently, MSan computes bogus
shadow addresses for loads and stores from such memory, and crashes on
memory intrinsics and inline asm memory outputs referring to it.

Treat such memory as untracked: values loaded from it are considered
initialized, stores, atomics, memory intrinsics and asm outputs that
write to it are not instrumented, and copying from it into regular
memory unpoisons the destination.

Assisted-by: Claude Opus 5.5

Signed-off-by: Ard Biesheuvel <ardb at kernel.org>
DeltaFile
+801-0llvm/test/Instrumentation/MemorySanitizer/address-space.ll
+151-23llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
+952-232 files

NetBSD/src YjRru7X — sys/ufs/lfs lfs_vfsops.c lfs_segment.c

   Remove the workqueues for cluster and superblock callbacks; instead do this
   work directly in the aiodone callback.
VersionDeltaFile
1.324+2-20sys/ufs/lfs/lfs_segment.c
1.411+2-11sys/ufs/lfs/lfs_vfsops.c
+4-312 files

LLVM/project bc02f90 — llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp SelectionDAG.cpp, llvm/test/CodeGen/X86 combine-rotates.ll

[DAG] visitRotate - handle poison/undef arguments (#246965)

Fold rot(X,undef/poison) -> X/poison
Fold rot(undef/poison,Y) -> undef/poison
DeltaFile
+4-14llvm/test/CodeGen/X86/combine-rotates.ll
+11-0llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+10-0llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+25-143 files

LLVM/project e60f609 — llvm/lib/Transforms/Scalar ConstraintElimination.cpp, llvm/test/Transforms/ConstraintElimination uadd-with-overflow.ll usub-with-overflow.ll

[ConstraintElim] Add guarded add/sub w/overflow results as EQ fact with fix. (#243988)

Add guarded add/sub.with.overflow results as EQ facts (#227820) -- with
fix for
ref:
https://github.com/llvm/llvm-project/pull/227820#issuecomment-6964541755,

problem identified: stale EQ fact after replaceOverflowUses poisoned the
operands, and we were then picking this up incorrectly to add additional
fact - so constraint system had old and new poisoned constraint leading
to miscompile.

 this led to the revert in #243655.
DeltaFile
+336-0llvm/test/Transforms/ConstraintElimination/sadd-with-overflow.ll
+214-0llvm/test/Transforms/ConstraintElimination/ssub-with-overflow.ll
+48-5llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
+34-0llvm/test/Transforms/ConstraintElimination/reproducer-remarks.ll
+31-0llvm/test/Transforms/ConstraintElimination/usub-with-overflow.ll
+30-0llvm/test/Transforms/ConstraintElimination/uadd-with-overflow.ll
+693-56 files

NetBSD/src iXVN10m — sys/ufs/lfs lfs_vnops.c

   Reinstate rev 1.358 now that the indirect block issue has been fixed in
   lfs_segment.c rev 1.323.

   Check for dirty blocks, in addition to checking for IN_MODIFIED, when
   inactivating a vnode.  Should address PR kern/61000.
VersionDeltaFile
1.360+14-5sys/ufs/lfs/lfs_vnops.c
+14-51 files

LLVM/project 8143542 — llvm/test/Transforms/SLPVectorizer/AArch64 widening-reuse-shuffle-cost.ll

[SLP][NFC]Add extra tests for shuffles in AArch64, NFC

Pull-request: https://github.com/llvm/llvm-project/pull/247271
DeltaFile
+56-0llvm/test/Transforms/SLPVectorizer/AArch64/widening-reuse-shuffle-cost.ll
+56-01 files

LLVM/project e2d0095 — llvm/lib/Target/AArch64 AArch64SchedA320.td, llvm/test/Transforms/LoopVectorize/AArch64 interleave-for-latency.ll

[AArch64] Add Cortex-A320 scalar fp load latencies (#247235)

The Cortex-A320 scheduling model is currently missing entries for scalar
floating-point loads, which causes them to use the default load latency
of 4 when they should have a latency of 5. Fix this by adding entries
for these instructions, and also fix the scalar FP LDP instructions
which have the same latency and only Q-reg LDP has a reciprocal
throughput of 2.

Also remove incorrect FIXME in interleave-for-latency.ll test, as I'd
written that mistakenly thinking that FP floads had the same latency as
vector loads, but actually they don't.

---------

Co-authored-by: Kazu Hirata <kazu at google.com>
DeltaFile
+74-74llvm/test/tools/llvm-mca/AArch64/Cortex/A320-basic-instructions.s
+10-7llvm/lib/Target/AArch64/AArch64SchedA320.td
+0-3llvm/test/Transforms/LoopVectorize/AArch64/interleave-for-latency.ll
+84-843 files

NetBSD/src rNOnpEy — sys/ufs/lfs lfs_segment.c

   Do not create duplicate copies of indirect blocks if the inode to which
   they are attached has been deleted.  The duplicate indirect block prevents
   lfs_inactive from cleaning all the blocks.  This is part of the fix for
   PR kern/61000.
VersionDeltaFile
1.323+13-9sys/ufs/lfs/lfs_segment.c
+13-91 files

LLVM/project cba2ec8 — clang/include/clang/CIR LoweringHelpers.h, clang/lib/CIR/Lowering LoweringHelpers.cpp

[CIR] Share the lowering of scalar constant attributes

Add lowerScalarConstAttr to LoweringHelpers, which maps #cir.int, #cir.fp
and #cir.bool to a builtin attribute of a caller-given LLVM type (the value
type, or the memory type for a bool member or global), and use it in place
of five near-copies:

- CIRToLLVMConstantOpLowering (bool, int and float branches),
- getVectorElementLiteral, which keeps its zero, undef and poison cases,
- the ConstComplexAttr visitor of CIRAttrToValue,
- GlobalInitAttrRewriter, which is removed; the global lowering keeps its
  _BitInt special case (getBitIntStorageAttr) inline,
- lowerConstRecordMemberAttr, which keeps its _BitInt fallback and i8 bool.

A bool global's initializer in the LLVM dialect changes from true to 1 : i8,
matching the i8 global; the LLVM IR is unchanged.

Assisted-by: Claude Code (Opus 5.5).
DeltaFile
+27-100clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+22-17clang/lib/CIR/Lowering/LoweringHelpers.cpp
+7-0clang/include/clang/CIR/LoweringHelpers.h
+56-1173 files

LLVM/project b0510b7 — llvm/lib/Transforms/InstCombine InstCombineAddSub.cpp, llvm/test/Transforms/InstCombine fold-ext-eq-c-with-op.ll

[InstCombine] Set profiles for (add X, (sext/zext (icmp eq X, C))) (#243669)

We cannot infer the profile here given the pattern doesn't match any
instructions that might otherwise contain a profile. Mark it explicitly
unknwon to keep profcheck happy.
DeltaFile
+18-1llvm/test/Transforms/InstCombine/fold-ext-eq-c-with-op.ll
+2-1llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
+20-22 files

LLVM/project 74e10a5 — llvm/lib/Target/RISCV RISCVFrameLowering.cpp, llvm/test/CodeGen/RISCV shrinkwrap-save-restore-live-temps.ll

[RISCV] Check t1 and t2 in canUseAsPrologue for save-restore (#246640)

Fixes #235692

RISCVFrameLowering::canUseAsPrologue only checked t0 (X5) when using
-msave-restore, allowing shrink-wrapping to place call t0,
__riscv_save_N in a block where t1 (X6) or t2 (X7) is live.

Since emitPrologue already marks X6 and X7 as implicit defs on the save
libcall (clobbered by save.S / libgcc) this clobbers live values and
triggers a -verify-machineinstrs failure (Using an undefined physical
register).

### Changes
- Reject prologue candidate blocks in
RISCVFrameLowering::canUseAsPrologue if X6 (t1) or X7 (t2) is used,
matching the existing X5 (t0) check.
- Add a lit test (shrinkwrap-save-restore-live-temps.ll) covering live
t0/t1/t2 and a control case with no live temporaries on both riscv32 and

    [2 lines not shown]
DeltaFile
+127-0llvm/test/CodeGen/RISCV/shrinkwrap-save-restore-live-temps.ll
+3-1llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
+130-12 files

LLVM/project 54bd8d9 — compiler-rt/lib/asan asan_fuchsia.cpp

[Fuchsia] Set __asan_shadow_memory_dynamic_address from ShadowBounds (#245827)

Compute `__asan_shadow_memory_dynamic_address` in
`InitializeShadowMemory()` from `__sanitizer_shadow_bounds()` as
`ShadowBounds.shadow_limit - (ShadowBounds.memory_limit >>
ASAN_SHADOW_SCALE)`. This is effectively just the shadow end minus the
shadow size. For all Fuchsia use cases, we shadow always covers the
entire aspace up to `memory_limit`.

For the standard zero-based shadow on Fuchsia, `shadow_limit` equals
`memory_limit >> ASAN_SHADOW_SCALE`, keeping the dynamic shadow offset
at `0`.
DeltaFile
+11-5compiler-rt/lib/asan/asan_fuchsia.cpp
+11-51 files

LLVM/project 22aa1c9 — compiler-rt/lib/hwasan hwasan_fuchsia.cpp

[Fuchsia] Set __hwasan_shadow_memory_dynamic_address from ShadowBounds (#246124)

Compute `__hwasan_shadow_memory_dynamic_address` in `InitShadow()` from
`__sanitizer_shadow_bounds()` as
`ShadowBounds.shadow_limit - (ShadowBounds.memory_limit >>
kShadowScale)`. This is effectively just the shadow end minus the shadow
size. For all Fuchsia use cases, shadow always covers the entire aspace
up to `memory_limit`.

For the standard zero-based shadow on Fuchsia, `shadow_limit` equals
`memory_limit >> kShadowScale`, keeping the dynamic shadow offset at
`0`.
DeltaFile
+10-0compiler-rt/lib/hwasan/hwasan_fuchsia.cpp
+10-01 files

FreeBSD/ports fadc307 — editors/marknote pkg-plist Makefile

editors/marknote: Update to 1.7.0
DeltaFile
+3-3editors/marknote/distinfo
+2-2editors/marknote/Makefile
+2-1editors/marknote/pkg-plist
+7-63 files

FreeBSD/ports cd75aff — graphics/krita distinfo Makefile

graphics/krita: Update to 6.0.5.1
DeltaFile
+8-0graphics/krita/pkg-plist
+3-3graphics/krita/distinfo
+3-3graphics/krita/Makefile
+14-63 files

LLVM/project a51113c — compiler-rt/lib/hwasan hwasan_allocation_functions.cpp

[Fuchsia] Export strong allocator aliases in HWASan runtime (#246137)

In Fuchsia's legacy libc, the malloc functions are weak so the strong
definitions defined by the sanitizer runtimes can take precedence. The
hwasan definitions for Fuchsia were accidentally left weak but the
legacy dynamic linker always picked the hwasan definitions because the
sanitizer runtime was always explicitly scanned first before libc's own
symbols and since both were weak, the ones in the hwasan runtime won
because they were loaded first.

The new dynamic linker doesn't have this workaround, so the prevailing
definition comes down to whichever is loaded first, but the order may
not always explicitly be given. The hwasan runtime symbols should be
strong (just like those of the asan runtime) so the strong definition
always wins over the weak one, which is guaranteed by Fuchsia's
strong-over-weak policy.
DeltaFile
+3-3compiler-rt/lib/hwasan/hwasan_allocation_functions.cpp
+3-31 files

FreeBSD/ports b892797 — textproc Makefile, textproc/md4qt distinfo pkg-descr

textproc/md4qt: Add new port

C++ library for parsing Markdown.

WWW: https://invent.kde.org/libraries/md4qt/
DeltaFile
+44-0textproc/md4qt/pkg-plist
+16-0textproc/md4qt/Makefile
+7-0textproc/md4qt/pkg-descr
+3-0textproc/md4qt/distinfo
+1-0textproc/Makefile
+71-05 files

LLVM/project 4ee54cb — llvm/lib/CodeGen/AsmPrinter AsmPrinter.cpp, llvm/test/CodeGen/AMDGPU nullptr.ll

[AsmPrinter] Emit the data layout null value for null pointers (#244235)

Currently `emitGlobalConstantImpl` emits a null pointer with
`emitIntValue(0, Size)`. This ignores the null value that the data
layout can give an address space (even though we have not reached the
point where the `ConstantPointerNull` can represent a real null pointer
in certain address spaces), and `emitIntValue` can only emit up to 8
bytes, so `llc` hits an assertion in `MCAsmStreamer` for a null pointer
of a wider address space in a global initializer, such as `ptr
addrspace(8) null` on AMDGPU. To be a little bit future proof, this PR
emits the null value of the data layout in the same way as an integer of
the pointer size.

This PR was assisted by AI but I reviewed all the changes.
DeltaFile
+120-0llvm/test/CodeGen/AMDGPU/nullptr.ll
+13-1llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+133-12 files

LLVM/project 7f8318c — clang/lib/CIR/CodeGen CIRGenStmtOpenMP.cpp, clang/test/CIR/CodeGenOpenMP not-yet-implemented.c region-cleanups-O2.c

[CIR][OpenMP] Add support for 'distribute parallel for' with 'target teams'

Adds support for handling the full '[target] teams distribute parallel for'.
Introduces setting the omp.composite attibute for the 'distribute parallel for'
composite construct.

Assisted-by: Cursor / Claude Sonnet 5 High
DeltaFile
+924-0clang/test/CIR/CodeGenOpenMP/target-teams-distribute-parallel-for.c
+305-45clang/lib/CIR/CodeGen/CIRGenStmtOpenMP.cpp
+278-0clang/test/CIR/CodeGenOpenMP/distribute-parallel-for.c
+28-0clang/test/CIR/CodeGenOpenMP/target-host-eval.c
+27-0clang/test/CIR/CodeGenOpenMP/region-cleanups-O2.c
+19-0clang/test/CIR/CodeGenOpenMP/not-yet-implemented.c
+1,581-456 files

LLVM/project 5d5e1d9 — clang/lib/CIR/CodeGen CIRGenStmtOpenMP.cpp, clang/test/CIR/CodeGenOpenMP not-yet-implemented.c teams-distribute.c

[CIR][OpenMP] Add initial support for distribute

This patch adds initial support for the OpenMP 'distribute' directive. Basic
code generation for the standalone and combined cases is introduced. Support
for clauses will be added in the future. The composite 'teams distribute
parallel for' form will be added in a subsequent patch.

Assisted-by: Cursor / Claude Sonnet 5 High
DeltaFile
+756-0clang/test/CIR/CodeGenOpenMP/target-teams-distribute.c
+203-0clang/test/CIR/CodeGenOpenMP/teams-distribute.c
+153-28clang/lib/CIR/CodeGen/CIRGenStmtOpenMP.cpp
+27-0clang/test/CIR/CodeGenOpenMP/not-yet-implemented.c
+1,139-284 files

LLVM/project 8176e48 — clang/lib/CodeGen CGHLSLRuntime.cpp, clang/test/CodeGenHLSL/semantics SV_Coverage.ps.hlsl

[HLSL] Add support for SV_Coverage (#237033)

Resolves: https://github.com/llvm/llvm-project/issues/136981

Assisted by: Claude Opus 5.5
DeltaFile
+127-0clang/test/SemaHLSL/Semantics/coverage.ps.hlsl
+74-0llvm/test/CodeGen/DirectX/ContainerData/SemanticSignatures-coverage.ll
+73-0clang/lib/CodeGen/CGHLSLRuntime.cpp
+55-0clang/test/CodeGenHLSL/semantics/SV_Coverage.ps.hlsl
+45-0llvm/test/CodeGen/SPIRV/semantics/sample-mask.ps.ll
+43-0llvm/test/CodeGen/DirectX/Metadata/semantic-signatures-errors.ll
+417-012 files not shown
+593-218 files

LLVM/project d5dcb3f — clang/lib/CIR/CodeGen CIRGenStmtOpenMP.cpp, clang/test/CIR/CodeGenOpenMP not-yet-implemented.c region-cleanups-O2.c

[CIR][OpenMP] Add support for omp teams

This patch adds support for the OpenMP 'teams' directive, both standalone
and as the combined `target teams` construct. isCombinableLeaf now also
recognizes teams, so an explicitly-nested `target` + `teams` pair gets
the same omp.combined marking as the combined case.

Assisted-by: Cursor / Claude Sonnet 5 High
DeltaFile
+179-0clang/test/CIR/CodeGenOpenMP/target-teams.c
+139-0clang/test/CIR/CodeGenOpenMP/teams.c
+94-5clang/lib/CIR/CodeGen/CIRGenStmtOpenMP.cpp
+24-0clang/test/CIR/CodeGenOpenMP/region-cleanups-O2.c
+13-3clang/test/CIR/CodeGenOpenMP/not-yet-implemented.c
+449-85 files

LLVM/project 7a6255f — clang/lib/CIR/Dialect/IR CIRDialect.cpp, clang/lib/CIR/Lowering/DirectToLLVM LowerToLLVM.cpp

[CIR] Lower constant vectors with undef, poison and zero elements

The `cir::ConstVectorAttr` verifier only checks the element types, so
`#cir.undef`, `#cir.poison` and `#cir.zero` are valid elements, and
`VecShuffleOp::fold` created an undef element for a -1 index. The
lowering to the LLVM dialect handled int, float and bool elements and
hit an `llvm_unreachable` on anything else, so a
`__builtin_shufflevector` of two constant vectors with a -1 index
crashed `-fclangir -emit-llvm`.

A zero element is now a zero in the dense constant. An undef or poison
element also takes a zero there and is then replaced by an
`llvm.insertelement` of `llvm.mlir.undef` or `llvm.mlir.poison`.
`llvm.mlir.constant` cannot hold such an element itself: a dense
elements attribute holds only literals, and the translation to LLVM IR
accepts a per-element `LLVM::UndefAttr` or `LLVM::ZeroAttr` only in
struct and array constants and no `LLVM::PoisonAttr` at all. The
IRBuilder folds the insertions when the module is translated, in
function bodies and in global initializers, so the LLVM IR holds one

    [10 lines not shown]
DeltaFile
+187-0clang/test/CIR/Lowering/const-vector-undef-poison-zero.cir
+69-21clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+53-0clang/test/CIR/CodeGen/vector-shuffle-poison-index.cpp
+1-1clang/test/CIR/Transforms/vector-shuffle-fold.cir
+1-1clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+311-235 files

LLVM/project baa9a22 — clang/include/clang/Options Options.td, clang/lib/Driver/ToolChains Flang.cpp

[flang][Frontend] Add -fexperimental-openacc-exec

The flag enables the experimental support for executing OpenACC constructs.
Plain -fopenacc stays as it is, and the constructs that are not supported yet
are still rejected when it is given. The driver passes the flag to the
frontend, and the frontend keeps it in the language options. Nothing uses it
yet.

Assisted-by: Claude Sonnet 5.5
DeltaFile
+19-0flang/test/Driver/openacc-experimental-exec.f90
+4-0clang/include/clang/Options/Options.td
+3-0flang/lib/Frontend/CompilerInvocation.cpp
+3-0flang/include/flang/Support/LangOptions.def
+1-0clang/lib/Driver/ToolChains/Flang.cpp
+30-05 files

LLVM/project ef497dc — llvm/lib/Target/AMDGPU GCNHazardRecognizer.cpp, llvm/test/CodeGen/AMDGPU hazard-partial-trans-f16-write-fake16.mir

[AMDGPU] Improve handling of TRANS f16 hazard with typed vdst
DeltaFile
+3-20llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
+0-4llvm/test/CodeGen/AMDGPU/hazard-partial-trans-f16-write-fake16.mir
+3-242 files

LLVM/project 2c5d337 — llvm/lib/Target/AMDGPU SIInstrInfo.cpp SIRegisterInfo.td, llvm/lib/Target/AMDGPU/MCTargetDesc AMDGPUInstPrinter.cpp

[AMDGPU] Make VDst operands typed
DeltaFile
+124-124llvm/lib/Target/AMDGPU/VOP3PInstructions.td
+42-0llvm/lib/Target/AMDGPU/SIDefines.h
+18-16llvm/lib/Target/AMDGPU/SIInstrInfo.td
+16-10llvm/lib/Target/AMDGPU/SIRegisterInfo.td
+14-6llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+9-6llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
+223-1627 files not shown
+252-18113 files

LLVM/project 2ef5675 — llvm/lib/Target/X86 X86ScheduleZnver4.td, llvm/test/tools/llvm-mca/X86/Znver4 resources-avx512bitalgvl.s

[X86][Znver4] Remove scheduling override for VPSHUFBITQMBZ128rr (#247247)

Related to ##246724 and #244230.

Remove the incorrect `Zn4WriteSHIFTrr` scheduling override for
`VPSHUFBITQMBZ128rr` (which also matched `VPSHUFBITQMBZ128rrk` via
substring regex).

Without the override, `VPSHUFBITQMBZ128rr`/`rrk` fall back to
`SchedWriteVecIMul` (Latency = 3, RThroughput = 0.50 on
`Zn4FP0`/`Zn4FP3`), matching both the `ymm` variants and measured Zen 4
hardware behavior.

| Instruction | Before (Lat / RThr) | After (Lat / RThr) | Measured
(`llvm-exegesis` on `znver4`) |
| --- | --- | --- | --- |
| `VPSHUFBITQMBZ128rr` | 2 / 1.00 | 3 / 0.50 | `3.0` / `0.50` |
| `VPSHUFBITQMBZ128rrk` | 2 / 1.00 | 3 / 0.50 | `3.0` / `0.50` |
DeltaFile
+5-5llvm/test/tools/llvm-mca/X86/Znver4/resources-avx512bitalgvl.s
+1-1llvm/lib/Target/X86/X86ScheduleZnver4.td
+6-62 files

LLVM/project c9451b3 — llvm/lib/Transforms/Coroutines CoroSplit.cpp, llvm/lib/Transforms/IPO SCCP.cpp EmbedBitcodePass.cpp

[Passes] Print bool parameters of passes in -print-pipeline-passes (#247151)

These passes accept bool parameters in `-passes`, but don't implement
`printPipeline`, so the parameters are dropped when printing pipelines
with `-print-pipeline-passes`:

- cg-profile<in-lto-post-link>
- coro-split<reuse-storage>
- embed-bitcode<thinlto;emit-summary>
- func-properties-stats<pre-opt>
- instcount<pre-opt>
- ipsccp<no-func-spec>
- normalize<...>
- print<da><normalized-results>

As a result the printed pipeline can differ from the pipeline that
actually runs. For example `default<O3>` runs
`coro-split<reuse-storage>`, `thinlto-pre-link<O3>` runs
`ipsccp<no-func-spec>`, and `lto<O3>` runs

    [5 lines not shown]
DeltaFile
+24-0llvm/test/Other/new-pm-print-pipeline.ll
+23-0llvm/lib/Transforms/Utils/IRNormalizer.cpp
+16-0llvm/lib/Transforms/IPO/EmbedBitcodePass.cpp
+8-0llvm/lib/Transforms/Instrumentation/CGProfile.cpp
+8-0llvm/lib/Transforms/IPO/SCCP.cpp
+8-0llvm/lib/Transforms/Coroutines/CoroSplit.cpp
+87-011 files not shown
+137-017 files

LLVM/project f3350ab — libc/test/UnitTest LibcCTest.h LibcCTest.cpp

[libc][test] Support GoogleTest and zxtest in LibcCTest (#247019)

C header tests could not run under alternate test frameworks because
`LibcCTest.cpp` included `LibcTest.h` directly and used
`LibcTest`-private APIs.

- **GoogleTest**: Switch `LibcCTest.cpp` to include
`test/UnitTest/Test.h` and provide a GoogleTest implementation (matching
`Test.h`'s `LIBC_COPT_TEST_USE_GTEST` and `LIBC_COPT_TEST_USE_PIGWEED`
selection) using `::testing::RegisterTest` and `ADD_FAILURE_AT` so each
C test registers under its `LIBC_C_TEST_NAME` suite/test name and
preserves failure file/line reporting. Hoist the identical
`libc_c_test_anchor()` definition outside the preprocessor guard.
- **zxtest**: When `LIBC_COPT_TEST_USE_ZXTEST` is defined, use zxtest's
native C test frontend directly in `LibcCTest.h` (redefining
`TEST(name)` to `LIB_ZXTEST_REGISTER(LlvmLibcCTest, name)`) and leave
`LibcCTest.cpp` empty. Because zxtest generates per-test static
registration functions, multiple C tests can also link cleanly into a
single zxtest test binary.

    [3 lines not shown]
DeltaFile
+46-3libc/test/UnitTest/LibcCTest.cpp
+15-1libc/test/UnitTest/LibcCTest.h
+61-42 files