HardenedBSD/src 15cdab4sys/dev/asmc asmcvar.h asmc.c, sys/dev/usb/wlan if_mtw.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+35-0sys/dev/asmc/asmcvar.h
+27-6sys/dev/usb/wlan/if_mtw.c
+7-0sys/dev/asmc/asmc.c
+69-63 files

LLVM/project 0ae23callvm/lib/Transforms/Vectorize VPlanTransforms.cpp VPlanTransforms.h

[VPlan] Split out optimizeEVLMasks. NFC (#174925)

Addresses part of #153144 and splits off part of #166164

There are two parts to the EVL transform:

1) Convert the loop so the number of elements processed each iteration
is EVL, not VF. The IV and header mask are replaced with EVL-based
variants.
2) Optimize users of the EVL based header mask to VP intrinsic based
recipes.

(1) changes the semantics of the vector loop region, whereas (2) needs
to preserve them. This splits (2) out so we don't mix the two up, and
allows us to move (1) earlier in the pipeline in a future PR.
DeltaFile
+58-49llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+9-0llvm/lib/Transforms/Vectorize/VPlanTransforms.h
+4-2llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+5-0llvm/lib/Transforms/Vectorize/VPlanPatternMatch.h
+76-514 files

LLVM/project 8eb23a6llvm/utils profcheck-xfail.txt

Update profcheck-xfail.txt
DeltaFile
+0-2llvm/utils/profcheck-xfail.txt
+0-21 files

OpenBSD/ports SYuB4t9net/py-geventhttpclient distinfo Makefile

   Update to py3-geventhttpclient-2.3.7.
VersionDeltaFile
1.7+4-4net/py-geventhttpclient/distinfo
1.24+1-2net/py-geventhttpclient/Makefile
+5-62 files

NetBSD/pkgsrc YzKbi2llang/rust distinfo, lang/rust/patches patch-src_bootstrap_src_lib.rs

   irust: restore v1.8 of patch-src_bootstrap_src_lib.rs

   Requested by tnn.
VersionDeltaFile
1.10+20-5lang/rust/patches/patch-src_bootstrap_src_lib.rs
1.195+2-2lang/rust/distinfo
+22-72 files

OpenBSD/ports MvntPqtmail/mozilla-thunderbird distinfo Makefile, mail/mozilla-thunderbird/patches patch-toolkit_system_gnome_nsAlertsIconListener_cpp

   mail/mozilla-thunderbird: update to 140.7.0.

   see https://www.thunderbird.net/en-US/thunderbird/140.7.0esr/releasenotes/
   fixes https://www.mozilla.org/en-US/security/advisories/mfsa2026-03/
   drop patch from #1999324, merged upstream
VersionDeltaFile
1.289+132-132mail/thunderbird-i18n/distinfo
1.305+2-2mail/mozilla-thunderbird/distinfo
1.517+1-1mail/mozilla-thunderbird/Makefile
1.263+1-1mail/thunderbird-i18n/Makefile.inc
1.2+0-0mail/mozilla-thunderbird/patches/patch-toolkit_system_gnome_nsAlertsIconListener_cpp
+136-1365 files

OpenBSD/ports CL9Hqgygraphics/png distinfo Makefile

   Update to png 1.6.54. Fixes CVE-2026-22695 CVE-2026-22801 ok kn@ sthen@.
VersionDeltaFile
1.72.2.3+2-2graphics/png/distinfo
1.143.2.3+1-1graphics/png/Makefile
+3-32 files

LLVM/project d927768flang/lib/Lower/OpenMP OpenMP.cpp

fix adding numThreadsNumDims to ParallelOperands apply method
DeltaFile
+1-0flang/lib/Lower/OpenMP/OpenMP.cpp
+1-01 files

OpenBSD/ports ssFEg3Bdevel/p5-File-MimeInfo Makefile distinfo

   Update to p5-File-MimeInfo-0.36.
VersionDeltaFile
1.27+3-1devel/p5-File-MimeInfo/Makefile
1.16+2-2devel/p5-File-MimeInfo/distinfo
+5-32 files

OpenBSD/ports cnYwawgdevel/p5-File-DesktopEntry distinfo Makefile

   Update to p5-File-DesktopEntry-0.23.
VersionDeltaFile
1.9+2-2devel/p5-File-DesktopEntry/distinfo
1.19+1-2devel/p5-File-DesktopEntry/Makefile
+3-42 files

OpenBSD/ports HL1X2iCgraphics/png distinfo Makefile

   Update to png 1.6.54. Fixes CVE-2026-22695 CVE-2026-22801 ok kn@ sthen@.
VersionDeltaFile
1.75+2-2graphics/png/distinfo
1.146+1-1graphics/png/Makefile
+3-32 files

LLVM/project fc81a66mlir/include/mlir/Dialect/Linalg/Utils Utils.h, mlir/lib/Dialect/Linalg/Transforms Specialize.cpp

[NFC][Linalg] Add `matchConvolutionOpOfType` API and make `isaConvolutionOpOfType` API a wrapper (#174722)

-- This commit involves the following updates pertaining to
`isaConvolutionOpOfType` API :-
1. We don't want dilations/strides of convolution op to be returned as
pointer arguments to the API function - to tackle this we create a new
API `matchConvolutionOpOfType` which would return an optional struct of
dilations/stride.
2. To not break the original API's use case as a simple querying
functionality with true/false return - we keep `isaConvolutionOpOfType`
as a wrapper API which will invoke `matchConvolutionOpOfType` API and
return true/false depending on whether `matchConvolutionOpOfType` API
returned any value or not.
3. Dilations/strides of named convolution op are also populated now (it
was missed in the previous PRs while creating `isaConvolutionOpOfType`).
4. [Max/Min]UnsignedPool ops' body matcher now only matches unsigned int
ops (refer: https://github.com/llvm/llvm-project/pull/166070)

-- No tests are being added as all the above are NFC changes around the

    [2 lines not shown]
DeltaFile
+956-617mlir/lib/Dialect/Linalg/Utils/Utils.cpp
+19-5mlir/include/mlir/Dialect/Linalg/Utils/Utils.h
+4-4mlir/lib/Dialect/Linalg/Transforms/Specialize.cpp
+979-6263 files

OpenBSD/ports muNv5F9astro/py-astropy-iers-data distinfo Makefile

   Update to py3-astropy-iers-data-0.2026.1.12.0.42.13.
VersionDeltaFile
1.19+2-2astro/py-astropy-iers-data/distinfo
1.21+1-1astro/py-astropy-iers-data/Makefile
+3-32 files

LLVM/project d186277mlir/lib/Dialect/Bufferization/IR BufferizationOps.cpp, mlir/test/Dialect/Bufferization canonicalize.mlir

[MLIR][Bufferization] Fold LoadOp only when the buffer is read only (#172595)

When we `memref.load` from a buffer, it folded to `tensor.extract` even
when the buffer was writable, causing unexpected results. For example:

```mlir
func.func @load_after_write_from_buffer_cast(%arg0: index, %arg1: index,
                            %arg2: tensor<?x?xf32>) -> f32 {
  %0 = bufferization.to_buffer %arg2 : tensor<?x?xf32> to memref<?x?xf32>
  linalg.ceil ins(%0 : memref<?x?xf32>) outs(%0 : memref<?x?xf32>)
  %1 = memref.load %0[%arg0, %arg1] : memref<?x?xf32>
  return %1 : f32
}
```
would fold into
```mlir
module {
  func.func @load_after_write_from_buffer_cast(%arg0: index, %arg1: index, %arg2: tensor<?x?xf32>) -> f32 {
    %0 = bufferization.to_buffer %arg2 : tensor<?x?xf32> to memref<?x?xf32>

    [5 lines not shown]
DeltaFile
+19-1mlir/test/Dialect/Bufferization/canonicalize.mlir
+2-2mlir/test/Dialect/SparseTensor/sparse_perm_lower.mlir
+2-1mlir/test/Dialect/SparseTensor/fuse_sparse_pad_with_consumer.mlir
+1-1mlir/lib/Dialect/Bufferization/IR/BufferizationOps.cpp
+1-1mlir/test/Dialect/SparseTensor/sparse_conv_2d_slice_based.mlir
+1-1mlir/test/Dialect/SparseTensor/sparse_pack.mlir
+26-76 files

FreeBSD/ports c8048cedevel/p5-Locale-gettext distinfo Makefile

devel/p5-Locale-gettext: use default DISTNAME.

PR: 292324
Submitted by:   Evgenii Khramtsov <2khramtsov at gmail.com>
DeltaFile
+3-3devel/p5-Locale-gettext/distinfo
+0-1devel/p5-Locale-gettext/Makefile
+3-42 files

LLVM/project 84c19e7clang/lib/Interpreter IncrementalExecutor.cpp

[clang-repl] Use more precise search to find the orc runtime. (#175805)

The new mechanism relies on the path in the toolchain which should be
the autoritative answer. This patch tweaks the discovery of the orc
runtime from unittests where the resource directory is hard to deduce.

Should address the issue raised in #175435 and #175322
DeltaFile
+76-71clang/lib/Interpreter/IncrementalExecutor.cpp
+76-711 files

LLVM/project c7e4350llvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV rvp-ext-rv64.ll rvp-ext-rv32.ll

[RISCV][llvm] Support select codegen for P extension (#175741)

This is scalar condition with fixed vector true/false value, we can just
handle it same as scalars.
DeltaFile
+55-0llvm/test/CodeGen/RISCV/rvp-ext-rv64.ll
+37-0llvm/test/CodeGen/RISCV/rvp-ext-rv32.ll
+24-0llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+116-03 files

LLVM/project 2f2ec93llvm/lib/Target/RISCV RISCVInstrInfoP.td, llvm/test/CodeGen/RISCV rvp-ext-rv64.ll rvp-ext-rv32.ll

[RISCV][llvm] Support vselect codegen for P extension (#175744)

The only difference between vselect vs. select is condition value(a.k.a.
mask), we can select by using bitwise operation:
vselect(mask, true, false) = (mask & true) | (~mask & false)
DeltaFile
+58-0llvm/test/CodeGen/RISCV/rvp-ext-rv64.ll
+39-0llvm/test/CodeGen/RISCV/rvp-ext-rv32.ll
+10-0llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+107-03 files

FreeBSD/ports 8062a57devel/llvm13 Makefile

devel/llvm13: fix build with python 3.12

PR:             285957
DeltaFile
+2-0devel/llvm13/Makefile
+2-01 files

LLVM/project 0e6ef95llvm/lib/Target/RISCV RISCVInstrInfoVVLPatterns.td RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV/rvv vfclass-sdnode.ll fixed-vectors-vfclass.ll

[RISCV][llvm] Support IS_FPCLASS codegen for zvfbfa (#175758)

DeltaFile
+203-13llvm/test/CodeGen/RISCV/rvv/vfclass-sdnode.ll
+206-4llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfclass.ll
+6-0llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
+2-2llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+417-194 files

FreeBSD/ports 4c11029devel/llvm12 Makefile

devel/llvm12: fix build with python 3.12

PR:             285957
DeltaFile
+2-0devel/llvm12/Makefile
+2-01 files

LLVM/project 9ced34dflang/lib/Lower/OpenMP ClauseProcessor.cpp Clauses.cpp, flang/test/Lower/OpenMP num-teams-dims.f90

[FLANG] Add flang to mlir lowering for num_teams
DeltaFile
+52-0flang/test/Lower/OpenMP/num-teams-dims.f90
+27-10flang/lib/Lower/OpenMP/ClauseProcessor.cpp
+23-4flang/lib/Lower/OpenMP/Clauses.cpp
+15-3flang/lib/Lower/OpenMP/OpenMP.cpp
+117-174 files

FreeBSD/ports ef909ccmisc/crush distinfo Makefile

misc/crush: Update to 0.32.1

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

Reported by:    GitHub (watch releases)
DeltaFile
+5-5misc/crush/distinfo
+1-1misc/crush/Makefile
+6-62 files

LLVM/project 7cc013allvm/include/llvm/Passes CodeGenPassBuilder.h, llvm/include/llvm/Target CGPassBuilderOption.h

[CodeGen][NPM] Add support for -print-regusage in New Pass Manager (#169761)

Support `-print-regusage` flag in NPM for printing register usage information
DeltaFile
+3-4llvm/lib/CodeGen/RegisterUsageInfo.cpp
+5-0llvm/include/llvm/Passes/CodeGenPassBuilder.h
+4-0llvm/lib/CodeGen/TargetPassConfig.cpp
+1-0llvm/test/CodeGen/AMDGPU/ipra-regmask.ll
+1-0llvm/include/llvm/Target/CGPassBuilderOption.h
+14-45 files

Linux/linux c537e12arch/riscv/net bpf_jit_comp64.c, kernel/bpf verifier.c

Merge tag 'bpf-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf

Pull bpf fixes from Alexei Starovoitov:

 - Fix incorrect usage of BPF_TRAMP_F_ORIG_STACK in riscv JIT (Menglong
   Dong)

 - Fix reference count leak in bpf_prog_test_run_xdp() (Tetsuo Handa)

 - Fix metadata size check in bpf_test_run() (Toke Høiland-Jørgensen)

 - Check that BPF insn array is not allowed as a map for const strings
   (Deepanshu Kartikey)

* tag 'bpf-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf:
  bpf: Fix reference count leak in bpf_prog_test_run_xdp()
  bpf: Reject BPF_MAP_TYPE_INSN_ARRAY in check_reg_const_str()
  selftests/bpf: Update xdp_context_test_run test to check maximum metadata size
  bpf, test_run: Subtract size of xdp_frame from allowed metadata size
  riscv, bpf: Fix incorrect usage of BPF_TRAMP_F_ORIG_STACK
DeltaFile
+17-8net/bpf/test_run.c
+11-3tools/testing/selftests/bpf/prog_tests/xdp_context_test_run.c
+2-4arch/riscv/net/bpf_jit_comp64.c
+5-0kernel/bpf/verifier.c
+35-154 files

FreeBSD/ports a9b5c8esecurity/bitwarden-cli Makefile, security/bitwarden-cli/files/packagejsons package-lock.json package.json

security/bitwarden-cli: Update to 2025.12.1

While here, convert to use USES=electron for fetching and archiving
node modules, and adjust Makefile accordingly.

Changelog: https://github.com/bitwarden/clients/releases/tag/cli-v2025.12.1

Reported by:    GitHub (watch releases)
DeltaFile
+6,172-4,115security/bitwarden-cli/files/packagejsons/package-lock.json
+55-58security/bitwarden-cli/files/packagejsons/package.json
+5-67security/bitwarden-cli/Makefile
+11-15security/bitwarden-cli/files/packagejsons/apps/desktop/desktop_native/napi/package.json
+6-9security/bitwarden-cli/files/packagejsons/apps/desktop/package.json
+11-0security/bitwarden-cli/files/packagejsons/libs/subscription/package.json
+6,260-4,2644 files not shown
+6,272-4,27610 files

LLVM/project aefccacllvm/lib/Target/AMDGPU AMDGPURegBankLegalizeHelper.cpp AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU vector-reduce-mul.ll integer-mad-patterns.ll

[AMDGPU][GlobalISel] Add RegBankLegalize support for S64 G_MUL

Patch 4 of 4 patches to implement full G_MUL support in regbanklegalize.
DeltaFile
+195-203llvm/test/CodeGen/AMDGPU/vector-reduce-mul.ll
+106-101llvm/test/CodeGen/AMDGPU/integer-mad-patterns.ll
+98-49llvm/test/CodeGen/AMDGPU/GlobalISel/mul.ll
+21-21llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-mul.mir
+23-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeHelper.cpp
+5-1llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+448-3752 files not shown
+450-3758 files

LLVM/project fcdae37llvm/lib/Target/AMDGPU AMDGPURegBankLegalizeHelper.cpp AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU/GlobalISel regbankselect-smul.mir

[AMDGPU][GlobalISel] Add RegBankLegalize support for G_AMDGPU_S_MUL_*

Patch 3 of 4 patches to implement full G_MUL support in regbanklegalize.

Current mul.ll test is only partially updated and expected to fail.
It will be updated in the fourth patch.
DeltaFile
+92-0llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-smul.mir
+19-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeHelper.cpp
+4-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+2-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.h
+117-04 files

LLVM/project de7c7f7llvm/lib/Target/AMDGPU VOP3PInstructions.td, llvm/test/MC/AMDGPU gfx1250_asm_wmma_w32.s

[AMDGPU] Fix the encoding of VOP3PX2 instructions

ISA spec says `SCALE_OPSEL[0:1]` determines which parts of S3 and S4 are used, and `SCALE_OPSEL_HI[0:1]` should be zero.
DeltaFile
+40-40llvm/test/MC/Disassembler/AMDGPU/gfx1250_dasm_wmma_w32.txt
+20-20llvm/test/MC/AMDGPU/gfx1250_asm_wmma_w32.s
+2-2llvm/lib/Target/AMDGPU/VOP3PInstructions.td
+62-623 files

LLVM/project 0b3d001llvm/lib/Target/AMDGPU AMDGPURegBankLegalizeHelper.cpp AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU/GlobalISel regbankselect-mad_64_32.mir

[AMDGPU][GlobalISel] Add RegBankLegalize support for G_AMDGPU_MAD_*

Patch 2 of 4 patches to implement full G_MUL support in regbanklegalize.

Current mul.ll test is only partially updated and expected to fail.
It will be updated in the fourth patch.
DeltaFile
+47-162llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-mad_64_32.mir
+131-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeHelper.cpp
+4-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+2-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.h
+1-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeHelper.h
+185-1625 files