LLVM/project 9fafedamlir/lib/Dialect/Linalg/TransformOps LinalgTransformOps.cpp

[MLIR][linalg] Remove discarded failure conversion (#221826)

Silence warning for unused result with a `(void)` cast instead of
converting its result with failed() and then discarding the converted
value.

Fix a Coverity warning, and it's cleaner about the intent.

Assisted-by: Codex
DeltaFile
+2-2mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
+2-21 files

FreeBSD/ports 680b747audio/opusfile Makefile

audio/opusfile: Adopt
DeltaFile
+1-1audio/opusfile/Makefile
+1-11 files

LLVM/project b4488d4mlir/lib/Conversion/AMDGPUToROCDL AMDGPUToROCDL.cpp, mlir/test/Conversion/AMDGPUToROCDL gfx1250.mlir

[mlir][AMDGPU] Move gather index vectors at final use (NFC) (#221825)

The gather lowering copies two temporary vectors into the next
construction stage and never reads the source vectors again. Move their
storage instead.

Found by Coverity.

Assisted-by: Codex
DeltaFile
+19-0mlir/test/Conversion/AMDGPUToROCDL/gfx1250.mlir
+2-2mlir/lib/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.cpp
+21-22 files

NetBSD/pkgsrc-wip 18b8237. TODO

TODO: + forge-0.10.0, llama.cpp-0.4.0, yayamlls-0.3.0.
DeltaFile
+3-0TODO
+3-01 files

FreeBSD/src 9273fe8sys/compat/linuxkpi/common/include/linux hrtimer.h, sys/compat/linuxkpi/common/src linux_hrtimer.c

linuxkpi: Add `hrtimer_setup()`

`hrtimer_setup()` replaces `hrtimer_init()` in Linux 6.15. The API and
the role are the same, except:
* it takes the `function` callback as argument
* if `function` is NULL, it assigns a default callback

At the same time, we hide `hrtimer_init()` if LINUXKPI_VERSION is
greater than or equal to 61500 because it was dropped in Linux 6.15.

Reviewed by:    bz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D58757
DeltaFile
+19-0sys/compat/linuxkpi/common/include/linux/hrtimer.h
+17-0sys/compat/linuxkpi/common/src/linux_hrtimer.c
+36-02 files

FreeBSD/src 5fad251sys/compat/linuxkpi/common/include/linux time.h, sys/compat/linuxkpi/common/src linux_timesub.c

linuxkpi: Add `timer64_to_tm()`

The function converts a number of seconds since Epoch to a `struct tm`.
The implementation was copied from `contrib/tzcode/localtime.c`.

The amdgpu DRM driver started to use it in Linux 6.15.

Reviewed by:    bz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D58758
DeltaFile
+183-0sys/compat/linuxkpi/common/src/linux_timesub.c
+19-0sys/compat/linuxkpi/common/include/linux/time.h
+2-0sys/conf/files
+1-0sys/modules/linuxkpi/Makefile
+205-04 files

FreeNAS/freenas 7f15d02src/middlewared/middlewared/api/v26_0_0 app.py, src/middlewared/middlewared/plugins/apps crud.py

NAS-143041 / 26.0.0 / Remove dead `force_remove_ix_volumes` app delete option (by Qubad786) (#19611)

## Problem
`app.delete` accepts `options.force_remove_ix_volumes`, validates it as
a bool and documents it in the method docstring, but nothing reads it.
It was live when introduced in 0c4381a2b4, where it picked which kwarg
to hand to `zfs.dataset.delete` — `recursively_remove_dependents` when
set, `recursive` otherwise. 9712dc3084 ("remove zfs.dataset.delete
(replace w/ zfs.resource.destroy)") swapped that call for an
unconditional `recursive=True, bypass=True` destroy and dropped the
conditional along with it, leaving the flag accepted but inert. The
capability it selected is gone too: `zfs.resource.destroy_impl` has no
dependents-removal parameter, so there is nothing left to wire it back
up to.

## Solution
Dropped the field from `AppDelete` in both v26_0_0 and v27_0_0 and
removed the docstring paragraph describing it. `remove_ix_volumes` is
unaffected — it is still the live gate on ix-volume deletion.

    [8 lines not shown]
DeltaFile
+0-6src/middlewared/middlewared/plugins/apps/crud.py
+0-4src/middlewared/middlewared/api/v26_0_0/app.py
+0-102 files

LLVM/project c38b463clang/lib/CIR/CodeGen CMakeLists.txt, clang/lib/CIR/Lowering/DirectToLLVM CMakeLists.txt

[CIR][CMake] Limit MLIR dependencies to used components

CIR libraries and tools consume MLIR's global dialect, conversion, and
translation library collections. This makes every library in those collections
reachable from Ninja's all target even when MLIR is configured only as a CIR
dependency.

Replace the collections with target-specific dependencies. Register only the
CIR, LLVM, and MemRef dialects in cir-lsp-server, and replace the all-LLVM
translation registration in cir-translate with the Builtin, LLVM, and OpenMP
interfaces used by CIR lowering.

For a dependency-only MLIR configuration with tests enabled, archives reachable
from Ninja all fall from 511 to 314. The libMLIR*.a subset falls from 333 to
136, and Ninja dry-run edges fall from 6,925 to 6,277.

Validation:
- Configured CIR with dependency-only MLIR, with and without tests.
- Configured Clang and MLIR explicitly with CIR and tests enabled.

    [5 lines not shown]
DeltaFile
+5-14clang/tools/cir-translate/CMakeLists.txt
+2-15clang/tools/cir-lsp-server/CMakeLists.txt
+2-10clang/tools/cir-opt/CMakeLists.txt
+6-4clang/lib/CIR/CodeGen/CMakeLists.txt
+6-3clang/tools/cir-translate/cir-translate.cpp
+6-3clang/lib/CIR/Lowering/DirectToLLVM/CMakeLists.txt
+27-494 files not shown
+31-5710 files

LLVM/project 2a7438dflang CMakeLists.txt, flang/lib/Frontend CMakeLists.txt

[Flang][CMake] Limit MLIR dependencies to registered dialects

Flang currently consumes MLIR_DIALECT_LIBS and MLIR_EXTENSION_LIBS in many
libraries and tools. These global collections include every configured MLIR
dialect and extension, including test-only components when MLIR tests are
available.

Define Flang-specific dialect and extension lists matching the registry in
InitFIR.h, and use them in place of the global collections. Remove the unused
InitAllDialects include and register-all libraries. List MemRef explicitly for
fir-opt's additional registration.

For a dependency-only MLIR configuration with tests enabled, archives reachable
from Ninja all fall from 500 to 355. The libMLIR*.a subset falls from 317 to
172, and Ninja dry-run edges fall from 6,969 to 6,493.

Validation:
- Configured Flang with dependency-only MLIR, with and without tests.
- Configured Flang and MLIR explicitly with tests.

    [4 lines not shown]
DeltaFile
+25-1flang/CMakeLists.txt
+4-7flang/lib/Optimizer/Builder/CMakeLists.txt
+4-7flang/lib/Lower/CMakeLists.txt
+4-7flang/lib/Frontend/CMakeLists.txt
+3-6flang/unittests/Optimizer/CMakeLists.txt
+3-5flang/tools/fir-opt/CMakeLists.txt
+43-3313 files not shown
+60-7719 files

LLVM/project 03d16b7clang CMakeLists.txt, llvm CMakeLists.txt

[CIR][CMake] Configure MLIR as a dependency-only project

ClangIR requires MLIR, but enabling CIR currently requires users to list MLIR
explicitly in LLVM_ENABLE_PROJECTS. That also attaches all MLIR build, install,
unit-test, and lit targets to the corresponding LLVM aggregates.

When Clang is selected and CLANG_ENABLE_CIR is enabled, append MLIR to the
effective LLVM_ENABLE_PROJECTS list. The common project setup compares that
list with the cached user selection, so an explicit MLIR selection retains its
normal behavior while an implicit selection is configured with EXCLUDE_FROM_ALL.

This makes MLIR targets available for CIR dependency resolution without adding
MLIR's aggregate targets. Keep the existing standalone ClangIR restriction and
do not configure MLIR when CIR is disabled.

Validation:
- Configured Clang with CIR and implicit MLIR test support.
- Configured Clang and MLIR explicitly with CIR and tests enabled.
- Configured Clang without CIR and verified that MLIR remains disabled.

    [4 lines not shown]
DeltaFile
+6-0llvm/CMakeLists.txt
+2-2clang/CMakeLists.txt
+8-22 files

LLVM/project 46ac466clang CMakeLists.txt, llvm CMakeLists.txt

[CMake] Infer dependency-only projects from the cache

LLVM_ENABLE_PROJECTS historically treats projects enabled to satisfy another
project's dependency the same as projects selected by the user. Consequently,
implicit projects attach their complete build, install, and test suites to
LLVM's aggregate targets.

Keep the cache entry as the user-requested project roots and use the normal
LLVM_ENABLE_PROJECTS variable as the effective dependency closure. Projects in
the effective list but not the cache entry are configured with EXCLUDE_FROM_ALL.
Normalize the special all value before comparing the two sets.

This makes Flang's MLIR and Clang dependencies dependency-only without a second
project collection. It also applies the same rule to Clang when it is added for
LLDB. Forward the cached roots to cross-compilation and bootstrap configurations
so implicit projects do not become explicit in nested builds.

Let MLIR own its dependency-only test policy: configure test support libraries
for downstream consumers without creating MLIR unit tests or registering its

    [10 lines not shown]
DeltaFile
+19-7mlir/CMakeLists.txt
+18-4llvm/CMakeLists.txt
+12-2llvm/cmake/modules/AddLLVM.cmake
+4-1clang/CMakeLists.txt
+1-1llvm/cmake/modules/CrossCompile.cmake
+54-155 files

FreeBSD/ports a84ba01mail/mailpit Makefile distinfo, mail/mailpit/files patch-package-lock.json

mail/mailpit: Update to 1.31.1
DeltaFile
+104-97mail/mailpit/files/patch-package-lock.json
+7-7mail/mailpit/distinfo
+1-2mail/mailpit/Makefile
+112-1063 files

LLVM/project 362194cclang/test/CIR/Transforms/abi-lowering x86_64-wide-floats.cir x86_64-vptr.cir, clang/tools/cir-translate CMakeLists.txt cir-translate.cpp

[CIR] Register only the LLVM IR translations CIR lowers to (#221797)

The ClangIR tests reach LLVM IR through mlir-translate, which links
every MLIR dialect and translation, so building check-clang builds most
of MLIR. Register mlir-to-llvmir in cir-translate over the same three
dialects and use it instead. Remove the dependency on `mlir-translate`
to run CIR tests.

ninja check-clang drops from 6499 to 5853 build edges.

LLM-aided
DeltaFile
+34-3clang/tools/cir-translate/cir-translate.cpp
+7-7clang/tools/cir-translate/CMakeLists.txt
+1-1clang/test/CIR/Transforms/abi-lowering/x86_64-wide-floats.cir
+1-1clang/test/CIR/Transforms/abi-lowering/x86_64-vptr.cir
+1-1clang/test/CIR/Transforms/abi-lowering/x86_64-vector.cir
+1-1clang/test/CIR/Transforms/abi-lowering/x86_64-variadic-call.cir
+45-1412 files not shown
+56-2618 files

LLVM/project 89fe023mlir/include/mlir/Dialect/LLVMIR CMakeLists.txt LLVMAllOps.td, mlir/lib/Dialect/LLVMIR CMakeLists.txt

[MLIR][LLVM] Shard generated operation definitions (NFC) (#221813)

LLVMDialect.cpp includes both the 55,078-line core operation definitions
and the 95,769-line intrinsic operation definitions. Generate the
combined operation set in eight shards, use the generated registration
hook, and expose only the parser, printer, and type-inference helpers
needed by generated code.

Assisted-by: Codex
DeltaFile
+42-54mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
+91-0mlir/lib/Dialect/LLVMIR/IR/LLVMOps.h
+18-0mlir/include/mlir/Dialect/LLVMIR/LLVMAllOps.td
+17-0mlir/lib/Dialect/LLVMIR/IR/LLVMOps.cpp
+16-0mlir/lib/Dialect/LLVMIR/CMakeLists.txt
+5-0mlir/include/mlir/Dialect/LLVMIR/CMakeLists.txt
+189-542 files not shown
+191-568 files

LLVM/project d5f72ddclang/lib/CIR/CodeGen CMakeLists.txt, clang/lib/CIR/FrontendAction CMakeLists.txt

[CMake] Link only the MLIR dialects ClangIR uses (#221616)

CIR's sources reference Arith, DLTI, Func, LLVM, OpenACC, OpenMP and
Ptr, and cir-opt registers only the CIR dialects plus MemRef and LLVM.
Link those instead, which keeps Linalg, Vector, SPIRV, SparseTensor,
Tosa and GPU out of the clang build graph.

CLANG_ENABLE_CIR=ON adds 2135 build edges to the clang target; this
removes 694 of them.

LLM-aided
DeltaFile
+8-4clang/lib/CIR/CodeGen/CMakeLists.txt
+5-3clang/lib/CIR/Lowering/DirectToLLVM/CMakeLists.txt
+2-5clang/tools/cir-opt/CMakeLists.txt
+0-3clang/lib/CIR/Lowering/CMakeLists.txt
+0-2clang/lib/CIR/FrontendAction/CMakeLists.txt
+0-1clang/lib/CIR/Interfaces/CMakeLists.txt
+15-186 files

LLVM/project fed6cdcclang/include/clang/CIR/Dialect/IR CIRAttrs.td, clang/lib/CIR/CodeGen CIRGenCall.cpp

[CIR] Handle __declspec(noalias) as argmem side effects

Match classic codegen: NoAliasAttr becomes nounwind plus
memory(argmem: readwrite, inaccessiblemem: readwrite).
DeltaFile
+30-0clang/test/CIR/CodeGen/ms-declspec-noalias.c
+23-0clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+7-1clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
+4-0clang/lib/CIR/CodeGen/CIRGenCall.cpp
+2-0clang/test/CIR/IR/call.cir
+66-15 files

LLVM/project 2680ba1clang/lib/CIR/Lowering/DirectToLLVM LowerToLLVM.cpp, clang/test/CIR/CodeGen new-delete-deactivation.cpp new-delete.cpp

[CIR] Match OGCG noalias and memory effects on operator new

Sane replaceable operator new calls now get return noalias and
memory(inaccessiblemem: readwrite, errnomem: write), matching classic
codegen. -fno-assume-sane-operator-new drops both.
DeltaFile
+44-44clang/test/CIR/CodeGen/new.cpp
+19-19clang/test/CIR/CodeGenCXX/new-array-init.cpp
+24-0clang/test/CIR/CodeGen/operator-new-noalias.cpp
+22-0clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+8-8clang/test/CIR/CodeGen/new-delete.cpp
+6-6clang/test/CIR/CodeGen/new-delete-deactivation.cpp
+123-776 files not shown
+151-8912 files

FreeBSD/ports 815eb35www/chawan Makefile distinfo

www/chawan: Update 0.4.2 => 0.4.4

Changelogs:
- https://chawan.net/news/chawan-0-4-3.html
- https://chawan.net/news/chawan-0-4-4.html

PR:             298292
Approved by:    osa, vvd (Mentors, implicit)
MFH:            2026Q3

(cherry picked from commit 75ac0e1629d52044ff08a05cc9cfd1722910fba6)
DeltaFile
+3-3www/chawan/distinfo
+1-1www/chawan/Makefile
+4-42 files

LLVM/project 14aebabclang/lib/StaticAnalyzer/Core ExprEngineCXX.cpp, clang/test/Analysis dtor-array.cpp

[analyzer] Fix crash destructing element of a sugared array type

ExprEngine::makeElementRegion falls short trying to determine the
element type of an array that involves a type aliasing a static array
type.

This leads to a crash in ExprEngine::ProcessMemberDtor where it assumes
that element type is a CXXRecordDecl, while it is still a type alias to
a static array type.

getBaseElementType is the canonical way to desugar and peel off the
array dimensions.

Assisted by Claude Opus 5

--
CPP-8838
DeltaFile
+2-6clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
+7-0clang/test/Analysis/dtor-array.cpp
+9-62 files

FreeBSD/ports 75ac0e1www/chawan Makefile distinfo

www/chawan: Update 0.4.2 => 0.4.4

Changelogs:
- https://chawan.net/news/chawan-0-4-3.html
- https://chawan.net/news/chawan-0-4-4.html

PR:             298292
Approved by:    osa, vvd (Mentors, implicit)
MFH:            2026Q3
DeltaFile
+3-3www/chawan/distinfo
+1-1www/chawan/Makefile
+4-42 files

OpenBSD/src aNVx7ndusr.sbin/smtpd smtpd.c

   execvp(3) against a constant absolute path is not needed, use execv(3)
   instead.
VersionDeltaFile
1.363+2-2usr.sbin/smtpd/smtpd.c
+2-21 files

FreeBSD/src 1771ab2usr.sbin/nfsuserd nfsuserd.c

nfsuserd.c: Fix handling where pw_name/gr_name differ from lookup name

When an NSS backend returns a canonical pw_name or gr_name that differs from
the lookup name supplied by the NFSv4 upcall, nfsuserd stores the successful
mapping in the kernel cache under the canonical name instead of the requested
name.

This causes the retry lookup performed by nfsv4_strtouid() or
nfsv4_strtogid() to miss the newly inserted cache entry, resulting in the
default UID/GID being returned although the NSS lookup itself succeeded.

PR:     296753
Reviewed by:    rmacklem
Tested by:      Emanuel Helms <emanuel at nfv.cc>
MFC after:      2 weeks
DeltaFile
+4-2usr.sbin/nfsuserd/nfsuserd.c
+4-21 files

LLVM/project 4a41d7fclang/lib/CIR/CodeGen CIRGenCall.cpp, clang/test/CIR/CodeGen restrict-noalias.c

[CIR] Add noalias on malloc-like function returns

Mirror classic RestrictAttr handling so __attribute__((malloc)) and
__declspec(restrict) stamp llvm.noalias on the return, matching OGCG.
DeltaFile
+59-3clang/test/CIR/CodeGen/restrict-noalias.c
+9-3clang/lib/CIR/CodeGen/CIRGenCall.cpp
+68-62 files

OpenBSD/src IFuuja4usr.sbin/tcpdump privsep.h privsep.c

   Use getexecpath(3) and thus execv(3) in the same way as other privsep
   fork+execsame daemons.
VersionDeltaFile
1.61+4-4usr.sbin/tcpdump/privsep.c
1.101+5-3usr.sbin/tcpdump/tcpdump.c
1.13+1-1usr.sbin/tcpdump/privsep.h
+10-83 files

FreeBSD/ports 12ee770security/gost-engine distinfo.openssl30 distinfo, security/gost-engine/files pkg-message.in

security/gost-engine: update

openssl111 has gone from Ports and we have no supported
FreeBSD versions having it in base, so drop 1.1.x support here too.

Update the code upto latest commit targeting OpenSSL 3.0.
Also, this makes it compatible with CMake 4.

Reported by:    arrowd
Tested by:      arrowd
DeltaFile
+23-41security/gost-engine/Makefile
+0-16security/gost-engine/pkg-plist-openssl30
+9-2security/gost-engine/pkg-plist
+5-3security/gost-engine/distinfo
+0-5security/gost-engine/distinfo.openssl30
+2-0security/gost-engine/files/pkg-message.in
+39-676 files

LLVM/project d42b6eelibc/test/src/__support tlsf_table_test.cpp

fix test
DeltaFile
+4-5libc/test/src/__support/tlsf_table_test.cpp
+4-51 files

LLVM/project a4dd355llvm/lib/Frontend/OpenMP OMPIRBuilder.cpp, mlir/test/Target/LLVMIR openmp-reduction-debug-loc.mlir

[OMPIRBuilder] Restore the debug location after the reduction alloca (#221253)

`createReductions` emits the array of type-erased pointers to the
private reduction values in the alloca block, which means leaving the
current insertion point and coming back. The insertion point is
re-established but the debug location is not. Everything emitted
afterwards like the `__kmpc_reduce` and the matching __kmpc_end_reduce
inherits whatever the terminator happened to carry, which is usually
nothing. This could result in a verifier error if program is linked with
openmp runtime that has debug information.

Fix it by restoring the debug location along with the InsertPoint.
DeltaFile
+56-0mlir/test/Target/LLVMIR/openmp-reduction-debug-loc.mlir
+3-0llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+59-02 files

FreeBSD/src 8ffe241sys/compat/linuxkpi/common/src linux_compat.c linux_page.c

linuxkpi: Fix assertion in `lkpi_vmf_insert_pfn_prot_locked()`

Before this change, the assertion would not catch a page index matching
the end address, even though the end address of a mapping is outside of
that mapping.

While here, add another assertion to catch page indexes outside of the
expected range earlier.

Also, pagefaulting an address outside of the mapping range should return
`VM_FAULT_SIGBUS` instead of panicing.

Reviewed by:    bz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D58194
DeltaFile
+4-1sys/compat/linuxkpi/common/src/linux_page.c
+2-0sys/compat/linuxkpi/common/src/linux_compat.c
+6-12 files

FreeBSD/ports 7c2e7dcsysutils/lsd Makefile

sysutils/lsd: Adopt port

While here:
- Seperate DEPENDS field from USES field (pet portlint).
- Remove increment from LIB_DEPENDS.
- Ignore failing tests.

PR:             296864
Approved by:    osa, vvd (Mentors, implicit)
DeltaFile
+8-3sysutils/lsd/Makefile
+8-31 files

NetBSD/pkgsrc Kn7HnjXchat/weechat distinfo, chat/weechat/patches patch-src_plugins_relay_api_relay-api-msg.c

   weechat: Remove obsolete illumos patch.

   Upstream code changed so this is no longer required, and indeed now actively
   harmful.
VersionDeltaFile
1.88+1-2chat/weechat/distinfo
1.3+1-1chat/weechat/patches/patch-src_plugins_relay_api_relay-api-msg.c
+2-32 files