LLVM/project 72e1037libcxx/docs/ReleaseNotes 23.rst, libcxx/include mutex shared_mutex

[libc++][ThreadSafety] Add thread safety annotations for variadic std::scoped_lock (#204462)

The thread safety annotations on std::scoped_lock were previously only
applied to the empty and single-mutex specializations. The general
variadic specialization carried no annotations, so -Wthread-safety
considered none of the mutexes held inside a multi-mutex scoped_lock
block and reported the guarded data accessed there as unprotected.

Now that Clang supports pack expansion inside thread safety attributes
(landed for Clang 21), annotate the variadic scoped_lock with
acquire_capability/requires_capability on its constructors,
release_capability on its destructor, and scoped_lockable on the class.

Fixes #42000.

Co-authored-by: Anthony Calandra <anthony at anthony-calandra.com>
DeltaFile
+69-0libcxx/test/extensions/clang/thread/thread.mutex/thread_safety_scoped_lock.pass.cpp
+59-0libcxx/test/extensions/clang/thread/thread.mutex/thread_safety_scoped_lock.verify.cpp
+12-6libcxx/include/mutex
+3-3libcxx/include/__configuration/attributes.h
+2-2libcxx/include/shared_mutex
+3-0libcxx/docs/ReleaseNotes/23.rst
+148-112 files not shown
+150-138 files

FreeBSD/ports 92239f6net/freerdp3 distinfo Makefile

net/freerdp3: Update 3.27.1 => 3.28.0

Changelog:
https://github.com/FreeRDP/FreeRDP/releases#release-3.28.0

Security:       GHSA-pjqx-v446-x7fc
Security:       GHSA-9g22-w2gr-vcmp
Security:       GHSA-f27x-frr8-j9hc
Security:       GHSA-72j9-356v-88xq
Security:       GHSA-v64m-xxfw-hrv6
Security:       CVE-2026-57158 GHSA-mp3f-59pg-c5pp
Security:       CVE-2026-57157 GHSA-47fr-jw86-c3fj
Security:       CVE-2026-57156 GHSA-v5wf-j8j4-77h7
Security:       GHSA-rq8f-9xjh-pr3m
Sponsored by:   UNIS Labs
MFH:            2026Q2

(cherry picked from commit b2818315d9d0762f4e028bfd784087a409ec77bd)
DeltaFile
+3-3net/freerdp3/distinfo
+1-1net/freerdp3/Makefile
+2-0net/freerdp3/pkg-plist
+6-43 files

FreeBSD/ports b281831net/freerdp3 distinfo Makefile

net/freerdp3: Update 3.27.1 => 3.28.0

Changelog:
https://github.com/FreeRDP/FreeRDP/releases#release-3.28.0

Sponsored by:   UNIS Labs
MFH:            2026Q2
DeltaFile
+3-3net/freerdp3/distinfo
+1-1net/freerdp3/Makefile
+2-0net/freerdp3/pkg-plist
+6-43 files

NetBSD/pkgsrc b0HWZVmtextproc/split-thai distinfo Makefile

   Update to version 2.43
   - accommodate sox to sox_ns pkgsrc change
   - in 'pthai-mp3-play, use new variable 'pthai-audio-command, preferring "play_ng" over "play"
   - add 'pthai-lookup-all to return all matches for word lookup
VersionDeltaFile
1.48+4-4textproc/split-thai/distinfo
1.72+2-3textproc/split-thai/Makefile
+6-72 files

LLVM/project 29f1a71openmp/runtime/src kmp_dispatch.h

[OpenMP] Remove internal linkage from __kmp_wait template (NFC) (#207983)

__kmp_wait in kmp_dispatch.h is a static function template in a header,
so any TU that includes it without instantiating it trips
-Wunused-template (kmp_runtime.cpp, kmp_affinity.cpp, kmp_global.cpp,
kmp_settings.cpp). It is used by kmp_dispatch.cpp and
kmp_dispatch_hier.h. Drop static, which the comment above it already
suggests.

Part of #202945
DeltaFile
+2-2openmp/runtime/src/kmp_dispatch.h
+2-21 files

LLVM/project a00f7bellvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/PhaseOrdering/X86 vector-reductions.ll

[SLP]Use poor-throughput instructions as vectorization seeds

Seed vectorization from expensive poor-throughput ops (fdiv/frem/fsqrt
and target-expensive calls) even when they do not feed a store or reduction.

Compile time effect https://llvm-compile-time-tracker.com/compare.php?from=8cdf6346f46c505928a9fb9d3ef9e8ce125a2108&to=27a3f0a5c0489c91bf386e480289fdcc9dc9c8b7&stat=instructions:u

These compile time regressions are the side effects of the vectorization
vectorization gains and cannot be reduced further (note Bullet).

Fixes #38780

Reviewers: hiraditya, bababuck, RKSimon

Pull Request: https://github.com/llvm/llvm-project/pull/206518
DeltaFile
+205-4llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+94-28llvm/test/Transforms/SLPVectorizer/X86/poor-throughput-seeds.ll
+35-16llvm/test/Transforms/SLPVectorizer/X86/c-ray.ll
+20-10llvm/test/Transforms/SLPVectorizer/X86/reduction2.ll
+10-13llvm/test/Transforms/PhaseOrdering/X86/vector-reductions.ll
+6-5llvm/test/Transforms/SLPVectorizer/X86/vec3-reorder-reshuffle.ll
+370-762 files not shown
+379-798 files

FreeBSD/ports ea08326www/evcc distinfo Makefile

www/evcc: update to 0.311.0

Changes:        https://github.com/evcc-io/evcc/releases
DeltaFile
+7-7www/evcc/distinfo
+2-2www/evcc/Makefile
+9-92 files

LLVM/project 5a749abclang/include/clang/Options FlangOptions.td, flang/test/Driver driver-help.f90

Make the option visible in --help
DeltaFile
+12-4clang/include/clang/Options/FlangOptions.td
+6-0flang/test/Driver/driver-help.f90
+18-42 files

LLVM/project 6053d19llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/PhaseOrdering/X86 avg.ll

[SLP] Retune look-ahead scores for constants

Rescale LookAheadHeuristics scores and add ScoreSameConstants /
ScoreConstantScaleFactor so identical constants no longer score the
same as same-opcode instruction matches, fixing suboptimal operand
reordering around repeated constants (shift amounts, splat values).
Also retry a SplitVectorize alt-shuffle build for copyable-element
bundles when scheduling fails, instead of always falling back to a
gather, to fix regressions.

Reviewers: hiraditya, bababuck, RKSimon

Pull Request: https://github.com/llvm/llvm-project/pull/207548
DeltaFile
+88-304llvm/test/Transforms/PhaseOrdering/X86/avg.ll
+37-40llvm/test/Transforms/SLPVectorizer/AArch64/long-non-power-of-2.ll
+36-17llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+15-18llvm/test/Transforms/SLPVectorizer/X86/recalc-copyable-operand-deps-shared-inst.ll
+3-9llvm/test/Transforms/SLPVectorizer/X86/commutable-node-with-non-sched-parent.ll
+2-9llvm/test/Transforms/SLPVectorizer/X86/non-power-of-2-subvectors-insert.ll
+181-3977 files not shown
+196-42213 files

LLVM/project 94a8d4cllvm/lib/Target/AMDGPU AMDGPUIGroupLP.cpp, llvm/test/CodeGen/AMDGPU sched.barrier.inverted.mask.ll

[AMDGPU] Clear DS aggregate in inverted sched_barrier mask when LDSDMA allowed (#207779)

The DS clause was missing the LDSDMA check that the VMEM clause has
DeltaFile
+17-29llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp
+4-4llvm/test/CodeGen/AMDGPU/sched.barrier.inverted.mask.ll
+21-332 files

LLVM/project ae0b053llvm/lib/Target/PowerPC PPCMIPeephole.cpp

PPC: Remove manual run of machine verifier

This is redundant with using the standard -verify-machineinstrs.
It's also confusing / worse, since the error is not produced to
stderr.
DeltaFile
+1-7llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
+1-71 files

FreeBSD/ports cc64f64sysutils/pefs-kmod distinfo Makefile

sysutils/pefs-kmod: Update to 2a2c7046 (g20260707)

Supports FreeBSD 15.1 ABI now.

Co-authored-by: Michael Osipov <michaelo at FreeBSD.org>
PR:             296570
DeltaFile
+3-3sysutils/pefs-kmod/distinfo
+2-2sysutils/pefs-kmod/Makefile
+5-52 files

LLVM/project 031ac65llvm/lib/Target/PowerPC PPCInstrInfo.cpp

PPC: Fix querying TargetInstrInfo from TargetInstrInfo
DeltaFile
+14-20llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
+14-201 files

LLVM/project 01b9061llvm/lib/Target/PowerPC PPCInstrInfo.cpp

PPC: Fix querying TargetRegisterInfo in PPCInstrInfo

Use the direct PPCRegisterInfo member
DeltaFile
+33-45llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
+33-451 files

LLVM/project cde0118llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/X86 mul-shl-nsw-intmin.ll

[SLP] Drop nsw when mul by INT_MIN is converted to shl

mul nsw X, INT_MIN is valid, but shl X, BW-1 is not nsw-safe. Drop nsw on
the vector shl when a mul lane with INT_MIN is unified into shl during
opcode interchange.

Fixes #207990

Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/208028
DeltaFile
+14-0llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+1-1llvm/test/Transforms/SLPVectorizer/X86/mul-shl-nsw-intmin.ll
+15-12 files

LLVM/project 93ff699llvm/test/Transforms/SLPVectorizer/X86 mul-shl-nsw-intmin.ll

[SLP][NFC]Add tests with mul to shl transformations, NFC



Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/208027
DeltaFile
+55-0llvm/test/Transforms/SLPVectorizer/X86/mul-shl-nsw-intmin.ll
+55-01 files

NetBSD/src 40u2tZKsys/arch/m68k/m68k bus_dma_stub.c

   Add a do-nothing-but-return-errors bus_dma stub.
VersionDeltaFile
1.1+85-0sys/arch/m68k/m68k/bus_dma_stub.c
+85-01 files

LLVM/project c1822d6clang/lib/Sema SemaCXXScopeSpec.cpp

[clang][Sema][NFC] Improve readability in `computeDeclContext` (#208010)

Split off from #190495.

Co-authored-by: Matheus Izvekov <mizvekov at gmail.com>
DeltaFile
+80-86clang/lib/Sema/SemaCXXScopeSpec.cpp
+80-861 files

FreeNAS/freenas 3d22f84src/middlewared/middlewared/common/attachment __init__.py, src/middlewared/middlewared/plugins/container attachments.py

review
DeltaFile
+61-55src/middlewared/middlewared/plugins/container/attachments.py
+62-41src/middlewared/middlewared/plugins/vm/attachments.py
+65-0tests/api2/test_pool_dataset_unlock_restart_containers.py
+28-7src/middlewared/middlewared/plugins/pool_/dataset_encryption_lock.py
+20-7src/middlewared/middlewared/common/attachment/__init__.py
+236-1105 files

OpenBSD/ports d816QU9misc/p5-OPCUA-Open62541 distinfo Makefile

   update p5-OPCUA-Open62541 to 2.10
VersionDeltaFile
1.43+2-2misc/p5-OPCUA-Open62541/distinfo
1.46+1-1misc/p5-OPCUA-Open62541/Makefile
+3-32 files

LLVM/project e390e6blibc/src/stdfix bitusk.cpp, libc/test/src/stdfix IdivFxTest.h IdivTest.h

[libc][stdfix] Fix idiv* doc table, rename idivfx test helpers and remove duplicate bitsuk source (#206729)

Two small cleanups in libc/src/stdfix.

1. `idiv*` in `stdfix.rst` was marked as implemented for all 12 type
variants but only the 8 non-short width variants (ur, r, ulr, lr, uk, k,
ulk, lk) exist in the directory and are built. Updated the table to
match.
2. Removed `bitusk.cpp` which is an orphaned duplicate of `bitsuk.cpp`
with a typo in the file name. It isn't referenced in the CMakeLists.txt
and has no corresponding .h file.
3. Rename the idivfx test header and helpers.
DeltaFile
+91-0libc/test/src/stdfix/IdivFxTest.h
+0-91libc/test/src/stdfix/IdivTest.h
+0-22libc/src/stdfix/bitusk.cpp
+3-3libc/test/src/stdfix/idivulk_test.cpp
+3-3libc/test/src/stdfix/idivulr_test.cpp
+2-2libc/test/src/stdfix/idivr_test.cpp
+99-1217 files not shown
+111-13313 files

LLVM/project e702ecbllvm/test/Transforms/SLPVectorizer/X86 mul-shl-nsw-intmin.ll

Revert "[SLP][NFC]Add tests with mul to shl transformations, NFC"

This reverts commit 5ee85101a70dd2628d5b65a6a8a1e5d697d6c757, incorrect
checks in the test

Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/208022
DeltaFile
+0-55llvm/test/Transforms/SLPVectorizer/X86/mul-shl-nsw-intmin.ll
+0-551 files

LLVM/project 31fc40bclang/docs ReleaseNotes.md, clang/lib/CodeGen/Targets X86.cpp

[clang][X86] Emit AVX level mismatch psABI warnings on function definitions (#199091)

Emit -WpsABI for x86_64 function definitions whose return type or
parameter type uses a vector wider than 128 bits without the required
ABI feature enabled. 256-bit vectors require avx, and 512-bit vectors
require avx512f.

Previously this diagnostic was only emitted at call sites, so
definitions with wide vector signatures could be introduced without a
warning until they were called. Use the function feature map so
attribute(target("avx/avx512f")) definitions are accepted, and emit no
warnings for prototype-only declarations.
DeltaFile
+63-0clang/lib/CodeGen/Targets/X86.cpp
+55-0clang/test/CodeGenCXX/target-avx-abi-diag.cpp
+14-0clang/test/CodeGen/target-avx-abi-diag-knr.c
+4-3libcxx/include/__algorithm/simd_utils.h
+6-0clang/test/CodeGen/target-builtin-error-3.c
+4-0clang/docs/ReleaseNotes.md
+146-32 files not shown
+149-38 files

LLVM/project 5ee8510llvm/test/Transforms/SLPVectorizer/X86 mul-shl-nsw-intmin.ll

[SLP][NFC]Add tests with mul to shl transformations, NFC



Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/208020
DeltaFile
+55-0llvm/test/Transforms/SLPVectorizer/X86/mul-shl-nsw-intmin.ll
+55-01 files

LLVM/project aad00dfclang/test/CIR/CodeGen attr-target-aarch64.c, clang/test/CodeGen/AArch64 targetattr.c

[AArch64][llvm] Allow +hcx to be specified as optional for Armv8.6

The `HCRX_EL2` system register can be accessed if FEAT_HCX is
implemented, and is optional from Armv8.6 (and mandatory in Armv8.7).

Allow `clang -march=armv8.6-a+hcx` by making FeatureHCX an
optional argument.
DeltaFile
+2-2llvm/lib/Target/AArch64/AArch64Features.td
+2-2clang/test/CIR/CodeGen/attr-target-aarch64.c
+1-1clang/test/CodeGen/AArch64/targetattr.c
+1-0clang/test/Driver/print-supported-extensions-aarch64.c
+6-54 files

NetBSD/src AZCxHcMdoc CHANGES-11.0, external/gpl2/groff/tmac mdoc.local

   Welcome to 11.0_RC6!
VersionDeltaFile
1.1.2.132+8-1doc/CHANGES-11.0
1.11.4.7+3-3external/gpl2/groff/tmac/mdoc.local
1.738.2.7+2-2sys/sys/param.h
+13-63 files

NetBSD/src byvp7iPdoc CHANGES-11.0

   Ticket #376
VersionDeltaFile
1.1.2.131+6-1doc/CHANGES-11.0
+6-11 files

LLVM/project e2ca2e4llvm/lib/Target/AArch64 AArch64MIPeepholeOpt.cpp, llvm/test/CodeGen/AArch64 redundant-orrwrs-from-zero-extend.mir

AArch64: Fix mishandling subregister in orr peephole

Avoids verifier failure regressions in a future change.
DeltaFile
+21-0llvm/test/CodeGen/AArch64/redundant-orrwrs-from-zero-extend.mir
+3-0llvm/lib/Target/AArch64/AArch64MIPeepholeOpt.cpp
+24-02 files

LLVM/project 2e7bd77clang/lib/AST ASTContext.cpp Type.cpp, clang/lib/Sema SemaOpenMP.cpp SemaTemplate.cpp

trivial changes
DeltaFile
+20-14clang/lib/Sema/SemaOpenMP.cpp
+18-14clang/lib/AST/ASTContext.cpp
+16-15clang/lib/Sema/SemaTemplate.cpp
+14-11clang/lib/AST/Type.cpp
+23-2clang/lib/AST/TextNodeDumper.cpp
+14-8clang/lib/AST/ASTDiagnostic.cpp
+105-6435 files not shown
+231-16241 files

LLVM/project a367d77clang/lib/AST ASTContext.cpp ItaniumMangle.cpp, clang/lib/Sema SemaCXXScopeSpec.cpp SemaTemplate.cpp

[clang] implement CWG2064: ignore value dependence for decltype

The 'decltype' for a value-dependent (but non-type-dependent) should be known,
so this patch makes them non-opaque instead.

This patch also implements what's neceessary to allow overloading
on pure differences in instantiation dependence, making `std::void_t`
usable for SFINAE purposes.

This also readds a few test cases from da98651, which was a previous attempt
at resolving CWG2064.

Fixes #8740
Fixes #61818
Fixes #190388
DeltaFile
+888-161clang/lib/AST/ASTContext.cpp
+328-12clang/test/SemaTemplate/instantiation-dependence.cpp
+178-96clang/lib/AST/ItaniumMangle.cpp
+100-98clang/lib/Sema/SemaCXXScopeSpec.cpp
+62-57clang/lib/AST/Type.cpp
+71-44clang/lib/Sema/SemaTemplate.cpp
+1,627-46868 files not shown
+2,369-79774 files