LLVM/project f6afd52 — mlir/lib/Dialect/XeGPU/IR XeGPUDialect.cpp, mlir/test/Dialect/XeGPU propagate-layout-subgroup.mlir

[mlir][XeGPU] Fix parent permutation for sliced layout transposes (#245818)

When transposing a SliceAttr, the permutation over the visible dims was
lifted to the parent layout incorrectly: sliced (hidden) dims were
moved, but the slice dims were left unchanged, so the wrong parent dims
ended up hidden and the effective data distribution changed (even an
identity transpose altered the layout). Keep sliced dims fixed and
permute only the visible parent dims. Add a regression test for layout
propagation through a transpose and broadcast chain.

This change was created with the help of Claude.

---------

Co-authored-by: Claude <noreply at anthropic.com>
DeltaFile
+15-25mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp
+22-1mlir/test/Dialect/XeGPU/propagate-layout-subgroup.mlir
+37-262 files

LLVM/project ad553d5 — llvm/lib/Target/AMDGPU GCNSchedStrategy.cpp, llvm/test/CodeGen/AMDGPU schedule-pressure-implicit-physreg-use.mir early-if-convert-cost.ll

AMDGPU: Don't use PressureDiffs with implicit allocatable physregs (#230916)

canUsePressureDiffs skipped all implicit operands, so instructions
reading an allocatable physreg implicitly (e.g., vcc on v_cndmask_b32)
used the cached PressureDiff. PressureDiffs assume a single use for
physregs (see the FIXME in ScheduleDAGMILive::updatePressureDiffs), so
the pressure was added for each user. With several users in a region,
the SGPR pressure was overestimated and failed the expensive checks pressure
validation.

Fall back to the RegPressureTracker for implicit operands of
allocatable physregs, which are the ones it tracks.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+77-0llvm/test/CodeGen/AMDGPU/early-if-convert-cost.ll
+50-0llvm/test/CodeGen/AMDGPU/schedule-pressure-implicit-physreg-use.mir
+14-7llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
+141-73 files

FreeBSD/ports 0ae803d — devel/py-pycodestyle distinfo Makefile

devel/py-pycodestyle: Update 2.14.0 => 2.15.0

Changelog:
https://github.com/PyCQA/pycodestyle/blob/2.15.0/CHANGES.txt

While here, switch to PEP517 for build.

PR:     301502
DeltaFile
+5-2devel/py-pycodestyle/Makefile
+3-3devel/py-pycodestyle/distinfo
+8-52 files

FreeBSD/src 747fdb1 — lib/libc/stdio vfwscanf.c, lib/libc/tests/stdio swscanf_test.c sscanf_test.c

stdio: Fix negated wchar scansets

We were recording the start of the scanset before checking if it began
with a caret.  We need to check for a caret first, then record whatever
comes next as the start of the scanset.

Note that scanf() did not have this bug, only wscanf(), but this adds
regression tests for both anyway.

MFC after:      1 week
Reviewed by:    emaste
Differential Revision:  https://reviews.freebsd.org/D62328

(cherry picked from commit 71c723518d22b2ae9c9c7819aa2625af3532bba5)

stdio: Fix typo in scanset test

Fixes:          71c723518d22 ("stdio: Fix negated wchar scansets")
(cherry picked from commit c5917853354369d9537c5a5aee4f0d2854325ed4)
DeltaFile
+3-2lib/libc/stdio/vfwscanf.c
+5-0lib/libc/tests/stdio/swscanf_test.c
+5-0lib/libc/tests/stdio/sscanf_test.c
+13-23 files

FreeBSD/src 3540018 — lib/libc/tests/stdio swprintf_test.c snprintf_test.c

tests: Simplify printf tests

ATF can now directly compare wchar strings.

MFC after:      1 week
Reviewed by:    ngie
Differential Revision:  https://reviews.freebsd.org/D61617

(cherry picked from commit c855b9431ffc1af81b2a135bcce4da5fb6b4f943)
DeltaFile
+2-2lib/libc/tests/stdio/swprintf_test.c
+2-2lib/libc/tests/stdio/snprintf_test.c
+4-42 files

FreeBSD/src b1a136b — lib/libc/stdio vfwscanf.c vfscanf.c

stdio: Handle unterminated scansets

In both vfscanf() and vfwscanf(), if the end of the format string was
reached before the closing bracket of a scanset, we treated the NUL as
the closing bracket and continued to read beyond the end of the format
string.  Add an error check to catch this case.

MFC after:      1 week
Reported by:    Nick L. Leppelmeier <nicklpmr at gmail.com>
Reviewed by:    kevans, emaste
Differential Revision:  https://reviews.freebsd.org/D62199

(cherry picked from commit c5e0899d9908da5935cfaaade073d6911880fcb5)
DeltaFile
+4-2lib/libc/stdio/vfscanf.c
+2-0lib/libc/stdio/vfwscanf.c
+6-22 files

FreeBSD/src 48c9259 — lib/libc/tests/stdio swscanf_test.c sscanf_test.c

stdio: Add test cases for scansets

Add test cases that exercise scanf() / wscanf() scansets, including
hyphenated ranges and the missing closing bracket bug we recently fixed.

MFC after:      1 week
Reviewed by:    kevans, emaste
Differential Revision:  https://reviews.freebsd.org/D62201

(cherry picked from commit c24ab9f32d9bb63b426f346cb5f28c00e63922c2)
DeltaFile
+55-0lib/libc/tests/stdio/swscanf_test.c
+55-0lib/libc/tests/stdio/sscanf_test.c
+110-02 files

FreeBSD/src 5c844a0 — lib/libc/stdio vfwscanf.c

stdio: Implement ranges for wchar scansets

The C and POSIX standards allow but do not require hyphenated ranges to
be supported in scanf() / wscanf() scansets.  We implemented them for
scanf() but not for wscanf().  Do so using similar logic as for scanf().
This is hard to do efficiently for wide characters, which can in theory
span the full 32-bit range (and even the actual range of about 1 million
Unicode codepoints is difficult to handle), so we don't try to be
efficient, but just focus on producing the same results for wscanf() as
for scanf().

MFC after:      1 week
Reviewed by:    kevans, emaste
Differential Revision:  https://reviews.freebsd.org/D62200

(cherry picked from commit 50eb68efcb473c8c20c016d618a8cd674d3706dc)

stdio: Use correct comparison function


    [2 lines not shown]
DeltaFile
+40-6lib/libc/stdio/vfwscanf.c
+40-61 files

FreeBSD/src 8067820 — lib/libc/stdio vfwscanf.c, lib/libc/tests/stdio swscanf_test.c sscanf_test.c

stdio: Fix negated wchar scansets

We were recording the start of the scanset before checking if it began
with a caret.  We need to check for a caret first, then record whatever
comes next as the start of the scanset.

Note that scanf() did not have this bug, only wscanf(), but this adds
regression tests for both anyway.

MFC after:      1 week
Reviewed by:    emaste
Differential Revision:  https://reviews.freebsd.org/D62328

(cherry picked from commit 71c723518d22b2ae9c9c7819aa2625af3532bba5)

stdio: Fix typo in scanset test

Fixes:          71c723518d22 ("stdio: Fix negated wchar scansets")
(cherry picked from commit c5917853354369d9537c5a5aee4f0d2854325ed4)
DeltaFile
+3-2lib/libc/stdio/vfwscanf.c
+5-0lib/libc/tests/stdio/swscanf_test.c
+5-0lib/libc/tests/stdio/sscanf_test.c
+13-23 files

FreeBSD/src 71e480d — lib/libc/stdio vfwscanf.c

stdio: Implement ranges for wchar scansets

The C and POSIX standards allow but do not require hyphenated ranges to
be supported in scanf() / wscanf() scansets.  We implemented them for
scanf() but not for wscanf().  Do so using similar logic as for scanf().
This is hard to do efficiently for wide characters, which can in theory
span the full 32-bit range (and even the actual range of about 1 million
Unicode codepoints is difficult to handle), so we don't try to be
efficient, but just focus on producing the same results for wscanf() as
for scanf().

MFC after:      1 week
Reviewed by:    kevans, emaste
Differential Revision:  https://reviews.freebsd.org/D62200

(cherry picked from commit 50eb68efcb473c8c20c016d618a8cd674d3706dc)

stdio: Use correct comparison function


    [2 lines not shown]
DeltaFile
+40-6lib/libc/stdio/vfwscanf.c
+40-61 files

FreeBSD/src 57318b7 — lib/libc/stdio vfwscanf.c vfscanf.c

stdio: Handle unterminated scansets

In both vfscanf() and vfwscanf(), if the end of the format string was
reached before the closing bracket of a scanset, we treated the NUL as
the closing bracket and continued to read beyond the end of the format
string.  Add an error check to catch this case.

MFC after:      1 week
Reported by:    Nick L. Leppelmeier <nicklpmr at gmail.com>
Reviewed by:    kevans, emaste
Differential Revision:  https://reviews.freebsd.org/D62199

(cherry picked from commit c5e0899d9908da5935cfaaade073d6911880fcb5)
DeltaFile
+4-2lib/libc/stdio/vfscanf.c
+2-0lib/libc/stdio/vfwscanf.c
+6-22 files

FreeBSD/src bc41f99 — lib/libc/tests/stdio swprintf_test.c snprintf_test.c

tests: Simplify printf tests

ATF can now directly compare wchar strings.

MFC after:      1 week
Reviewed by:    ngie
Differential Revision:  https://reviews.freebsd.org/D61617

(cherry picked from commit c855b9431ffc1af81b2a135bcce4da5fb6b4f943)
DeltaFile
+2-2lib/libc/tests/stdio/swprintf_test.c
+2-2lib/libc/tests/stdio/snprintf_test.c
+4-42 files

FreeBSD/src 0158ac0 — lib/libc/tests/stdio swscanf_test.c sscanf_test.c

stdio: Add test cases for scansets

Add test cases that exercise scanf() / wscanf() scansets, including
hyphenated ranges and the missing closing bracket bug we recently fixed.

MFC after:      1 week
Reviewed by:    kevans, emaste
Differential Revision:  https://reviews.freebsd.org/D62201

(cherry picked from commit c24ab9f32d9bb63b426f346cb5f28c00e63922c2)
DeltaFile
+55-0lib/libc/tests/stdio/swscanf_test.c
+55-0lib/libc/tests/stdio/sscanf_test.c
+110-02 files

NetBSD/pkgsrc cSUL6nI — doc CHANGES-pkgsrc-2026Q3

   pullups 7408 7409 7421 7424 7425 7427
VersionDeltaFile
1.1.2.14+20-1doc/CHANGES-pkgsrc-2026Q3
+20-11 files

FreeBSD/ports 1f7387e — www/mattermost-server Makefile distinfo

www/mattermost-server: Update to 11.7.16
DeltaFile
+3-3www/mattermost-server/distinfo
+1-2www/mattermost-server/Makefile
+4-52 files

LLVM/project 83ea1e8 — llvm/lib/Target/X86 X86FixupBWInsts.cpp, llvm/test/CodeGen/X86 fixup-bw-reserved.mir

[X86] Don't widen byte and word moves into reserved registers (#248669)

Upper bits of the 32-bit register can get clobbered by X86FixupBWInsts
widening a byte or word write for the stack pointer. For example,

```
%v = load volatile i16, ptr %p
call void asm sideeffect "", "{sp}"(i16 %v)
```

reaches the pass as a MOV16rm into $sp, which is widened to `movzwl
(%rdi), %esp` instead of `movw (%rdi), %sp`, overwriting bits 16-31 of
%rsp and clearing bits 32-63. Copies, loads, and 16-bit extends are all
affected.

getSuperRegDestIfDead now treats a reserved destination as live.
DeltaFile
+82-0llvm/test/CodeGen/X86/fixup-bw-reserved.mir
+5-0llvm/lib/Target/X86/X86FixupBWInsts.cpp
+87-02 files

LLVM/project 74d3b00 — llvm/lib/Target/X86 X86.td X86TargetTransformInfo.cpp, llvm/test/Analysis/CostModel/X86 arith-fp.ll

[X86] Add tuning for fast AVX2 vector FP division and sqrt (#219873)

Some microarchitectures have no significant performance penalty when using
256-bit `VDIVPS`/`VDIVPD` and `VSQRTPS`/`VSQRTPD` instructions instead
of their 128-bit counterparts.

Add the `fast-vector-fp256` tuning feature to model this behavior and
enable it for the C86-4G-M4 tuning configuration. The feature is also inherited by
the C86-4G-M6, C86-4G-M7, and C86-4G-M8 tuning configurations.

Other targets are intentionally left alone for now; they can be opted in
on a case-by-case basis as their tuning data becomes available.

## Changes

- Add the `TuningFastVectorFP256` subtarget feature.
- Add lower AVX2 TTI costs for 256-bit vector `fdiv`/`fsqrt` on targets with `fast-vector-fp256`:
  - `fdiv v8f32`: throughput/latency from `14/21` to `7/13`.
  - `fdiv v4f64`: throughput/latency from `28/35` to `14/20`.
  - `fsqrt v8f32`: throughput/latency from `14/21` to `7/15`.
  - `fsqrt v4f64`: throughput/latency from `28/35` to `14/21`.
DeltaFile
+44-21llvm/test/Analysis/CostModel/X86/arith-fp.ll
+20-13llvm/test/Transforms/SLPVectorizer/X86/alternate-fp.ll
+23-0llvm/lib/Target/X86/X86TargetTransformInfo.cpp
+7-0llvm/test/Transforms/SLPVectorizer/X86/alternate-fp-inseltpoison.ll
+7-0llvm/lib/Target/X86/X86.td
+101-345 files

LLVM/project 9d1b545 — clang/lib/Driver/ToolChains AMDGPU.cpp, clang/test/Driver amdgpu-features.c

clang/AMDGPU: Error on -mwavefrontsize64 for wave32-only targets

-mwavefrontsize64 was forwarded as +wavefrontsize64 regardless of the
support. Compiling rejected it later in the target setup, but the
assembler silently accepted it. Diagnose it in the driver instead.

Assisted-by: Claude
DeltaFile
+10-0clang/test/Driver/amdgpu-features.c
+9-0clang/lib/Driver/ToolChains/AMDGPU.cpp
+19-02 files

NetBSD/pkgsrc w2Lqnep — archivers/py-brotli distinfo Makefile

   Pullup ticket #7427 - requested by kim
   archivers/py-brotli: security update

   Revisions pulled up:
   - archivers/py-brotli/Makefile                                  1.11-1.12
   - archivers/py-brotli/distinfo                                  1.8

   ---
      Module Name:    pkgsrc
      Committed By:   adam
      Date:           Thu Oct 22 16:31:42 UTC 2026

      Modified Files:
              pkgsrc/archivers/py-brotli: Makefile distinfo

      Log Message:
      py-brotli: updated to 1.2.1

      1.2.1

    [21 lines not shown]
VersionDeltaFile
1.10.8.1+11-4archivers/py-brotli/Makefile
1.7.8.1+4-4archivers/py-brotli/distinfo
+15-82 files

LLVM/project 7cc3c5a — libc/src/__support/math rsqrtbf16.h, libc/src/math rsqrtbf16.h

[libc][math] Adds rsqrtbf16 higher math function for bfloat16 type (#235422)

resolves https://github.com/llvm/llvm-project/issues/233205

part of https://github.com/llvm/llvm-project/issues/233205

This PR intends to add rsqrtbf16 higher math function for bfloat16 type.

---------

Co-authored-by: Kazu Hirata <kazu at google.com>
DeltaFile
+70-0libc/src/__support/math/rsqrtbf16.h
+49-0libc/test/src/math/smoke/RsqrtTest.h
+49-0libc/test/src/math/rsqrtbf16_test.cpp
+26-0libc/src/math/rsqrtbf16.h
+23-0libc/src/math/generic/rsqrtbf16.cpp
+18-0libc/test/src/math/smoke/rsqrtbf16_test.cpp
+235-019 files not shown
+302-025 files

FreeBSD/src 122e077 — share/man/man4 apex.4, sys/amd64/conf NOTES

apex: add a driver for the Google Apex Edge TPU

The Apex is the accelerator on Coral PCI Express and M.2 modules,
appearing as 1ac1:089a
Google's Linux driver left staging in 5.16 and the out of tree
repository was archived; no BSD has had one.

Tested on: amd64, Coral M.2 Accelerator, running MobileNet v1
with the TensorFlow Lite 2.16 and LiteRT runtimes

Reviewed by:    ziaee, adrian
Differential Revision:  https://reviews.freebsd.org/D58563
DeltaFile
+1,154-0sys/dev/apex/apex.c
+143-0sys/dev/apex/apexreg.h
+101-0share/man/man4/apex.4
+39-0sys/dev/apex/apex_ioctl.h
+8-0sys/modules/apex/Makefile
+6-0sys/amd64/conf/NOTES
+1,451-05 files not shown
+1,462-011 files

FreeBSD/src 207a5f0 — sys/dev/gasket gasket_dma.c gasket_core.c

gasket: add a framework for Google accelerator ASICs

Gasket is Google's name for the layer their accelerator drivers share:
Google ASIC Software, Kernel Extensions, and Tools. The chips differ,
but they present the same shape to the host. A control register BAR
with a few windows user space may map, an on-chip page table the host
fills in so the device can reach host memory, and a block of MSI-X
vectors.

Reviewed by:    ziaee, adrian
Differential Revision:  https://reviews.freebsd.org/D58561
DeltaFile
+536-0sys/dev/gasket/gasket_chardev.c
+428-0sys/dev/gasket/gasket_ptbl_alloc.c
+417-0sys/dev/gasket/gasket_page_table.c
+369-0sys/dev/gasket/gasket_mmap.c
+263-0sys/dev/gasket/gasket_core.c
+176-0sys/dev/gasket/gasket_dma.c
+2,189-015 files not shown
+3,043-021 files

LLVM/project 96bcde8 — llvm/lib/Transforms/Scalar GVN.cpp

[GVN] Pass ArrayRef in scanMemoryAccessesUsers. NFC (#249158)
DeltaFile
+11-12llvm/lib/Transforms/Scalar/GVN.cpp
+11-121 files

NetBSD/pkgsrc 8HQIdU9 — emulators/dosbox-x Makefile

   Pullup ticket #7425 - requested by nia
   emulators/dosbox-x: functionality fix

   Revisions pulled up:
   - emulators/dosbox-x/Makefile                                   1.61

   ---
      Module Name:      pkgsrc
      Committed By:     nia
      Date:             Sun Nov 29 13:08:06 UTC 2026

      Modified Files:
        pkgsrc/emulators/dosbox-x: Makefile

      Log Message:
      dosbox-x: Avoid runtime text relocations on NetBSD/i386

      PR pkg/61089 dosbox, dosbox-x fail to start on netbsd/i386
VersionDeltaFile
1.57.2.1+8-2emulators/dosbox-x/Makefile
+8-21 files

LLVM/project 07db8ec — mlir/include/mlir/Dialect/LLVMIR LLVMOps.td, mlir/test/Dialect/LLVMIR cse.mlir

[mlir][LLVM] Mark and/or/xor/fadd/fmul as Commutative (#248882)

LLVM IR treats Add, FAdd, Mul, FMul, And, Or and Xor as commutative
(Instruction::isCommutative()), but in the LLVM dialect only llvm.add
and llvm.mul carry the Commutative trait. As a result, CSE fails to
merge e.g. `llvm.and %a, %b` and `llvm.and %b, %a`.

Add the Commutative trait to the remaining ops.

Fixes: https://github.com/llvm/llvm-project/issues/248815
DeltaFile
+56-0mlir/test/Dialect/LLVMIR/cse.mlir
+6-5mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
+62-52 files

NetBSD/pkgsrc zQhmKFk — editors/xwpe Makefile

   xwpe: add missing tool

   Fix linking, see PR 61079.
VersionDeltaFile
1.21+5-2editors/xwpe/Makefile
+5-21 files

NetBSD/pkgsrc rqEQM3D — doc CHANGES-2026

   doc: Updated graphics/mesa to 26.3.1nb3
VersionDeltaFile
1.8744+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc fdhhi9u — graphics/mesa distinfo Makefile, graphics/mesa/patches patch-src_egl_drivers_dri2_platform__x11.c

   mesa: fix a bug in EGL/DRI2

   The lower half of e.g. a wezterm was black because (new from 21 to 26)
   clamping used outdated values.

   Bump PKGREVISION.
VersionDeltaFile
1.1+43-0graphics/mesa/patches/patch-src_egl_drivers_dri2_platform__x11.c
1.11+2-2graphics/mesa/Makefile
1.10+2-1graphics/mesa/distinfo
+47-33 files

FreeBSD/ports b59674f — www/mattermost-webapp Makefile distinfo

www/mattermost-webapp: Update to 11.7.16
DeltaFile
+56-54www/mattermost-webapp/pkg-plist
+3-3www/mattermost-webapp/distinfo
+1-1www/mattermost-webapp/Makefile
+60-583 files

NetBSD/pkgsrc-wip 9a7f7c5 — . Makefile, wikiman COMMIT_MSG distinfo

wikiman: add version 2.14.1
DeltaFile
+62-0wikiman/Makefile
+17-0wikiman/PLIST
+5-0wikiman/distinfo
+5-0wikiman/DESCR
+3-0wikiman/COMMIT_MSG
+1-0Makefile
+93-06 files