LLVM/project 1613ee7llvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.qsad.pk.u16.u8.ll llvm.amdgcn.mqsad.pk.u16.u8.ll

[AMDGPU][GISel] RegBankLegalize rules for QSAD intrinsics (#214328)
DeltaFile
+695-31llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mqsad.u32.u8.ll
+226-17llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mqsad.pk.u16.u8.ll
+226-10llvm/test/CodeGen/AMDGPU/llvm.amdgcn.qsad.pk.u16.u8.ll
+9-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+1,156-584 files

LLVM/project e8fe07dllvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU v_cvt_pk_u8_f32.ll

[AMDGPU][GISel] RegBankLegalize rule for amdgcn_cvt_pk_u8_f32 (#214325)
DeltaFile
+237-17llvm/test/CodeGen/AMDGPU/v_cvt_pk_u8_f32.ll
+2-1llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+239-182 files

LLVM/project c771d52clang/lib/CIR/CodeGen CIRGenExprComplex.cpp

[CIR][NFC] Fix code style warnings in CIRGenExprComplex (#214529)

Fixing code style warnings in the CIRGenExprComplex file
DeltaFile
+9-9clang/lib/CIR/CodeGen/CIRGenExprComplex.cpp
+9-91 files

DragonFlyBSD/src ac8b1c8share/man/man9 unr.9

unr.9: Fix typo.
DeltaFile
+1-1share/man/man9/unr.9
+1-11 files

DragonFlyBSD/src 003c13finclude ndbm.h, include/xlocale _monetary.h

Add <sys/cdefs.h> inclusion to a number of headers.

These are the last non-contrib headers that were using macros from
<sys/cdefs.h> but were not including it.
DeltaFile
+2-0sys/sys/_clock_id.h
+2-0include/xlocale/_monetary.h
+2-0include/ndbm.h
+1-0sys/sys/un.h
+1-0sys/sys/statvfs.h
+1-0sys/sys/_ucontext.h
+9-02 files not shown
+11-08 files

Illumos/gate f87c0a6usr/src/cmd/pfexecd pfexecd.c

18303 pfexecd door thread pool grows without bound
Reviewed by: Bill Sommerfeld <sommerfeld at hamachi.org>
Reviewed by: Jason King <jason.brian.king+illumos at gmail.com>
Approved by: Robert Mustacchi <rm+illumos at fingolfin.org>
DeltaFile
+54-9usr/src/cmd/pfexecd/pfexecd.c
+54-91 files

Illumos/gate b8d9741usr/src/lib/libsecdb/common chkauthattr.c secdb.c

18302 libsecdb crashes on memory exhaustion due to unchecked allocations
Reviewed by: Bill Sommerfeld <sommerfeld at hamachi.org>
Reviewed by: Jason King <jason.brian.king+illumos at gmail.com>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Robert Mustacchi <rm+illumos at fingolfin.org>
DeltaFile
+10-2usr/src/lib/libsecdb/common/secdb.c
+4-1usr/src/lib/libsecdb/common/chkauthattr.c
+14-32 files

LLVM/project 6f0ee44llvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.alignbyte.ll

[AMDGPU][GISel] RegBankLegalize rule for amdgcn_alignbyte (#214323)
DeltaFile
+329-157llvm/test/CodeGen/AMDGPU/llvm.amdgcn.alignbyte.ll
+1-1llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+330-1582 files

LLVM/project b27f231llvm/lib/Target/PowerPC PPCISelLowering.cpp, llvm/test/CodeGen/PowerPC fp-classify-nan.ll

Revert "Reland [PowerPC] improve performance on the isNan and !isNan function in case of -ffp-model=strict" (#214751)

the commit 7e1aba74a4f702dbd0b5c2ebc87f88dffb851b6e

cause following problem:

Commit
https://github.com/llvm/llvm-project/commit/7e1aba74a4f702dbd0b5c2ebc87f88dffb851b6e
moved setOperationAction(IS_FPCLASS, MVT::f32/f64, Custom) to an
unconditional block, causing all PPC targets — including
powerpc64-ibm-aix -m32 — to mark IS_FPCLASS as Custom. This exposed two
crashes when compiling compiler-rt/builtins for 32-bit AIX (-m32
-mcpu=pwr7):

Crash 1 — masks fcFinite/fcInf/fcInf|fcNan at -O2 (divdc3.c, muldc3.c)

At -O2, IS_FPCLASS nodes carry the nofpexcept flag. For mask 504
(fcFinite, from __builtin_isfinite under -ffp-model=strict) and mask 519
(fcInf|fcNan, injected post-legalize when SimplifySetCC transforms

    [23 lines not shown]
DeltaFile
+0-126llvm/test/CodeGen/PowerPC/fp-classify-nan.ll
+6-66llvm/lib/Target/PowerPC/PPCISelLowering.cpp
+6-1922 files

LLVM/project 95ed500llvm/lib/Target/AMDGPU SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU bf16.ll

[AMDGPU] Promote <2 x bfloat> select to i32 (#214598)

`select` on <2 x bfloat> has no operation action registered, so it
defaults to Expand. The vector legalizer scalarizes it into two 16-bit
selects, which are promoted to i16 and selected as a pair of
V_CNDMASK_B16 plus shifts and a repack to reassemble the result on
targets without true16.
DeltaFile
+46-155llvm/test/CodeGen/AMDGPU/bf16.ll
+2-0llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+48-1552 files

LLVM/project 0a57feellvm/test/CodeGen/AMDGPU dagcombine-fmul-sel.ll, llvm/test/CodeGen/AMDGPU/GlobalISel fma.bf16.ll legalize-fcanonicalize.mir

AMDGPU/GlobalISel: Legalize BF16 for FP math opcodes (#214059)

Make the BF16 form of G_FCONSTANT legal.

Widen BF16 G_FADD, G_FMUL, G_FMA, and G_FCANONICALIZE to F32.
DeltaFile
+1,459-966llvm/test/CodeGen/AMDGPU/dagcombine-fmul-sel.ll
+1,256-66llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fma.mir
+1,224-57llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fadd.mir
+969-113llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmul.mir
+523-47llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcanonicalize.mir
+555-0llvm/test/CodeGen/AMDGPU/GlobalISel/fma.bf16.ll
+5,986-1,2496 files not shown
+7,617-1,52712 files

Illumos/gate 1d7e188usr/src/cmd/format Makefile menu_scsi.c

18309 format: remove -Wno-clobbered
Reviewed by: Andy Fiddaman <illumos at fiddaman.net>
Approved by: Robert Mustacchi <rm+illumos at fingolfin.org>
DeltaFile
+1-1usr/src/cmd/format/menu_scsi.c
+0-1usr/src/cmd/format/Makefile
+1-22 files

FreeBSD/src 51f5623sys/geom/zero g_zero.c

geom_zero(4): reset the uio vector on each uiomove()

PR:     297062

(cherry picked from commit 34ca5a9e7362b0c820fe339daa2b8d06c58b6fea)
DeltaFile
+6-5sys/geom/zero/g_zero.c
+6-51 files

FreeNAS/freenas 7787e99src/middlewared/middlewared/plugins/pool_ utils.py dataset.py, tests/api2 test_pool_dataset_user_props.py

Validate user properties
DeltaFile
+30-11src/middlewared/middlewared/plugins/pool_/dataset.py
+24-0tests/api2/test_pool_dataset_user_props.py
+2-0src/middlewared/middlewared/plugins/pool_/utils.py
+56-113 files

HardenedBSD/src 16bac09sys/sys priv.h

HBSD: Resolve merge conflict

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

FreeBSD/src f68ca7crelease/pkg_repos release-dvd.conf, release/scripts pkg-stage.sh

Revert "release: Ship firmware from kmods repo on DVD"

This was a good idea, but we don't build metapackages in the kmods
repo so it ends up breaking the release build.  I might resurrect this
change if/when the kmods repo includes the wifi-firmware-kmod
metapackage.

This reverts commit bda8028146694ee490543b35e3349e060936fde4.

MFC after:      1 second
Approved by:    re (cperciva)

(cherry picked from commit ca0cff79320d49d3f10bd3aa3c472fa450a5c494)
(cherry picked from commit daf81f32f834f8619dceca745758983ccc767866)
DeltaFile
+7-18release/scripts/pkg-stage.sh
+0-7release/pkg_repos/release-dvd.conf
+7-252 files

FreeBSD/src daf81f3release/pkg_repos release-dvd.conf, release/scripts pkg-stage.sh

Revert "release: Ship firmware from kmods repo on DVD"

This was a good idea, but we don't build metapackages in the kmods
repo so it ends up breaking the release build.  I might resurrect this
change if/when the kmods repo includes the wifi-firmware-kmod
metapackage.

This reverts commit bda8028146694ee490543b35e3349e060936fde4.

MFC after:      1 second

(cherry picked from commit ca0cff79320d49d3f10bd3aa3c472fa450a5c494)
DeltaFile
+7-18release/scripts/pkg-stage.sh
+0-7release/pkg_repos/release-dvd.conf
+7-252 files

FreeBSD/src fdd93a3release/pkg_repos release-dvd.conf, release/scripts pkg-stage.sh

Revert "release: Ship firmware from kmods repo on DVD"

This was a good idea, but we don't build metapackages in the kmods
repo so it ends up breaking the release build.  I might resurrect this
change if/when the kmods repo includes the wifi-firmware-kmod
metapackage.

This reverts commit bda8028146694ee490543b35e3349e060936fde4.

MFC after:      1 second

(cherry picked from commit ca0cff79320d49d3f10bd3aa3c472fa450a5c494)
DeltaFile
+7-18release/scripts/pkg-stage.sh
+0-7release/pkg_repos/release-dvd.conf
+7-252 files

FreeBSD/src ca0cff7release/pkg_repos release-dvd.conf, release/scripts pkg-stage.sh

Revert "release: Ship firmware from kmods repo on DVD"

This was a good idea, but we don't build metapackages in the kmods
repo so it ends up breaking the release build.  I might resurrect this
change if/when the kmods repo includes the wifi-firmware-kmod
metapackage.

This reverts commit bda8028146694ee490543b35e3349e060936fde4.

MFC after:      1 second
DeltaFile
+7-18release/scripts/pkg-stage.sh
+0-7release/pkg_repos/release-dvd.conf
+7-252 files

LLVM/project e2336e6llvm/test/Transforms/LoopVectorize vplan-based-stride-mv-btc.ll

Update CHECKs after merge
DeltaFile
+16-16llvm/test/Transforms/LoopVectorize/vplan-based-stride-mv-btc.ll
+16-161 files

FreeBSD/src 2d25276lib/libifconfig libifconfig.c, sys/net rtsock.c

sys/socket.h: Fix AF_MAX

AF_MAX was always intended to be one more than the greatest allocated
value.  Jeff broke this in 2013.  Unfortunately, a bunch of people then
decided to adapt to the mistake instead of correcting it.

Fixes:          863c7e45628d (" - Reserve a special AF for SDP.  The one we were incorrectly using before    was taken by another AF.")
MFC after:      3 days
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Reviewed by:    kevans, glebius
Differential Revision:  https://reviews.freebsd.org/D58597

(cherry picked from commit ddd850aa7720f77b6605599655df898b16ed74cc)
DeltaFile
+3-3sys/netlink/route/rt.c
+2-2sys/net/rtsock.c
+2-2sys/net/route/route_helpers.c
+2-2lib/libifconfig/libifconfig.c
+3-1sys/sys/socket.h
+1-1sys/net/route/route_ddb.c
+13-113 files not shown
+16-149 files

FreeBSD/src 7d8fc2asys/sys mbuf.h

mbuf: Parenthesize macro arguments

MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.

(cherry picked from commit 744cc514567d33d38986f0ff7de009f786acc180)
DeltaFile
+1-1sys/sys/mbuf.h
+1-11 files

FreeBSD/src c0f8920lib/libifconfig libifconfig.c, sys/net rtsock.c

sys/socket.h: Fix AF_MAX

AF_MAX was always intended to be one more than the greatest allocated
value.  Jeff broke this in 2013.  Unfortunately, a bunch of people then
decided to adapt to the mistake instead of correcting it.

Fixes:          863c7e45628d (" - Reserve a special AF for SDP.  The one we were incorrectly using before    was taken by another AF.")
MFC after:      3 days
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Reviewed by:    kevans, glebius
Differential Revision:  https://reviews.freebsd.org/D58597

(cherry picked from commit ddd850aa7720f77b6605599655df898b16ed74cc)
DeltaFile
+3-3sys/netlink/route/rt.c
+2-2sys/net/rtsock.c
+2-2sys/net/route/route_helpers.c
+2-2lib/libifconfig/libifconfig.c
+3-1sys/sys/socket.h
+1-1sys/net/route/route_ddb.c
+13-113 files not shown
+16-149 files

FreeBSD/src bcee81bsys/sys mbuf.h

mbuf: Parenthesize macro arguments

MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.

(cherry picked from commit 744cc514567d33d38986f0ff7de009f786acc180)
DeltaFile
+1-1sys/sys/mbuf.h
+1-11 files

LLVM/project 21386d3clang/docs ClangFormatStyleOptions.rst ClangFormatStyleOptions.md, libc/test/shared CMakeLists.txt

Merge remote-tracking branch 'origin/main' into stride-mv-vscale-test
DeltaFile
+8,221-0clang/docs/ClangFormatStyleOptions.md
+0-8,043clang/docs/ClangFormatStyleOptions.rst
+2,087-1,967llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+2,999-0llvm/test/Analysis/CostModel/AArch64/load_store.ll
+904-909llvm/test/Analysis/CostModel/RISCV/rvv-extractelement.ll
+820-820libc/test/shared/CMakeLists.txt
+15,031-11,7391,424 files not shown
+56,641-38,7981,430 files

LLVM/project e16ea17llvm/test/Transforms/LoopVectorize vplan-based-stride-mv-btc.ll

Add `vscale_range` and force tail-folded RUN lines
DeltaFile
+1,104-210llvm/test/Transforms/LoopVectorize/vplan-based-stride-mv-btc.ll
+1,104-2101 files

LLVM/project 371f042clang-tools-extra/docs/clang-tidy Contributing.rst

[clang-tidy][docs] Note MISRA/AUTOSAR checks are not accepted (#214661)

Checks that directly reference MISRA/AUTOSAR are not accepted for
legal/license reasons. Generic overlapping checks without such links
remain fine.

Fixes #160940
DeltaFile
+6-0clang-tools-extra/docs/clang-tidy/Contributing.rst
+6-01 files

LLVM/project 26f2348offload/plugins-nextgen/amdgpu/src rtl.cpp, offload/plugins-nextgen/common/include PluginInterface.h

[offload] Use pinned memory for KLE

Reduce kernel launch latency by using the fast path "pinned host memory
-> device memory" for submitting the kernel launch environment to the
device.

Claude assisted with this patch.
DeltaFile
+71-0offload/test/offloading/kernel_launch_environment.c
+47-2offload/plugins-nextgen/common/src/PluginInterface.cpp
+14-0offload/plugins-nextgen/common/include/PluginInterface.h
+2-0offload/plugins-nextgen/amdgpu/src/rtl.cpp
+134-24 files

LLVM/project 9ecc43doffload/plugins-nextgen/amdgpu/src rtl.cpp, offload/plugins-nextgen/common/include MemoryManager.h PluginInterface.h

[offload] Pool host and shared allocations

Route them through a memory manager, like the device allocations. Also,
move the registration as pinned memory to the plugin site since only the
plugin knows if the corresponding host/shared memory is pinned.
Improves performance of affected allocations by ballpark 1,000x.
DeltaFile
+29-40offload/plugins-nextgen/common/src/PluginInterface.cpp
+14-6offload/plugins-nextgen/common/include/MemoryManager.h
+19-1offload/plugins-nextgen/common/include/PluginInterface.h
+12-0offload/plugins-nextgen/amdgpu/src/rtl.cpp
+6-5openmp/docs/design/Runtimes.rst
+80-525 files

LLVM/project a014f56offload/include/Shared APITypes.h, offload/plugins-nextgen/common/include PluginInterface.h

[offload] Thread allocation kind through async info

Claude assisted with this patch.
DeltaFile
+37-7offload/plugins-nextgen/common/src/PluginInterface.cpp
+5-2offload/include/Shared/APITypes.h
+2-2offload/plugins-nextgen/common/include/PluginInterface.h
+44-113 files