LLVM/project 9879530 — llvm/lib/Analysis ScalarEvolution.cpp MemoryDependenceAnalysis.cpp, llvm/lib/Transforms/Scalar GVN.cpp

Analysis: Use subclass volatile and atomic queries where the type is known (#242094)

Call isVolatile and isAtomic on the subclass already identified by an
isa or dyn_cast, instead of the generic Instruction versions that
switch over the opcode.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+2-4llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
+3-2llvm/lib/Analysis/ScalarEvolution.cpp
+1-1llvm/lib/Transforms/Scalar/GVN.cpp
+6-73 files

OpenZFS/src e25bc5b — module/os/freebsd/zfs zfs_vnops_os.c, module/os/linux/zfs zpl_file.c

Read the objset in the fadvise handlers after entering

zpl_fadvise() and zfs_freebsd_advise() read zfsvfs->z_os before
entering the file system.  If a 'zfs recv' into the file system is
suspending it, the call waits in zfs_enter() until zfs_resume_fs() has
swapped in the new objset and freed the old one, then passes the stale
pointer to dmu_prefetch_user() or dmu_evict_range().  The kernel
oopses (Linux) or panics (FreeBSD) in dnode_hold_impl(), and a backup
tool that issues fadvise while a replication stream is received can
bring a host down.

Read z_os once the file system is entered, as the other entry points
do.

This makes fadvise/fadvise_recv pass on Linux and FreeBSD.

Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Will Rouesnel <wrouesnel at wrouesnel.com>

    [2 lines not shown]
DeltaFile
+3-1module/os/linux/zfs/zpl_file.c
+2-1module/os/freebsd/zfs/zfs_vnops_os.c
+5-22 files

LLVM/project 0b2ed8d — llvm/test/CodeGen/AArch64/GlobalISel legalize-vector-cmp.mir arm64-regbankselect.mir

AArch64: Use inline register class syntax in MIR tests (#242043)

Avoid using the registers section and delete it when no longer needed.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+0-670llvm/test/CodeGen/AArch64/GlobalISel/select-with-no-legality-check.mir
+0-539llvm/test/CodeGen/AArch64/GlobalISel/select-vector-icmp.mir
+117-281llvm/test/CodeGen/AArch64/GlobalISel/select-binop.mir
+97-244llvm/test/CodeGen/AArch64/GlobalISel/regbankselect-default.mir
+110-227llvm/test/CodeGen/AArch64/GlobalISel/arm64-regbankselect.mir
+0-325llvm/test/CodeGen/AArch64/GlobalISel/legalize-vector-cmp.mir
+324-2,286178 files not shown
+1,058-7,046184 files

FreeBSD/src 21c2318 — sys/netpfil/ipfilter/netinet ip_nat.c

ipfilter: Remove erroneous ntohs()

The original commit was wrong.  ipf_nat_builddivertmp() builds the UDP
template with the length in host byte order

M_DUP() copies that value unchanged. The old code was therefore correct.
It added fin_plen in host order and then did a single htons().

The original patch was discussed with Co-Pilot, which pointed out the
original bug. claude-opus-5-5 discovered the ntohs() error that
co-pilot suggested.

Interestingly this code had been running here for a couple of months.

Reported by:    llm-postcr
Fixes:          72cc9e3766f4
(cherry picked from commit 86861520613f99c85b5fbdf92b5c955a13ed6624)
DeltaFile
+0-1sys/netpfil/ipfilter/netinet/ip_nat.c
+0-11 files

FreeBSD/src 10207d1 — sys/netpfil/ipfilter/netinet ip_nat.c

ipfilter: Only recalculate the UDP header when we have one

When ipf_nat_out processes NAT_DIVERTOUT (ipnat rdr statements)
it also fixes the checksum in the UDP header. Test for a UDP header
before adjusting its length.

While we are here, the length in the UDP header must be converted
from network byte order to host byte order. Add the missing ntohs().

PR:             296944

(cherry picked from commit 72cc9e3766f4222fa7fc462bc669dcf668e8b334)
DeltaFile
+6-3sys/netpfil/ipfilter/netinet/ip_nat.c
+6-31 files

FreeBSD/ports f0bed8a — x11 Makefile, x11/weltschmerz distinfo pkg-plist

x11/weltschmerz: [NEW PORT] Terminal emulator in Vala

weltschmerz is a small and simple terminal emulator built upon the Virtual
Terminal Emulator widget. It’s written in Vala, supports clickable URLs and
hyperlinks, can reload its configuration whilst running, and has basic search
functionality.

As a VTE app, weltschmerz supports practically every contemporary terminal
emulator feature. It is built to be a stable and practical terminal emulator for
daily use.

WWW:  https://oriole.systems/posts/weltschmerz

PR:   292659
DeltaFile
+22-0x11/weltschmerz/Makefile
+8-0x11/weltschmerz/pkg-descr
+7-0x11/weltschmerz/pkg-plist
+3-0x11/weltschmerz/distinfo
+1-0x11/Makefile
+41-05 files

FreeBSD/src e6ad9d6 — sys/netpfil/ipfilter/netinet ip_nat.c

ipfilter: Remove erroneous ntohs()

The original commit was wrong.  ipf_nat_builddivertmp() builds the UDP
template with the length in host byte order

M_DUP() copies that value unchanged. The old code was therefore correct.
It added fin_plen in host order and then did a single htons().

The original patch was discussed with Co-Pilot, which pointed out the
original bug. claude-opus-5-5 discovered the ntohs() error that
co-pilot suggested.

Interestingly this code had been running here for a couple of months.

Reported by:    llm-postcr
Fixes:          72cc9e3766f4
(cherry picked from commit 86861520613f99c85b5fbdf92b5c955a13ed6624)
DeltaFile
+0-1sys/netpfil/ipfilter/netinet/ip_nat.c
+0-11 files

FreeBSD/src dd72199 — sys/netpfil/ipfilter/netinet ip_nat.c

ipfilter: Only recalculate the UDP header when we have one

When ipf_nat_out processes NAT_DIVERTOUT (ipnat rdr statements)
it also fixes the checksum in the UDP header. Test for a UDP header
before adjusting its length.

While we are here, the length in the UDP header must be converted
from network byte order to host byte order. Add the missing ntohs().

PR:             296944

(cherry picked from commit 72cc9e3766f4222fa7fc462bc669dcf668e8b334)
DeltaFile
+6-3sys/netpfil/ipfilter/netinet/ip_nat.c
+6-31 files

FreeBSD/src e104c74 — crypto/krb5 README, crypto/krb5/src/lib/kadm5 kadm_rpc_xdr.c

krb5: Import MIT 1.22.3

Major changes in 1.22.3 (2026-11-09)
====================================

This is a bug fix release, with a focus on security issues discovered
with the aid of large language models.  See
https://web.mit.edu/kerberos/advisories/MITKRB5-SA-2026-001.txt for
information on the risks of continuing to use unpatched releases.

* Fix a logic error when checking PAC server checksums
   [CVE-2026-111423].

* Check for unkeyed checksums when validating CAMMAC verifiers
   [CVE-2026-71199].

* Fix a loophole in the KDC's client authdata filtering which could
   allow clients to include fake PAC and CAMMAC authdata values when
   requesting service tickets.  These fake values would be rejected by

    [50 lines not shown]
DeltaFile
+215-215crypto/krb5/src/po/mit-krb5.pot
+182-0crypto/krb5/README
+77-32crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
+69-29crypto/krb5/src/lib/rpc/svc_auth_gss.c
+97-0crypto/krb5/src/lib/krb5/krb/t_init_creds_step.c
+59-34crypto/krb5/src/lib/kadm5/kadm_rpc_xdr.c
+699-310133 files not shown
+1,800-901139 files

FreeBSD/ports e5690f0 — editors/cudatext Makefile distinfo

editors/cudatext: Update to 1.239.1.0

ChangeLog at:   https://github.com/Alexey-T/CudaText/blob/master/app/readme/history.txt
DeltaFile
+9-9editors/cudatext/distinfo
+4-4editors/cudatext/Makefile
+13-132 files

LLVM/project 4f31c19 — llvm/test/CodeGen/PowerPC peephole-replaceInstr-after-eliminate-extsw.mir peephole-phi-acc.mir

PPC: Use inline regclass syntax in mir tests

Also clean up unnecessary registers sections

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+776-1,668llvm/test/CodeGen/PowerPC/convert-rr-to-ri-instrs.mir
+189-317llvm/test/CodeGen/PowerPC/sink-down-more-instructions-regpressure-high.mir
+187-248llvm/test/CodeGen/PowerPC/sink-down-more-instructions-1.mir
+123-276llvm/test/CodeGen/PowerPC/convert-rr-to-ri-instrs-out-of-range.mir
+8-173llvm/test/CodeGen/PowerPC/peephole-phi-acc.mir
+4-164llvm/test/CodeGen/PowerPC/peephole-replaceInstr-after-eliminate-extsw.mir
+1,287-2,84637 files not shown
+1,398-3,45043 files

FreeBSD/ports e3919b0 — Mk/Uses tex.mk

Mk/Uses/tex.mk: Fix indentation

Committing changes to tex.mk would fail the check_mk_indentations
pre-commit hook unless --no-verify was supplied to git commit.  Use
Tools/scripts/indent_make_if.pl to fix the indentation.

Approved by:    blanket, no-op fix
Sponsored by:   The FreeBSD Foundation
DeltaFile
+49-49Mk/Uses/tex.mk
+49-491 files

LLVM/project 3477301 — llvm/test/CodeGen/RISCV/GlobalISel/legalizer legalize-load-rv64.mir legalize-phi-rv32.mir, llvm/test/CodeGen/RISCV/rvv vsetvli-insert.mir sifive-xsfmm-vset-insert.mir

RISCV: Use inline register class syntax in mir tests

Also clean up unnecessary registers sections

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+0-103llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.mir
+0-90llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-phi-rv64.mir
+0-84llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-phi-rv32.mir
+0-49llvm/test/CodeGen/RISCV/rvv/sifive-xsfmm-vset-insert.mir
+0-46llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-load-rv64.mir
+0-44llvm/test/CodeGen/RISCV/rvv/vsetvli-insert.mir
+0-41625 files not shown
+2-64531 files

FreeBSD/poudriere 835f702 — src/share/poudriere common.sh

Do not import symlinks from non-pkg package builds

The package phase lets the jail build user write to a host-backed
/.npkg directory. build_port() imported every file and symlink from
that directory into the host package repository. An absolute symlink
changes meaning at this boundary: it points inside the jail while
mounted but at the host after import.

Only the pkg bootstrap variants need package-manager compatibility
links. Process those links before their targets and reject any that
resolve outside staging. Import only regular files for other ports,
preventing their build output from introducing host-resolved symlinks
into the repository.

(cherry picked from commit d558fca255b11e6350b62337bdd80bef36f673bf)

Conflicts:
        src/share/poudriere/common.sh

Issue #1366
DeltaFile
+33-5src/share/poudriere/common.sh
+33-51 files

LLVM/project 19300f1 — llvm/test/CodeGen/SystemZ int-cmp-56.mir foldmemop-vec-fusedfp.mir

SystemZ: Use inline regclass syntax in mir tests

Also clean up unnecessary registers sections

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+83-215llvm/test/CodeGen/SystemZ/clear-liverange-spillreg.mir
+51-166llvm/test/CodeGen/SystemZ/RAbasic-invalid-LR-update.mir
+0-120llvm/test/CodeGen/SystemZ/foldmemop-vec-binops.mir
+36-73llvm/test/CodeGen/SystemZ/fp-conv-17.mir
+0-96llvm/test/CodeGen/SystemZ/foldmemop-vec-fusedfp.mir
+4-88llvm/test/CodeGen/SystemZ/int-cmp-56.mir
+174-75819 files not shown
+181-1,21525 files

LLVM/project c09f101 — compiler-rt/lib/dasan dasan_image.cpp dasan_platform.cpp, compiler-rt/lib/sanitizer_common sanitizer_offload.cpp

[compiler-rt] Add Device AddressSanitizer runtime

Host and device runtime for dasan, built on the sanitizer_common offload
layer. The common layer gains the HSA pieces dasan needs: pool and agent
queries, virtual memory reservation and sharing, code object enumeration,
cache publication, and device symbolization. The runtime keeps the
allocator, global aliasing, and report formatting. Each device begins on
its own metadata granule, so an entry load stays on the device that owns
the object.

The runtime follows ubsan's offload shape: HSA interceptors that report HSA
as absent when it is not loaded, a dasan-preinit archive, static and shared
runtimes, a receive-only RPC handler on SANITIZER_OFFLOAD_DASAN, and lit
tests on the common GPU substitutions. The report handlers elect the first
active lane, which is the first failing one, and take their return address
as the location of the access. Host checks call __dasan_report_load and
__dasan_report_store and take the caller's frame.

Fine-grain pools are placed only when the AMD extension honors pool flags

    [5 lines not shown]
DeltaFile
+792-0compiler-rt/lib/dasan/dasan_allocator.cpp
+466-65compiler-rt/lib/sanitizer_common/sanitizer_offload.cpp
+448-0compiler-rt/lib/dasan/dasan_hsa_interceptors.cpp
+446-0compiler-rt/lib/dasan/dasan_report.cpp
+332-0compiler-rt/lib/dasan/dasan_platform.cpp
+283-0compiler-rt/lib/dasan/dasan_image.cpp
+2,767-6556 files not shown
+6,125-8362 files

LLVM/project a874902 — clang/lib/Driver/ToolChains CommonArgs.cpp, clang/test/CodeGen dasan-new-pm.c sanitize-device-address-attr.cpp

[Clang] Add -fsanitize=daddress for Device AddressSanitizer

Wire the sanitizer through the driver, codegen, and preprocessor. Emit
sanitize_device_address, run the dasan pass, and link the dasan runtime
on AMDGPU offload and supported Linux hosts.

RFC: https://discourse.llvm.org/t/rfc-add-a-device-address-sanitizer-for-gpus-dasan/92710
DeltaFile
+79-0clang/test/Driver/fsanitize-daddress-offload.c
+53-0clang/test/CodeGen/sanitize-device-address-attr.cpp
+43-0clang/test/Driver/fsanitize-daddress.c
+43-0clang/test/CodeGen/dasan-new-pm.c
+14-0clang/test/Lexer/has_feature_address_sanitizer.cpp
+13-0clang/lib/Driver/ToolChains/CommonArgs.cpp
+245-017 files not shown
+301-423 files

FreeBSD/src 6db2770 — sys/dev/virtio/network if_vtnet.c

vtnet: honor the advertised MTU limit on attach

When VIRTIO_NET_F_MTU is negotiated, virtio_net_config.mtu specifies
the maximum MTU the driver may use. vtnet_ioctl_mtu() enforces this
limit for subsequent MTU changes, but ether_ifattach() unconditionally
initializes the interface MTU to ETHERMTU (1500).

So a device advertising a maximum below 1500 starts with an MTU above
its limit. So make sure to set the initial MTU no larger than
vtnet_max_mtu. That is, for vtnet_max_mtu less than 1500
interface MTU will be set to this value, otherwise the current behaviour
is preserved, MTU will be set to 1500.

Reviewed by:    kfv, tuexen
Sponsored by:   The FreeBSD Foundation
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D60980

(cherry picked from commit 0974ef03b43f279f16289ad4d5be3a03923983ea)
DeltaFile
+2-0sys/dev/virtio/network/if_vtnet.c
+2-01 files

LLVM/project a394789 — clang/unittests/StaticAnalyzer UnsignedStatDemo.cpp

[NFC][analyzer] Silence gcc -Wempty-body when compiling unittest (#241759)

When I was building and running the static analyzer tests; gcc always
emitted a `-Wempty-body` warning for this test file. Let's silence it to
reduce noise during the build.
DeltaFile
+2-2clang/unittests/StaticAnalyzer/UnsignedStatDemo.cpp
+2-21 files

LLVM/project c3be703 — llvm/test/CodeGen/Mips micromips-eva.mir, llvm/test/CodeGen/Mips/instverify ins-size.mir

Mips: Use inline register class syntax in MIR tests

Also clean up unnecessary registers sections.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+59-119llvm/test/CodeGen/Mips/mirparser/target-flags-pic-mxgot-tls.mir
+52-105llvm/test/CodeGen/Mips/mirparser/target-flags-static-tls.mir
+14-29llvm/test/CodeGen/Mips/mirparser/target-flags-pic.mir
+11-25llvm/test/CodeGen/Mips/mirparser/target-flags-pic-o32.mir
+0-27llvm/test/CodeGen/Mips/micromips-eva.mir
+4-9llvm/test/CodeGen/Mips/instverify/ins-size.mir
+140-31446 files not shown
+190-54252 files

OpenBSD/ports FQrOmi3 — net/i2p Makefile distinfo, net/i2p/pkg PLIST

   Update to i2p 2.14.1.
VersionDeltaFile
1.19+2-2net/i2p/distinfo
1.32+1-1net/i2p/Makefile
1.19+1-0net/i2p/pkg/PLIST
+4-33 files

LLVM/project 1658bec — llvm/lib/Transforms/Instrumentation DeviceAddressSanitizer.cpp, llvm/test/Instrumentation/DeviceAddressSanitizer rooting.ll debug.ll

[LLVM] Add DeviceAddressSanitizer instrumentation pass

Instrument loads, stores, and memory intrinsics against dasan's
size-class metadata. The handler locates the access by its return
address, so each check calls a report of its own that is never merged,
inlined, or tail called. On AMDGPU, keep the dispatch pointer that
shared memory checks read, and preserve the __dasan_ entry points.

AMDGPU keeps one decode per inbounds root and selects the zero word for
an outside pointer, so the load can be hoisted and the wave does not
branch. Elsewhere an outside pointer is the common case, so membership
is a branch and the decode is its cold side. Global relocation defaults
to AMDGPU and follows -dasan-instrument-globals when set. The metadata
pointer uses the data layout's default globals address space.

RFC: https://discourse.llvm.org/t/rfc-add-a-device-address-sanitizer-for-gpus-dasan/92710
DeltaFile
+879-0llvm/lib/Transforms/Instrumentation/DeviceAddressSanitizer.cpp
+403-0llvm/test/Instrumentation/DeviceAddressSanitizer/basic.ll
+282-0llvm/test/Instrumentation/DeviceAddressSanitizer/shared.ll
+123-0llvm/test/Instrumentation/DeviceAddressSanitizer/globals.ll
+90-0llvm/test/Instrumentation/DeviceAddressSanitizer/debug.ll
+68-0llvm/test/Instrumentation/DeviceAddressSanitizer/rooting.ll
+1,845-012 files not shown
+2,014-018 files

LLVM/project 026546c — llvm/test/CodeGen/AArch64 sve-fixed-length-masked-scatter.ll

[CG][NFC]Update test checks to match codegen and silence bbots, NFC

Pull-request: https://github.com/llvm/llvm-project/pull/242449
DeltaFile
+3-5llvm/test/CodeGen/AArch64/sve-fixed-length-masked-scatter.ll
+3-51 files

LLVM/project a2601f7 — llvm/include/llvm/Target LastSubtargetCache.h, llvm/lib/Target/X86 X86TargetMachine.cpp

Include the module in LastSubtargetCache's function attribute check

Some targets depend on module flags
DeltaFile
+16-8llvm/include/llvm/Target/LastSubtargetCache.h
+4-3llvm/lib/Target/X86/X86TargetMachine.cpp
+20-112 files

LLVM/project 75e652c — llvm/lib/Transforms/Scalar GVN.cpp, llvm/test/Bitcode compatibility.ll

[IR] Add sanitize_device_address function attribute

Mark functions that should receive Device AddressSanitizer checks,
matching the other sanitize_* attributes. Bitcode, LangRef, editor
syntax, and inliner compatibility rules are updated accordingly.
Speculative loads, non-local GVN load elimination, and hot/cold
splitting are suppressed under it, as they are for sanitize_address.

RFC: https://discourse.llvm.org/t/rfc-add-a-device-address-sanitizer-for-gpus-dasan/92710
DeltaFile
+30-0llvm/test/Transforms/Inline/attributes.ll
+14-0llvm/test/Transforms/HotColdSplit/X86/do-not-split.ll
+11-0llvm/test/Transforms/VectorCombine/X86/load-widening.ll
+10-0llvm/test/Transforms/InstCombine/load.ll
+6-2llvm/test/Bitcode/compatibility.ll
+4-2llvm/lib/Transforms/Scalar/GVN.cpp
+75-414 files not shown
+104-620 files

FreeBSD/src c914853 — sys/dev/nvme nvme_private.h nvme_qpair.c

nvme: enforce the Abort Command Limit

Each watchdog pass submitted an Abort for every timed-out command
with nothing counting them against the controller's ACL. A
controller may complete excess Aborts with Abort Command Limit
Exceeded status.

Reviewed by:    imp, adrian
Differential Revision:  https://reviews.freebsd.org/D59636
DeltaFile
+8-0sys/dev/nvme/nvme_qpair.c
+1-0sys/dev/nvme/nvme_private.h
+9-02 files

LLVM/project 73a4cf6 — llvm/docs LangRef.md, llvm/lib/Analysis MemoryBuiltins.cpp

[LangRef] Allow non-void deallocation functions

CHERI has a deallocation API that is fallible and can return an error
code. That seems useful, so let's remove the requirement that
deallocation functions must return void.

Revert the deallocation part of 81dba15c0635023d9f0fc293ab941faf7c1a560,
which relied on that as a micro-optimization.
DeltaFile
+0-5llvm/lib/Analysis/MemoryBuiltins.cpp
+0-1llvm/docs/LangRef.md
+0-62 files

FreeBSD/ports 981fba2 — games/yquake2 Makefile, games/yquake2/files patch-src_common_filesystem.c

games/yquake2: Fix game.so loading

Do not load game.so shipped with games/quake2-data port
as it causes problems such as the game freezing.
Warning: the game will not load old saves after this update.

PR:             300679
Approved by:    osa, vvd (mentors, implicit)
MFH:            2026Q4

(cherry picked from commit 274ff815b97b69ec1d80b270abc435225a69d826)
DeltaFile
+1-1games/yquake2/files/patch-src_common_filesystem.c
+1-0games/yquake2/Makefile
+2-12 files

FreeBSD/ports 274ff81 — games/yquake2 Makefile, games/yquake2/files patch-src_common_filesystem.c

games/yquake2: Fix game.so loading

Do not load game.so shipped with games/quake2-data port
as it causes problems such as the game freezing.
Warning: the game will not load old saves after this update.

PR:             300679
Approved by:    osa, vvd (mentors, implicit)
MFH:            2026Q4
DeltaFile
+1-1games/yquake2/files/patch-src_common_filesystem.c
+1-0games/yquake2/Makefile
+2-12 files

LLVM/project 88c5629 — llvm/test/CodeGen/AArch64 fixed-masked-scatter.ll

[CG][NFC]Update test checks to silence bbots, NFC

Pull-request: https://github.com/llvm/llvm-project/pull/242441
DeltaFile
+134-192llvm/test/CodeGen/AArch64/fixed-masked-scatter.ll
+134-1921 files