LLVM/project ea64f82 — clang/test/CodeGenHLSL/builtins normalize.hlsl distance.hlsl, clang/test/SemaHLSL/BuiltIns length-errors.hlsl distance-errors.hlsl

[HLSL] Support long vectors in normalize, length, and distance (#239434)

Fixes #224409
Fixes #224403
Fixes #224402
DeltaFile
+36-0clang/test/CodeGenHLSL/builtins/length.hlsl
+34-0clang/test/CodeGenHLSL/builtins/distance.hlsl
+26-0clang/test/CodeGenHLSL/builtins/normalize.hlsl
+13-0clang/test/SemaHLSL/BuiltIns/geometric-long-vector.hlsl
+2-8clang/test/SemaHLSL/BuiltIns/length-errors.hlsl
+2-8clang/test/SemaHLSL/BuiltIns/distance-errors.hlsl
+113-161 files not shown
+116-167 files

FreeBSD/src e67b4c8 — sys/dev/hwpmc hwpmc_mod.c

hwpmc: release a PMC whose ID could not be copied out

If copyout of the newly allocated PMC ID fails, the caller cannot use or
release the PMC. Release it in the kernel.

Reviewed by:    mhorne
MFC after:      3 days
Sponsored by:   Advanced Micro Devices, Inc.
Differential Revision:  https://reviews.freebsd.org/D60562

(cherry picked from commit e5a48c8e0dd026ba953cf401c4dec02f76078aa2)
DeltaFile
+6-0sys/dev/hwpmc/hwpmc_mod.c
+6-01 files

FreeBSD/src 0ab6ce9 — usr.sbin/pmc cmd_pmc_stat.c

pmc(8): zero-initialize the event descriptor in stat mode

cmd_pmc_stat allocated the event descriptor with malloc and then set
only some of its fields, so the rest held whatever was on the heap.
Use calloc() instead.

Reviewed by:    mhorne
MFC after:      3 days
Sponsored by:   AMD
Signed-off-by: Andre Silva <andasilv at amd.com>
Differential Revision:  https://reviews.freebsd.org/D59364

(cherry picked from commit a97914284c2e7a7dc330f4d93218e8d7f1e758b2)
DeltaFile
+1-1usr.sbin/pmc/cmd_pmc_stat.c
+1-11 files

LLVM/project 3929a8c — llvm/include/llvm/CodeGen SelectionDAGISel.h, llvm/lib/CodeGen/SelectionDAG SelectionDAGISel.cpp

[SelectionDAG] Add selectShiftAmountMask and use it for RISC-V (NFC) (#240214)

Many targets drop a shift-amount AND that keeps every bit the shift
reads, each with its own code. This moves RISC-V's version into
`SelectionDAGISel::selectShiftAmountMask` so other targets can share it.
X86 uses it next, for #199697.

The helper looks through one truncate and an AND whose constant, with
known-zero bits, keeps the low Log2(width) bits. It sets the output only
on success. It ignores other users of the AND, so each target decides
that.

RKSimon suggested a TableGen-level fix in #199697. This shares the C++
selector behind target ComplexPatterns instead.

RISC-V output does not change.

Assisted-by: Claude Opus 5.5
DeltaFile
+33-0llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+3-28llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
+14-0llvm/include/llvm/CodeGen/SelectionDAGISel.h
+50-283 files

FreeBSD/src 494bc04 — usr.sbin/pmc cmd_pmc_stat.c

pmc(8): zero-initialize the event descriptor in stat mode

cmd_pmc_stat allocated the event descriptor with malloc and then set
only some of its fields, so the rest held whatever was on the heap.
Use calloc() instead.

Reviewed by:    mhorne
MFC after:      3 days
Sponsored by:   AMD
Signed-off-by: Andre Silva <andasilv at amd.com>
Differential Revision:  https://reviews.freebsd.org/D59364

(cherry picked from commit a97914284c2e7a7dc330f4d93218e8d7f1e758b2)
DeltaFile
+1-1usr.sbin/pmc/cmd_pmc_stat.c
+1-11 files

FreeBSD/src ebecf68 — sys/dev/hwpmc hwpmc_mod.c

hwpmc: release a PMC whose ID could not be copied out

If copyout of the newly allocated PMC ID fails, the caller cannot use or
release the PMC. Release it in the kernel.

Reviewed by:    mhorne
MFC after:      3 days
Sponsored by:   Advanced Micro Devices, Inc.
Differential Revision:  https://reviews.freebsd.org/D60562

(cherry picked from commit e5a48c8e0dd026ba953cf401c4dec02f76078aa2)
DeltaFile
+6-0sys/dev/hwpmc/hwpmc_mod.c
+6-01 files

LLVM/project ede30f6 — llvm/include/llvm/IR IRBuilder.h, llvm/include/llvm/Transforms/InstCombine InstCombiner.h

[IRBuilder] Add support for GEP canonicalization (#237255)

This implements support for GEP to ptradd canonicalization in IRBuilder:
Arbitrary GEPs will be converted into a sequence of ptradd
(getelementptr i8) or scaled ptradd (getelementptr [N x i8]).

Because this has substantial impact on existing tests, this is currently
off by default, with only InstCombine opting in via
enableGEPCanonicalization(). InstCombine already canonicalizes itself,
so this only changes a few edge-cases.

The plan is to then opt-in a few more places, then convert the opt-in to
an opt-out, and then remove the opt-out.
DeltaFile
+105-1llvm/test/Transforms/InstCombine/getelementptr.ll
+55-0llvm/lib/IR/IRBuilder.cpp
+41-8llvm/include/llvm/IR/IRBuilder.h
+5-7llvm/test/Transforms/InstCombine/scalable-vector-array.ll
+6-6llvm/test/CodeGen/AMDGPU/vector-alloca-bitcast.ll
+3-1llvm/include/llvm/Transforms/InstCombine/InstCombiner.h
+215-231 files not shown
+216-257 files

FreeBSD/src 74ec4ca — contrib/netbsd-tests/lib/libc/sys t_mlock.c

mlock_test: use mmap/munmap for unmapped pointer

Instead of hoping that the page after sbrk(0) is unmapped, map a page
with mmap and then munmap it.  This won't work with CheriABI and heap
temporal safety, but it's an easy fix for now and works on all
architectures.

Reviewed by:    ngie
Sponsored by:   DARPA, AFRL
Differential Revision:  https://reviews.freebsd.org/D46954
DeltaFile
+6-16contrib/netbsd-tests/lib/libc/sys/t_mlock.c
+6-161 files

FreeBSD/src 4a6091a — contrib/netbsd-tests/lib/libc/gen t_dir.c

libc: skip telldir_leak test

It uses sbrk to attempt to detect memory leaks in telldir, but we're not
going to export sbrk in the future and this is unreliable for mmap-based
mallocs.  It's also a regression test for a specific NetBSD bug.

Reviewed by:    ngie
Sponsored by:   DARPA, AFRL
Differential Revision:  https://reviews.freebsd.org/D46955
DeltaFile
+3-4contrib/netbsd-tests/lib/libc/gen/t_dir.c
+3-41 files

NetBSD/pkgsrc 55VrMsz — devel/hs-protolude Makefile

   devel/hs-protolude: Fix a breakage on (not-yet-committed) GHC 9.10.3
VersionDeltaFile
1.15+2-1devel/hs-protolude/Makefile
+2-11 files

FreeNAS/freenas dcda2af — src/middlewared/middlewared/test/integration/assets pool.py, tests/api2 test_audit_system.py test_draid_record_and_block_size.py

Ban `pytest.skip`
DeltaFile
+10-27tests/api2/test_zfs_resource_create.py
+4-19tests/api2/zfs_tier/test_config.py
+23-0src/middlewared/middlewared/test/integration/assets/pool.py
+5-16tests/api2/test_draid_record_and_block_size.py
+20-0tests/api2/zfs_tier/test_config_nonenterprise.py
+5-14tests/api2/test_audit_system.py
+67-7618 files not shown
+120-13124 files

FreeBSD/ports 4db7236 — comms/wsjtx Makefile, comms/wsjtx/files patch-CMakeLists.txt hamlib.patch

comms/wsjtx: Fix build on head

- Homepage has moved to https://wsjtx.github.io/wsjtx/index.html
- Sourceforge and github make no sense code has moved to github remove SF
- files/hamlib.patch files/wsjtx.patch are obsolete in this version
- jt9 needs an executable stack
- bumped PORTREVISION
- petted portlint
DeltaFile
+0-220comms/wsjtx/files/wsjtx.patch
+0-74comms/wsjtx/files/hamlib.patch
+50-1comms/wsjtx/files/patch-CMakeLists.txt
+3-3comms/wsjtx/Makefile
+53-2984 files

NetBSD/pkgsrc TQjekGB — archivers/zstd/patches patch-programs_fileio.c.orig patch-lib_decompress_huf__decompress__amd64.S.orig

   zstd: remove backup files
VersionDeltaFile
1.2+1-1archivers/zstd/patches/patch-lib_decompress_huf__decompress__amd64.S.orig
1.2+0-0archivers/zstd/patches/patch-programs_fileio.c.orig
+1-12 files

NetBSD/pkgsrc Vz32Fx6 — archivers/zstd distinfo, archivers/zstd/patches patch-programs_fileio.c.orig patch-lib_decompress_huf__decompress__amd64.S

   zstd: fix build with lz4 1.11.

   From upstream bug report.

   https://github.com/meta/zstd/issues/4897

   regen patch while here.
VersionDeltaFile
1.1+32-0archivers/zstd/patches/patch-programs_fileio.c
1.1+24-0archivers/zstd/patches/patch-lib_decompress_huf__decompress__amd64.S.orig
1.4+5-5archivers/zstd/patches/patch-lib_decompress_huf__decompress__amd64.S
1.39+3-2archivers/zstd/distinfo
1.1+0-0archivers/zstd/patches/patch-programs_fileio.c.orig
+64-75 files

LLVM/project 62a2650 — llvm/utils/gn/secondary/llvm/lib/CodeGen/SelectionDAG BUILD.gn

[gn] port 3e3ca055b0bb (SelectionDAG tablegen opts) (#240429)
DeltaFile
+10-0llvm/utils/gn/secondary/llvm/lib/CodeGen/SelectionDAG/BUILD.gn
+10-01 files

LLVM/project e2a9335 — mlir/include/mlir/Dialect/GPU/IR GPUDialect.h, mlir/include/mlir/Dialect/MemRef/IR MemRef.h

[mlir][NFC] Remove includes of headers declaring used traits and interfaces (#240404)

The generated declarations of ops, attributes, types and interfaces now
include the headers declaring the core traits and interfaces they use.
Includes that headers only had for these generated declarations are
therefore redundant. This removes them in MLIR, Flang and ClangIR.

Includes of headers that the hand-written code uses directly are kept,
even when the generated code includes them as well.

Co-authored-by: Claude <noreply at anthropic.com>
DeltaFile
+0-11mlir/include/mlir/Dialect/MemRef/IR/MemRef.h
+0-10mlir/test/lib/Dialect/Test/TestOps.h
+0-9mlir/include/mlir/Dialect/Vector/IR/VectorOps.h
+1-8mlir/include/mlir/Dialect/SCF/IR/SCF.h
+0-8mlir/include/mlir/Dialect/Tensor/IR/Tensor.h
+0-8mlir/include/mlir/Dialect/GPU/IR/GPUDialect.h
+1-5465 files not shown
+1-26671 files

LLVM/project fd626bb — lldb/test/API/commands/dwim-print TestDWIMPrint.py

fixup! [lldb][test] Build PDB test inferiors with column info
DeltaFile
+0-1lldb/test/API/commands/dwim-print/TestDWIMPrint.py
+0-11 files

LLVM/project dff6968 — clang/lib/CIR/CodeGen CIRGenExprScalar.cpp, clang/test/CIR/CodeGen vector-ext.cpp vector.cpp

[CIR] Use `cir.vec.fcmp` op for logical comparisons (#239706)
DeltaFile
+26-6clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
+6-6clang/test/CIR/CodeGen/vector-logical-long-double.cpp
+5-5clang/test/CIR/CodeGen/vector.cpp
+5-5clang/test/CIR/CodeGen/vector-strict-fp.cpp
+4-4clang/test/CIR/CodeGen/vector-ext.cpp
+46-265 files

LLVM/project f3c1281 — clang/lib/CodeGen CodeGenFunction.h CGAtomic.cpp, clang/test/OpenMP amdgpu-unsafe-fp-atomics.cpp target_atomic_device_scope.cpp

[OpenMP] Use device scope for atomic constructs on the device

OpenMP 6.0, 17.8.5 specifies that "The memscope clause determines the
binding thread set for an atomic region. If the memscope clause is not
present, the behavior is as if the memscope clause appeared on the
construct with the device scope-specifier."

Thread the sync scopes through codegen amd also add a release note
because this is changing existing behavior.
Existing behavior was overly cautios for OpenMP 5.2, too, though. The
atomic construct never specified the option of having system-level
scope. This only came with the memscope clause and it's "all"
scope-specifier.

Claude assisted with this patch.
DeltaFile
+130-0clang/test/OpenMP/target_atomic_device_scope.cpp
+24-9clang/lib/CodeGen/CGStmtOpenMP.cpp
+16-11clang/lib/CodeGen/CGAtomic.cpp
+11-10llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+8-8clang/test/OpenMP/amdgpu-unsafe-fp-atomics.cpp
+6-3clang/lib/CodeGen/CodeGenFunction.h
+195-413 files not shown
+205-459 files

LLVM/project 1ae7bb5 — mlir/include/mlir/Dialect/XeGPU/uArch uArchBase.h, mlir/test/Dialect/XeGPU propagate-layout-inst-data.mlir peephole-optimize.mlir

[MLIR][XeGPU] Limit transposed 2D block load height to 16 (#239469)

The hardware supports transposed 2D block loads with height 16 or 32,
but a 32-row tile does not align with the DPAS layout. Limit the
8/16/32-bit transposed block load entries in the uArch table to height
16.

Layout propagation now falls back to inst_data [16, 8] for a transposed
i32 load whose consumer asks for 32 rows, and the peephole optimizer
splits 32-row transposed loads into two 16-row loads.

Add a propagate-layout-inst-data test covering the fallback, and update
the peephole-optimize CHECK lines for the split loads.

assisted-by-claude

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+51-22mlir/test/Dialect/XeGPU/peephole-optimize.mlir
+22-0mlir/test/Dialect/XeGPU/propagate-layout-inst-data.mlir
+5-3mlir/include/mlir/Dialect/XeGPU/uArch/uArchBase.h
+78-253 files

NetBSD/pkgsrc-wip faa0c01 — burp Makefile

Forgot a PKG_SYSCONFDIR used within manpages.
DeltaFile
+3-1burp/Makefile
+3-11 files

LLVM/project f8ff80a — clang/lib/CodeGen CGStmtOpenMP.cpp, clang/test/OpenMP amdgpu-unsafe-fp-atomics.cpp

[OpenMP][clang] Apply atomic options to atomic compare

Thread denormal mode, fine-grained memory and remote memory options
through for atomic compare directivs.

Claude assisted with this patch.
DeltaFile
+26-14llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+40-0clang/test/OpenMP/amdgpu-unsafe-fp-atomics.cpp
+10-2llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
+10-2clang/lib/CodeGen/CGStmtOpenMP.cpp
+86-184 files

LLVM/project 6ae787b — clang/include/clang/Lex ModuleMap.h, clang/lib/Lex ModuleMap.cpp

[clang][Lex][NFC] Remove unused ShadowModules (#239938)

`ModulesAlloc` manages module lifetimes, making `ShadowModules`
redundant.
DeltaFile
+0-3clang/include/clang/Lex/ModuleMap.h
+0-1clang/lib/Lex/ModuleMap.cpp
+0-42 files

LLVM/project a182f80 — llvm/lib/Target/AMDGPU SIFoldOperands.cpp

[AMDGPU] Remove V_CNDMASK_B64_PSEUDO handling from SIFoldOperands. NFC. (#240324)

This is dead because the pseudo always gets expanded earlier, and broken
because it would have used V_MOV_B32 to move a 64-bit value.
DeltaFile
+1-2llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
+1-21 files

NetBSD/pkgsrc-wip 1863e58 — trafficserver distinfo, trafficserver/patches patch-tsmemcache.cc patch-swoc_file.h

trafficserver: Add logic to check if NetBSD's accept filter is loaded

Also cleanup other patch files per pkgsrc guide.
DeltaFile
+26-24trafficserver/patches/patch-Server.cc
+0-18trafficserver/patches/patch-ink_inet.cc
+5-6trafficserver/distinfo
+4-5trafficserver/patches/patch-DbgCtl.h
+3-3trafficserver/patches/patch-swoc_file.h
+2-2trafficserver/patches/patch-tsmemcache.cc
+40-581 files not shown
+41-597 files

FreeBSD/src 488bf44 — sys/netipsec key.c

netipsec: Do not leak the SAH when an SA is cloned

key_updateaddresses() gives the clone of an SA a new SAH reference when
the SA index comes from key_newsah() or key_getsah(), but nothing
releases the reference of the old SA: key_delsav() leaves the SAH alone,
because key_unlinksav() normally releases it, and an SA that is replaced
never goes through that.  The SAH then stays allocated for good, after
its SAs are flushed and after the vnet is destroyed, as an SADB_UPDATE
with a new address does each time an IKE daemon moves an SA.

The old SA cannot release the reference when it is replaced, since a
sender that still holds it reads its SAH.  Release it in key_delsav()
instead.  When only the NAT-T config changes, the clone used to take over
the reference of the old SA; take a new one in that case as well, so that
every SA holds its own.

Reviewed by:            kib, markj
MFC after:              1 week
Sponsored by:           Rubicon Communications, LLC ("Netgate")
Differential Revision:  https://reviews.freebsd.org/D61101
DeltaFile
+7-3sys/netipsec/key.c
+7-31 files

LLVM/project 5f4db49 — libc/src/__support/threads thread.h, libc/src/__support/threads/linux futex_utils.h thread.cpp

[libc] Apply scheduler attributes on thread creation (#225674)

POSIX specifies that pthread_create should apply the scheduling policy
and parameters given in the attributes object (if PTHREAD_EXPLICIT_SCHED
is set). Linux's clone syscall doesn't support setting scheduling
parameters directly, so we have to apply them from userspace via
sched_setscheduler after the thread is created.

To make sure the thread doesn't start running user code with the wrong
scheduling parameters (and to allow returning an error if
sched_setscheduler fails without leaving a half-running thread), I've
added a startup handshake using the clear_tid futex on the child stack:
- the child waits on the futex if explicit scheduling was requested
- the parent calls setschedparam, and then signals the child to either
continue (running) or abort (exit)
- if the call fails, the child exits immediately, the parent reaps it
via Thread::wait(), and returns the error code to the caller

Assisted-by: Gemini
DeltaFile
+234-0libc/test/integration/src/pthread/pthread_create_test.cpp
+53-9libc/src/__support/threads/linux/thread.cpp
+22-0libc/src/__support/threads/linux/futex_utils.h
+16-2libc/src/pthread/pthread_create.cpp
+6-4libc/src/__support/threads/thread.h
+7-0libc/test/integration/src/pthread/CMakeLists.txt
+338-152 files not shown
+340-158 files

LLVM/project 41e035a — clang/docs ReleaseNotes.md, clang/lib/CodeGen CGStmtOpenMP.cpp

[OpenMP][clang] Add ompx_fast_fp_atomics and ompx_safe_fp_atomics hints

Add omp_sync_hint_t extensions that override
-f[no-]atomic-ignore-denormal-mode (-m[no-]unsafe-fp-atomics) for a single
atomic construct. The safe hint takes precedence if both are given.

This is an upstreaming/copy-paste of downstream code and release notes.

Claude assisted with this patch.
DeltaFile
+71-0clang/test/OpenMP/amdgpu-unsafe-fp-atomics.cpp
+20-0clang/lib/CodeGen/CGStmtOpenMP.cpp
+4-1openmp/runtime/src/include/omp.h.var
+4-0clang/docs/ReleaseNotes.md
+99-14 files

LLVM/project 98d77d7 — libc/src/__support checked_ptr.h, libc/src/__support/regex regex_parser.cpp regex_expr_pool.h

[libc] Use CheckedPtr/make_unique in the regex code (#238366)

The regex code was written before we had unique_ptr, and so it did all
of its memory management by hand (AllocChecker + new/delete, with
scope_exit guards for the error paths). This replaces that with
make_unique, and stores the results in cpp::unique_ptr members.

Specific changes:
- ExprPool now holds its blocks, byte sets and hash table in
unique_ptr<T[]> members, which means the destructor can be defaulted.
Since unique_ptr does not know the size of the array, the capacity of
each array is now tracked in a separate field (previously it was implied
by the span size).
- make_unique<T[]> value-initializes the array, so the explicit
inline_memset of the hash table is gone.
- ParsedAtomStack and regcomp no longer need scope guards to clean up on
the error paths.

regfree still does a plain delete, as regex_t::__internal is a void

    [18 lines not shown]
DeltaFile
+36-66libc/src/__support/regex/regex_expr_pool.cpp
+101-1libc/test/src/__support/checked_ptr_test.cpp
+50-1libc/src/__support/checked_ptr.h
+22-19libc/src/__support/regex/regex_expr_pool.h
+17-18libc/src/__support/regex/regex_parser.cpp
+4-12libc/src/regex/regcomp.cpp
+230-1173 files not shown
+235-1299 files

NetBSD/pkgsrc mOj7OG0 — doc CHANGES-2026

   doc: Updated databases/php-mongodb to 1.21.13
VersionDeltaFile
1.7874+2-1doc/CHANGES-2026
+2-11 files