LLVM/project ea27498llvm/lib/Target/AMDGPU GCNSchedStrategy.cpp, llvm/test/CodeGen/AMDGPU sched_mfma_rewrite_diff_types.mir

[AMDGPU] Fix handling of setting register classes in MFMA scheduler rewrite stage (#181047)

Fixes problem with setting/resetting register classes in the MFMA
rewrite sched stage. The code assumed that the dest and OpC would be the
same class. This is not true if one uses subregs. This fixes issue
#177696.
DeltaFile
+173-0llvm/test/CodeGen/AMDGPU/sched_mfma_rewrite_diff_types.mir
+23-11llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
+196-112 files

FreeNAS/freenas ed9b6dctests/api2 test_api.py

Enhance test_versions to also handle new version format
DeltaFile
+14-2tests/api2/test_api.py
+14-21 files

LLVM/project efb397clibc/src/__support/mathvec expf.h common_constants.h, libc/src/mathvec CMakeLists.txt

[libc][mathvec] Initial commit for LIBC vector math component (#173058)

Created mathvec directories and unittest framework for vector math
functions, as well as an initial implementation of vector expf, which is
presently CR for round-to-nearest.

---------

Co-authored-by: Pierre Blanchard <pierre.blanchard at arm.com>
DeltaFile
+131-0libc/test/src/mathvec/expf_test.cpp
+84-0libc/src/__support/mathvec/expf.h
+61-0libc/test/UnitTest/SIMDMatcher.h
+43-0libc/src/mathvec/CMakeLists.txt
+40-0libc/src/__support/mathvec/common_constants.h
+34-0libc/src/__support/mathvec/expf_utils.h
+393-014 files not shown
+519-420 files

FreeNAS/freenas 487333csrc/middlewared/middlewared/api/v26_0_0 interface.py, src/middlewared/middlewared/plugins network.py

touch up
DeltaFile
+13-9src/middlewared/middlewared/plugins/network.py
+2-1src/middlewared/middlewared/api/v26_0_0/interface.py
+15-102 files

LLVM/project eec7a2flldb/source/Target RegisterContext.cpp

[lldb] Remove redundant nullptr check (NFC) (#182352)

`target` cannot be null because `target_sp` is non-null.
DeltaFile
+2-6lldb/source/Target/RegisterContext.cpp
+2-61 files

LLVM/project 2979654clang/lib/CIR/CodeGen CIRGenCUDANV.cpp, clang/test/CIR/CodeGenCUDA kernel-call.cu

[CIR][HIP] Add Stub body emission test coverage and Fix kernelHandle storage (#179823)

Related: https://github.com/llvm/llvm-project/issues/179278,
https://github.com/llvm/llvm-project/issues/175871

Besides adding extra test coverage for hip:

Given that HIP represents kernel handles as a global Op. In my previous
patch there was a slight miss-use of the CIR api. since
`getOrCreateCIRGlobal` expects a VarDecl for location info but
`gd.getDecl()` (in this scope) is a FunctionDecl, trying to cast it to
the proper type would provoke that value to be null. Causing a crash
when generating the proper mlir location from the AST. here:
https://github.com/llvm/llvm-project/blob/fab5b1858d02ffed88b76d33f7c691ee4e0c82fb/clang/lib/CIR/CodeGen/CIRGenModule.cpp#L731

Fixed it by using `createGlobalOp` which allows to use the location from
the proper funcOp itself.
DeltaFile
+12-3clang/test/CIR/CodeGenCUDA/kernel-call.cu
+5-8clang/lib/CIR/CodeGen/CIRGenCUDANV.cpp
+17-112 files

FreeBSD/ports ef3d992mail/mu Makefile distinfo

mail/mu: Update 1.12.13 => 1.12.15

Changelog:
https://github.com/djcb/mu/releases/tag/v1.12.14
https://github.com/djcb/mu/releases/tag/v1.12.15

Improve port:
- Fix build with emacs installed.
- Fix warning from portclippy.

PR:     293277 292576
MFH:    2026Q1
(cherry picked from commit 863e7d211cb9ec53bda42218f2bd9f9b704efa33)
DeltaFile
+3-6mail/mu/Makefile
+3-5mail/mu/distinfo
+2-0mail/mu/pkg-plist
+8-113 files

LLVM/project a7b5cb8mlir/lib/Dialect/Tosa/IR TosaOps.cpp, mlir/test/Dialect/Tosa verifier.mlir tosa-infer-shapes.mlir

[mlir][tosa] Improve slice op verifier (#181889)

The slice op verifier was missing checks on the values of start and size
inputs. Similar to other op verifiers, shape_t const inputs have been
checked for validity against the spec. The commit adds checks for the
following conditions:
- start values must be non-negative
- size values must be > 0
- start + size must be less than or equal to the input dimension size
- the output shape must be consistent with the size values

The commit also allows kInferableDimSize values (-1) to be passed in for
start and size, which are used to indicate that the dimension size can
be inferred by the compiler. The verifier will skip checks for any start
or size value that is kInferableDimSize. With shape expressions being
added, we should no longer require these values, but removal will be
handled in a separate commit.
DeltaFile
+60-6mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
+50-0mlir/test/Dialect/Tosa/verifier.mlir
+0-36mlir/test/Dialect/Tosa/tosa-infer-shapes.mlir
+12-12mlir/test/Dialect/Tosa/ops.mlir
+9-8mlir/test/Dialect/Tosa/canonicalize.mlir
+7-7mlir/test/Dialect/Tosa/profile_all_unsupported.mlir
+138-698 files not shown
+159-9014 files

LLVM/project 30eb036llvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll amdgcn.bitcast.512bit.ll, llvm/test/CodeGen/RISCV/rvv clmulh-sdnode.ll

Merge branch 'main' into users/amara/outliner-bundles
DeltaFile
+121,421-138,357llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+43,316-44,830llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+56,025-0llvm/test/CodeGen/RISCV/rvv/clmulh-sdnode.ll
+52,760-0polly/lib/External/isl/include/isl/typed_cpp.h
+12,842-18,547llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll
+30,890-0polly/lib/External/isl/include/isl/cpp.h
+317,254-201,73412,854 files not shown
+1,481,037-829,89512,860 files

LLVM/project 1a6b44bmlir/lib/Dialect/ArmSME/Transforms TileAllocation.cpp, mlir/test/Dialect/ArmSME tile-allocation-nested-regions.mlir

[mlir][ArmSME] Replace nested-region assertion in tile allocation with diagnostic (#181934)

Replace the nested-region assertion in ArmSME tile allocation with a
proper diagnostic and graceful failure.

Fixes #181593
DeltaFile
+25-0mlir/test/Dialect/ArmSME/tile-allocation-nested-regions.mlir
+17-8mlir/lib/Dialect/ArmSME/Transforms/TileAllocation.cpp
+42-82 files

LLVM/project a8f2e80mlir/test/mlir-tblgen gen-op-doc.td openmp-ops.td, mlir/tools/mlir-tblgen OpDocGen.cpp

[MLIR][tblgen] Honor `-dialect` in `-gen-{attrdef,op,typedef,enum}-doc` (#182183)

Make all dialect documentation generators use the same set of records as
`-gen-dialect-doc`, which honors the `-dialect` tblgen option to filter
records by dialect. Add a `-keep-op-source-order` option to allow
`-gen-op-doc` to continue producing unsorted op lists if needed.

This commit factors the record collection, filtering, and sorting
performed in `emitDialectDoc` out into a separate `collectRecords`
function, returning a `DialectRecords` with the results. The emit
functions now all accept a `DialectRecords` argument instead of
collecting records themselves. Most changes are mechanical renamings and
moving code around.

This fixes a confusing issue where `gen-dialect-doc` would produce the
entire documentation for a dialect, but individual calls to
`gen-attrdef-doc` and the like would seemingly operate on a different
set of records, potentially covering multiple dialects. This all produce
the overall documentation now.
DeltaFile
+148-114mlir/tools/mlir-tblgen/OpDocGen.cpp
+20-0mlir/test/mlir-tblgen/gen-op-doc.td
+1-1mlir/test/mlir-tblgen/openmp-ops.td
+169-1153 files

FreeBSD/ports 863e7d2mail/mu Makefile distinfo

mail/mu: Update 1.12.13 => 1.12.15

Changelog:
https://github.com/djcb/mu/releases/tag/v1.12.14
https://github.com/djcb/mu/releases/tag/v1.12.15

Improve port:
- Fix build with emacs installed.
- Fix warning from portclippy.

PR:     293277 292576
MFH:    2026Q1
DeltaFile
+3-6mail/mu/Makefile
+3-5mail/mu/distinfo
+2-0mail/mu/pkg-plist
+8-113 files

FreeNAS/freenas d168883src/middlewared/middlewared/api/v26_0_0 interface.py, src/middlewared/middlewared/plugins network.py

draft
DeltaFile
+22-2src/middlewared/middlewared/plugins/network.py
+12-1src/middlewared/middlewared/api/v26_0_0/interface.py
+34-32 files

FreeBSD/src 818971cusr.sbin/bhyve rfb.c

bhyve: Fix unchecked stream I/O in RFB handler

Convert rfb_send_* helpers to return status codes and check their
results. Add missing checks for stream_read() and stream_write() returns
during the handshake in rfb_handle() to avoid acting on failed I/O.

Signed-off-by:  Hayzam Sherif <hayzam at gmail.com>

Reviewed by:    markj
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D55343
DeltaFile
+54-22usr.sbin/bhyve/rfb.c
+54-221 files

FreeBSD/src 0213827share/misc usb_vendors

usb_vendors: update to 2025.12.13

(cherry picked from commit 8d4c1043bb0630710cbea9f744cdaef499c0ed79)
(cherry picked from commit 2f866e0547bd85e4fc66cf5468e8349931e365be)
DeltaFile
+3-2share/misc/usb_vendors
+3-21 files

FreeBSD/src 7805899share/misc pci_vendors

pci_vendors: update to 2026-02-10

(cherry picked from commit 1acfc913e6b936dec3effc7d1e902a50e5432406)
(cherry picked from commit b28b6c6d33ac7a015c55184b162e060cedeed4f6)
DeltaFile
+358-108share/misc/pci_vendors
+358-1081 files

FreeBSD/src 65338ffusr.bin/tr tr.c

tr: fix class handling in unicode world

toupper/tolower logic was only handled for CCLASS_TOUPPER and
CCLASS_TOLOWER, add support for CCLASS ([:alpha:])

PR:             219900
MFC After:      1 week

(cherry picked from commit 625dc44832cd760be3d7242d8e21a530c7e32bfc)
(cherry picked from commit 45d84c2f06fa72e405f09e2468b10bdf10b806cf)
DeltaFile
+34-0usr.bin/tr/tr.c
+34-01 files

FreeBSD/src 28b5b65sys/netinet6 icmp6.c

icmp6: clear csum_flags on mbuf reuse

When icmp6 sends an ICMPv6 message, it reuses the mbuf of the packet
that triggered the ICMPv6 message and prepends an IPv6 and ICMPv6
header. For a locally generated packet with checksum offloading, the
mbuf still has csum_flags set indicating that a SCTP/TCP/UDP checksum
has to be computed and inserted. Since this not the case anymore,
csum_flags need to be cleared.

PR:                     293227
Reviewed by:            kp, zlei, tuexen
MFC after:              3 days
Differential Revision:  https://reviews.freebsd.org/D55367

(cherry picked from commit ada4dc77577f7162353e8c2916ba5c258b6210f0)
(cherry picked from commit 0a87ae18331d5c52dde1e5a4f13ee577e8e5e188)
DeltaFile
+1-0sys/netinet6/icmp6.c
+1-01 files

FreeBSD/src 0d08a24sys/contrib/openzfs/include/os/freebsd/spl/sys time.h

Merge commit bfb276e55c76 from upstream OpenZFS (by Jessica Clarke)

  Once upon a time, 32-bit PowerPC did indeed have a 32-bit time_t, but
  FreeBSD 12.0 switched to a 64-bit time_t for PowerPC as an ABI break,
  which predates the addition of FreeBSD support to OpenZFS. Moreover,
  64-bit PowerPC has existed since FreeBSD 9.0, where __powerpc__ is also
  defined (alongside __powerpc64__ to disambiguate), which has always had
  a 64-bit time_t. This code has therefore always been wrong for all
  PowerPC variants. Fix this by limiting the 32-bit case to just i386,
  which is the only architecture in FreeBSD to have a 32-bit time_t and
  not have broken ABI, due to its special legacy compatibility status.

  Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
  Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
  Signed-off-by: Jessica Clarke <jrtc27 at jrtc27.com>
  Closes #18217
  Closes #18218

Reported by:    fuz

    [4 lines not shown]
DeltaFile
+1-1sys/contrib/openzfs/include/os/freebsd/spl/sys/time.h
+1-11 files

FreeBSD/src 8755b5flib/libfetch common.c

libfetch: Restore timeout functionality

PR:             293124
MFC after:      1 week
Fixes:          792ef1ae7b94 ("Refactor fetch_connect() and fetch_bind() to improve readability and avoid repeating the same DNS lookups.")
Reverts:        8f8a7f6fffd7 ("libfetch: apply timeout to SSL_read()")
Reviewed by:    eugen, imp
Differential Revision:  https://reviews.freebsd.org/D55293

(cherry picked from commit 73b82d1b0a2f09224e6d0f7a13dd73c66d740207)
(insta-mfc requested by re@)
(cherry picked from commit d97c824f5b4c9e7e3a1400699022cba146e450fa)
DeltaFile
+3-8lib/libfetch/common.c
+3-81 files

LLVM/project f236813mlir/test/mlir-tblgen gen-op-doc.td openmp-ops.td, mlir/tools/mlir-tblgen OpDocGen.cpp

[MLIR][tblgen] Honor `-dialect` in `-gen-{attrdef,op,typedef,enum}-doc`

Make all dialect documentation generators use the same set of records as
`-gen-dialect-doc`, which honors the `-dialect` tblgen option to filter
records by dialect. Add a `-keep-op-source-order` option to allow
`-gen-op-doc` to continue producing unsorted op lists if needed.

This commit factors the record collection, filtering, and sorting
performed in `emitDialectDoc` out into a separate `collectRecords`
function, returning a `DialectRecords` with the results. The emit
functions now all accept a `DialectRecords` argument instead of
collecting records themselves. Most changes are mechanical renamings and
moving code around.

This fixes a confusing issue where `gen-dialect-doc` would produce the
entire documentation for a dialect, but individual calls to
`gen-attrdef-doc` and the like would seemingly operate on a different
set of records, potentially covering multiple dialects. This all produce
the overall documentation now.
DeltaFile
+148-114mlir/tools/mlir-tblgen/OpDocGen.cpp
+20-0mlir/test/mlir-tblgen/gen-op-doc.td
+1-1mlir/test/mlir-tblgen/openmp-ops.td
+169-1153 files

LLVM/project 92cc4ffllvm/lib/Target/PowerPC PPCRegisterInfo.td PPCOperands.td

[PowerPC] Refactor immediate operand definitions (#179983)

Refactors PowerPC's immediate operand definitions using multiclasses
to reduce code duplication and improve maintainability.

Changes include:
- Established consistent naming: i32 versions without suffix, i64
versions with '64' suffix
- Predicate functions added to imm/timm nodes to verify immdiate values.

Assistance provided by AI.
DeltaFile
+2-244llvm/lib/Target/PowerPC/PPCRegisterInfo.td
+215-0llvm/lib/Target/PowerPC/PPCOperands.td
+54-54llvm/lib/Target/PowerPC/PPCInstrP10.td
+11-10llvm/lib/Target/PowerPC/PPCInstrAltivec.td
+6-9llvm/lib/Target/PowerPC/PPCInstrInfo.td
+9-5llvm/lib/Target/PowerPC/PPCInstr64Bit.td
+297-3223 files not shown
+311-3339 files

FreeBSD/ports 8fe0721sysutils/stackit distinfo Makefile

sysutils/stackit: Update 0.53.1 => 0.54.1

Changelogs:
https://github.com/stackitcloud/stackit-cli/releases/tag/v0.54.0
https://github.com/stackitcloud/stackit-cli/releases/tag/v0.54.1

PR:     293281
DeltaFile
+5-5sysutils/stackit/distinfo
+1-2sysutils/stackit/Makefile
+6-72 files

LLVM/project ed0ba3cllvm/lib/Target/AMDGPU SIISelLowering.cpp SIISelLowering.h, llvm/test/CodeGen/AMDGPU loop-header-align-gfx950.mir a-v-global-atomicrmw.ll

[AMDGPU] Align loop headers to prevent instruction fetch split on GFX950 (#181999)

On GFX9, the instruction sequencer fetches 32 bytes at a time. When an
8-byte instruction at a loop header straddles a 32-byte fetch window
boundary, the sequencer must perform two fetches after a backward
branch, incurring a delay. On GFX950, this causes additional performance
issues.

This patch adds 32-byte alignment (.p2align 5, , 4) for loop headers on
GFX950 when the first real instruction is 8 bytes. At most one s_nop (4
bytes, 1 quad-cycle before the loop) is used for padding. If more than 4
bytes of padding were needed, the 8-byte instruction would not straddle
a 32-byte boundary anyway, so alignment is skipped.

Note: the alignment decision is made during block-placement, before
si-insert-waitcnts. In loops where a 4-byte S_WAITCNT is later inserted
as the first instruction, the alignment becomes redundant but mostly
harmless (at most one extra s_nop per affected loop).

Assisted-by: Claude (Anthropic)
DeltaFile
+74-0llvm/test/CodeGen/AMDGPU/loop-header-align-gfx950.mir
+68-0llvm/test/CodeGen/AMDGPU/a-v-global-atomicrmw.ll
+68-0llvm/test/CodeGen/AMDGPU/a-v-flat-atomicrmw.ll
+38-0llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+10-0llvm/test/CodeGen/AMDGPU/flat-saddr-atomics.ll
+7-0llvm/lib/Target/AMDGPU/SIISelLowering.h
+265-01 files not shown
+271-07 files

HardenedBSD/src 6d413b1sys/sys priv.h

HBSD: Resolve merge conflict

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+0-4sys/sys/priv.h
+0-41 files

HardenedBSD/src 459685fshare/man/man4 vmm.4, sys/dev/vmm vmm_dev.c

Merge remote-tracking branch 'internal/freebsd/current/main' into hardened/current/master

Conflicts:
        sys/sys/priv.h (unresolved)
DeltaFile
+49-0tools/build/stddef.h
+39-0share/man/man4/vmm.4
+29-5sys/dev/vmm/vmm_dev.c
+15-15sys/sys/syscallsubr.h
+20-5usr.sbin/bhyve/bhyve.8
+19-0sys/sys/_offsetof.h
+171-2561 files not shown
+301-3467 files

HardenedBSD/ports 6eec313biology/diamond Makefile

HBSD: Resolve merge conflict

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+0-4biology/diamond/Makefile
+0-41 files

HardenedBSD/ports a4eb269devel/violet Makefile, editors/zed distinfo Makefile.crates

Merge remote-tracking branch 'internal/freebsd/main' into hardenedbsd/main

Conflicts:
        biology/diamond/Makefile (unresolved)
DeltaFile
+0-277filesystems/zrepl/files/patch-vendor_modules.txt
+69-67editors/zed/distinfo
+0-89filesystems/zrepl/files/patch-go.mod
+33-32editors/zed/Makefile.crates
+0-28filesystems/zrepl/files/patch-go.sum
+12-8devel/violet/Makefile
+114-50155 files not shown
+250-61361 files

FreeBSD/src c8191c3tools/build/mk OptionalObsoleteFiles.inc

OptionalObsoleteFiles: Don't mark /usr/lib/debug/boot directory obsolete

The intent of the currect code is to ignore anything under
/usr/lib/debug/boot/*.  But we also should make sure that
/usr/lib/debug/boot directory is also ignored and is not marked
obsolete.  If we don't do that, `make DBATCH_DELETE_OLD_FILES
delete-old` will try to rmdir(1) this directory, which will cause an
error, since /usr/lib/debug/boot may have nested directories like
kernel/ and modules/.

Reviewed by:    markj
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D55077
DeltaFile
+2-2tools/build/mk/OptionalObsoleteFiles.inc
+2-21 files

LLVM/project 61caac5lldb/docs/resources formatterbytecode.rst

[lldb] Fix small error in formatterbytecode.rst (#182342)

DeltaFile
+1-1lldb/docs/resources/formatterbytecode.rst
+1-11 files