LLVM/project 88bf280libcxx/include fstream, libcxx/test/benchmarks/streams fstream.bench.cpp ofstream.bench.cpp

Reapply "[libc++] Optimize fstream::read" (#206453)

This was reverted due to causing crashes if an ifstream wasn't opened.
This patch addresses this issue by simply checking whether the `__file_`
handle is null, and if it is simply fall back to the generic
implementation.

Fixes #168628
Fixes #205845

This reverts commit 347512ff38748ac6ebfacbfda172edb5cf1edbe2.
DeltaFile
+45-0libcxx/test/benchmarks/streams/fstream.bench.cpp
+0-27libcxx/test/benchmarks/streams/ofstream.bench.cpp
+19-0libcxx/include/fstream
+10-0libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/xsgetn.pass.cpp
+1-1libcxx/test/libcxx/input.output/file.streams/fstreams/traits_mismatch.verify.cpp
+1-1libcxx/test/libcxx/input.output/file.streams/fstreams/filebuf/traits_mismatch.verify.cpp
+76-291 files not shown
+78-297 files

LLVM/project ea4ad68llvm/test/Transforms/LoopVectorize/RISCV interleaved-cost.ll

[LV] Regenerate RISC-V interleaved-cost.ll with UTC. NFC (#207138)

Also don't have an individual RUN for each of the
+optimized-nfX-segment-load-store, just have an optimized and
unoptimized RUN for scalable and fixed VFs each.
DeltaFile
+311-292llvm/test/Transforms/LoopVectorize/RISCV/interleaved-cost.ll
+311-2921 files

OPNSense/tools 941a2ddconfig/26.7 make.conf

dns/powerdns: Unset MYSQL and PGSQL
DeltaFile
+1-0config/26.7/make.conf
+1-01 files

LLVM/project c27d678llvm/docs AMDGPUDMAOperations.md

expand "DMA" at least once
DeltaFile
+5-4llvm/docs/AMDGPUDMAOperations.md
+5-41 files

LLVM/project 855443dllvm/include/llvm/IR RuntimeLibcalls.td

[RuntimeLibcalls] Use a multiclass for all libm impls (NFC) (#148349)

`LibmLongDoubleLibcalls` currently handles generating definitions for
the three long double variants, but `F32` and `F64` always get a written
definition. Simplify this by changing `LibmLongDoubleLibcalls` to
`LibmLibcallImpls` that also expands `F32` and `F64`.

As part of this, `LibmLibcallImpls` can take a function name with an `X`
placeholder, to be replaced with the float type suffix. This allows the
multiclass to also be used for libcalls with the suffix in the middle
rather than strictly at the end.
DeltaFile
+94-262llvm/include/llvm/IR/RuntimeLibcalls.td
+94-2621 files

LLVM/project b2c5060llvm/docs LangRef.rst

[LangRef] Clarify cttz.elts returns poison for undersized result types (#206970)

Update the LangRef for `llvm.experimental.cttz.elts` and
`llvm.vp.cttz.elts` to state that an undersized return type produces
poison rather than UB, matching the intrinsic's speculatable behavior.

See also
https://github.com/llvm/llvm-project/pull/206899#discussion_r3504289653.
DeltaFile
+2-2llvm/docs/LangRef.rst
+2-21 files

OPNSense/tools a79e472config/26.7 make.conf

dns/powerdns: Unset MYSQL and PGSQL
DeltaFile
+1-0config/26.7/make.conf
+1-01 files

FreeBSD/ports b18d2a1www/logswan distinfo Makefile

www/logswan: Update to 2.1.17
DeltaFile
+3-3www/logswan/distinfo
+1-1www/logswan/Makefile
+4-42 files

OPNSense/core e7c5cd2src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes BaseField.php

mvc: BaseField: in getNodes, emit descriptions as well when they're not the same as the value to match getNodeContent()'s behavior.

ref: https://github.com/opnsense/core/pull/10476
DeltaFile
+11-2src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes/BaseField.php
+11-21 files

NetBSD/pkgsrc 80noet1doc CHANGES-2026

   Updated net/py-gevent, net/py-geventhttpclient
VersionDeltaFile
1.4181+3-1doc/CHANGES-2026
+3-11 files

NetBSD/pkgsrc wPJnDFMnet/py-geventhttpclient distinfo Makefile

   py-geventhttpclient: updated to 2.3.9

   2.3.9
   Use select() for socket validation with stdlib SSL support
VersionDeltaFile
1.16+4-4net/py-geventhttpclient/distinfo
1.21+2-2net/py-geventhttpclient/Makefile
+6-62 files

NetBSD/pkgsrc nr0dB4Jnet/py-gevent distinfo Makefile

   py-gevent: updated to 26.5.0

   26.5.0 (2026-05-20)

   Features

   - Build and publish Windows 11 ARM wheels.
   - Add preliminary support for Python 3.15b1 and distribute binary wheels
     for it.

   Deprecations and Removals

   Support for Python 3.10 will be ending soon. Support for PyPy will be
   ending soon.
VersionDeltaFile
1.23+4-4net/py-gevent/distinfo
1.35+2-2net/py-gevent/Makefile
+6-62 files

LLVM/project 1fac729llvm/include/llvm/CodeGen TargetRegisterInfo.h, llvm/lib/CodeGen RegAllocPBQP.cpp TargetRegisterInfo.cpp

[CodeGen][NFC] Move getRawAllocOrder to TargetRegInfo (#207124)

For most TargetRegisterClasses, the allocation order function is null
and we try to avoid pointer members in constants, so move the order
function to the TargetRegisterInfo to avoid the pointer member and
shrink the data structure.
DeltaFile
+31-10llvm/utils/TableGen/RegisterInfoEmitter.cpp
+19-19llvm/include/llvm/CodeGen/TargetRegisterInfo.h
+3-2llvm/lib/CodeGen/RegAllocPBQP.cpp
+2-1llvm/lib/CodeGen/TargetRegisterInfo.cpp
+1-1llvm/unittests/CodeGen/MachineInstrTest.cpp
+1-1llvm/lib/CodeGen/RegisterClassInfo.cpp
+57-342 files not shown
+59-368 files

FreeBSD/ports 0d0a88dgraphics/gdal Makefile

graphics/gdal: disable LTO (IPO) on armv7

The linker runs out of address space when LTO is enabled for this port.

Approved by:    portmgr (build fix blanket)
DeltaFile
+2-1graphics/gdal/Makefile
+2-11 files

LLVM/project efb6019llvm/lib/CodeGen/GlobalISel LegalizerHelper.cpp, llvm/lib/Target/AArch64/GISel AArch64LegalizerInfo.cpp

[AArch64][GlobalISel] Add legalisation for G_INSERT_SUBVECTOR (#205349)

Previously, G_INSERT_SUBVECTOR has no legalisation logic.
To fix, legalise G_INSERT_SUBVECTOR into one of these collections of
instructions:
1. If Vector V is double the size of subvector W:
insert_subvector(V, W, idx) -> concat(W, extract(correct half of V)).
2. V is NOT double the size of W:
insert_subvector(V, W, idx) -> shuffle(V, W, Mask).

Note that the generated code is not as optimal as that produced by SDAG.
DeltaFile
+215-30llvm/test/CodeGen/AArch64/extract-vector-elt.ll
+162-0llvm/test/CodeGen/AArch64/GlobalISel/insert-subvector.ll
+52-1llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
+2-2llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
+2-0llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
+433-335 files

FreeBSD/ports 4c64866security/vuxml/vuln 2026.xml

security/vuxml: extend ffmpeg announcement to ffmpeg4 and ffmpeg6

Approved by:    0mp (mentor)
Reviewed by:    fernape
Security:       CVE-2026-8461
DeltaFile
+8-0security/vuxml/vuln/2026.xml
+8-01 files

FreeBSD/src 3d3eedainclude assert.h

libc: Fix assert() sanitiser for C++ contextual bool conversion

Replace the `(bool(*)(bool))` probe in `__assert_sanitize()` with an unevaluated
conditional expression, so types with `explicit operator bool()` that require a
contextually converted constant expression of type `bool` are handled correctly.

Ergo, arity check is now performed separately via `__assert_sanitize_arity()`, a
unary template whose parameter pack must bind to exactly on argument after
`__VA_ARGS__` is substituted into the call.

Also align NDEBUG with C23 requirements.

Reported by:    dim, aokblast
Signed-off-by:  Faraz Vahedi <kfv at kfv.io>
Reviewed by:    aokblast, fuz
MFC after:      1 week
Fixes:          867b51452ea78ece0b312a387e63fdbc2a11056a
Pull Request:   https://github.com/freebsd/freebsd-src/pull/2265

(cherry picked from commit 48d20fd1cf90179e778c6155900cbed2be140273)
DeltaFile
+7-27include/assert.h
+7-271 files

LLVM/project b25e5beclang/include/clang/StaticAnalyzer/Checkers Checkers.td, clang/lib/StaticAnalyzer/Checkers MallocChecker.cpp

[clang][analyzer] Add allocation failure modeling to DynamicMemoryModeling (#205371)

New option is added to the checker to create branches with null return
value from memory allocations (off by default).
DeltaFile
+76-0clang/test/Analysis/malloc-failure.c
+71-4clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
+8-1clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
+1-0clang/test/Analysis/analyzer-config.c
+156-54 files

LLVM/project 9b631e7llvm/lib/Target/AArch64 AArch64Arm64ECCallLowering.cpp AArch64CallingConvention.td, llvm/test/CodeGen/AArch64 arm64ec-entry-thunks.ll arm64ec-exit-thunks.ll

[Windows][Arm64EC] Enable thunk generation for bfloat16 (#206710)

This patch enables thunk generation for functions that take and return
bfloat16 types. These types live in the same registers as fp16 types in
both Arm64 and x86 so we just need the same behaviour as for fp16.

Assisted-by: codex (gpt-5.5)
Co-authored-by: nick.dingle at arm.com
DeltaFile
+156-1llvm/test/CodeGen/AArch64/arm64ec-entry-thunks.ll
+54-1llvm/test/CodeGen/AArch64/arm64ec-exit-thunks.ll
+17-7llvm/lib/Target/AArch64/AArch64Arm64ECCallLowering.cpp
+5-1llvm/lib/Target/AArch64/AArch64CallingConvention.td
+232-104 files

FreeBSD/ports d6876famisc/crush distinfo Makefile, misc/crush/files extra-patch-disable-command-blocking

misc/crush: Update to 0.81.0

Changelog: https://github.com/charmbracelet/crush/releases/tag/v0.81.0

Reported by:    GitHub (watch releases)
DeltaFile
+20-30misc/crush/files/extra-patch-disable-command-blocking
+5-5misc/crush/distinfo
+1-4misc/crush/Makefile
+26-393 files

OPNSense/core 9e47011src/opnsense/mvc/app/models/OPNsense/Monit Monit.xml

monit: allow spaces in places

Monit model never had a security concept and GHSA-fq94-cxvc-9r7w made
sure to restrict the fields, but went a bit too far with them.

PR: https://forum.opnsense.org/index.php?topic=52263.0
(cherry picked from commit b86fb99465d9faa603040c8b3af36e09067e24e0)
DeltaFile
+3-0src/opnsense/mvc/app/models/OPNsense/Monit/Monit.xml
+3-01 files

OpenBSD/src 008Q0ngusr.sbin/bgpd rde_rib.c rde_peer.c

   Implement a simple rib entry pending paths queue.

   Elements are added to the queue when rib entries are enqueued in
   rde_enqueue_updates() for the EVAL_DEFAULT and EVAL_ALL cases.
   The queue is then flushed once processed by peer_process_updates().
   In rib_remove() assert that the queue is empty before free. This is
   implied by the re_is_queued() check but that check only looks at the
   pq_mode.

   A specific path can only be enqueued once, only the last version matters.
   In other words rapid withdraw and update actions will be aggregated into
   a single action.

   Nothing is currently using this data. This will follow next.
   OK tb@
VersionDeltaFile
1.302+91-16usr.sbin/bgpd/rde_rib.c
1.78+13-19usr.sbin/bgpd/rde_peer.c
1.356+7-4usr.sbin/bgpd/rde.h
+111-393 files

OPNSense/core f674f4fsrc/opnsense/mvc/app/models/OPNsense/Core ACL.php

System: Access: Users - hasPrivilege not merging user privs correctly.

PR: GHSA-p9pr-782r-w2xw
(cherry picked from commit e15a884973746319e79bd2cd421e8a015cc3ddb9)
DeltaFile
+1-1src/opnsense/mvc/app/models/OPNsense/Core/ACL.php
+1-11 files

OPNSense/core 82aaab1src/opnsense/mvc/app/models/OPNsense/Firewall/Menu Menu.php

Firewall: fix some small issues in menu registration, taking under account the situations where legacy removed the items leading to config.xml like:

  <filter>
    <rule/>
  </filter>

And mvc Filter->rules always being there (the container vs the entries)

(cherry picked from commit bf08cc48326216eca7703a93b06f10825e64ae43)
DeltaFile
+4-3src/opnsense/mvc/app/models/OPNsense/Firewall/Menu/Menu.php
+4-31 files

OPNSense/core e15a884src/opnsense/mvc/app/models/OPNsense/Core ACL.php

System: Access: Users - hasPrivilege not merging user privs correctly.

PR: GHSA-p9pr-782r-w2xw
DeltaFile
+1-1src/opnsense/mvc/app/models/OPNsense/Core/ACL.php
+1-11 files

LLVM/project a5114ablibcxx/include __config, libcxx/include/__configuration platform.h

Revert "[libc++] Move threading and random device config into <__configuration/platform.h>" (#207134)

There were CI failures that I missed when merging.

Reverts llvm/llvm-project#206262
DeltaFile
+145-0libcxx/include/__config
+0-144libcxx/include/__configuration/platform.h
+145-1442 files

LLVM/project e7924d5clang/lib/AST ASTContext.cpp, clang/lib/CodeGen MicrosoftCXXABI.cpp

[clang] Handle constructor closures with consteval default args (#203554)

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

Just grabbing the default argument with `getDefaultArg()` during codegen
doesn't work if the expression requires evaluating a consteval
expression (see bug). Instead, we must properly BuildCXXDefaultArgExpr
it during Sema, store it in the AST (including
serialization/deserialization) and then use that during codegen.
DeltaFile
+37-5clang/lib/Sema/SemaDeclCXX.cpp
+27-1clang/test/CodeGenCXX/microsoft-abi-throw.cpp
+2-17clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
+13-0clang/lib/AST/ASTContext.cpp
+6-7clang/lib/CodeGen/MicrosoftCXXABI.cpp
+10-0clang/test/SemaCXX/ms-ctor-closure.cpp
+95-309 files not shown
+144-4115 files

FreeBSD/ports 1c84527www/chromium Makefile, www/chromium/files patch-services_device_hid_hid__service__freebsd.cc

www/chromium: unbreak fido support by making non-blocking optional

PR:     296119
DeltaFile
+2-3www/chromium/files/patch-services_device_hid_hid__service__freebsd.cc
+1-0www/chromium/Makefile
+3-32 files

NetBSD/pkgsrc Q6wXRruwww/py-curl PLIST

   py-curl: fix PLIST for Python != 3.14. sort
VersionDeltaFile
1.25+2-2www/py-curl/PLIST
+2-21 files

NetBSD/pkgsrc w4HLa91doc CHANGES-2026

   Updated textproc/py-css-parser, net/py-aiohappyeyeballs
VersionDeltaFile
1.4180+3-1doc/CHANGES-2026
+3-11 files