LLVM/project 4596278llvm/utils/gn/secondary/clang/lib/ScalableStaticAnalysis/Analyses BUILD.gn, llvm/utils/gn/secondary/clang/unittests/ScalableStaticAnalysis BUILD.gn

[gn build] Port ef118b5b3a61 (#209800)
DeltaFile
+1-0llvm/utils/gn/secondary/clang/unittests/ScalableStaticAnalysis/BUILD.gn
+1-0llvm/utils/gn/secondary/clang/lib/ScalableStaticAnalysis/Analyses/BUILD.gn
+2-02 files

LLVM/project ff58fb1llvm/test/CodeGen/AMDGPU trap.ll verify-sop.mir

AMDGPU: Migrate CodeGen tests to amdgpu subarch triple (52) (#209778)

Fold the explicit -mcpu subtarget into the amdgpu subarch triple on
llc/opt RUN lines (e.g. -mtriple=amdgcn -mcpu=gfx600 ->
-mtriple=amdgpu6.00), now that these tests carry an explicit -mcpu
following the default-subtarget pinning. Codegen output is unchanged.

Co-Authored-By: Claude <noreply at anthropic.com> (Claude-Opus-4.8)
DeltaFile
+18-18llvm/test/CodeGen/AMDGPU/trap.ll
+2-2llvm/test/CodeGen/AMDGPU/verify-sop.mir
+2-2llvm/test/CodeGen/AMDGPU/si-lower-sgpr-spills-cycle-header.mir
+2-2llvm/test/CodeGen/AMDGPU/si-lower-i1-copies.mir
+2-2llvm/test/CodeGen/AMDGPU/vop-shrink-frame-index.mir
+2-2llvm/test/CodeGen/AMDGPU/vop-shrink-non-ssa.mir
+28-2840 files not shown
+75-7546 files

LLVM/project bfc2d55llvm/test/CodeGen/AMDGPU llvm.amdgcn.unreachable.ll set-wave-priority.ll

AMDGPU: Migrate CodeGen tests to amdgpu subarch triple (51) (#209777)

Fold the explicit -mcpu subtarget into the amdgpu subarch triple on
llc/opt RUN lines (e.g. -mtriple=amdgcn -mcpu=gfx600 ->
-mtriple=amdgpu6.00), now that these tests carry an explicit -mcpu
following the default-subtarget pinning. Codegen output is unchanged.

Co-Authored-By: Claude <noreply at anthropic.com> (Claude-Opus-4.8)
DeltaFile
+4-4llvm/test/CodeGen/AMDGPU/llvm.amdgcn.unreachable.ll
+4-4llvm/test/CodeGen/AMDGPU/set-wave-priority.ll
+3-3llvm/test/CodeGen/AMDGPU/llc-pipeline-npm.ll
+2-2llvm/test/CodeGen/AMDGPU/rename-independent-subregs-mac-operands.mir
+2-2llvm/test/CodeGen/AMDGPU/llvm.amdgcn.div.fmas.ll
+2-2llvm/test/CodeGen/AMDGPU/rewrite-partial-reg-uses-dbg.mir
+17-1794 files not shown
+132-132100 files

LLVM/project 21db8e9llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly BUILD.gn

[gn build] Port 9a4deccf90ae (#209799)
DeltaFile
+3-0llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/BUILD.gn
+3-01 files

LLVM/project 0429183llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly BUILD.gn

[gn build] Port 2375505c7c19 (#209797)
DeltaFile
+1-0llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/BUILD.gn
+1-01 files

LLVM/project 5699900clang/test/AST/ByteCode virtual-bases.cpp

[clang][bytecode] Fix virtual-bases.cpp on 32 bit hosts (#209766)

It currently fails on clang-armv8-quick with:
```console
# | error: diagnostics with 'error' severity seen but not expected: 
# |   File /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/AST/ByteCode/virtual-bases.cpp Line 441: static assertion failed due to requirement '((__builtin_constant_p((char *)&c.c) ? ((char *)&c.c) : ((char *)&c.c)) - (__builtin_constant_p((char *)&c) ? ((char *)&c) : ((char *)&c))) == 12'
# |   File /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/AST/ByteCode/virtual-bases.cpp Line 442: static assertion failed due to requirement '((__builtin_constant_p((char *)&c.b) ? ((char *)&c.b) : ((char *)&c.b)) - (__builtin_constant_p((char *)&c) ? ((char *)&c) : ((char *)&c))) == 8'
# |   File /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/AST/ByteCode/virtual-bases.cpp Line 443: static assertion failed due to requirement '((__builtin_constant_p((char *)&c.a) ? ((char *)&c.a) : ((char *)&c.a)) - (__builtin_constant_p((char *)&c) ? ((char *)&c) : ((char *)&c))) == 20'
# |   File /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/AST/ByteCode/virtual-bases.cpp Line 444: static assertion failed due to requirement '((__builtin_constant_p((char *)&c.x) ? ((char *)&c.x) : ((char *)&c.x)) - (__builtin_constant_p((char *)&c) ? ((char *)&c) : ((char *)&c))) == 16'
# | error: diagnostics with 'note' severity seen but not expected: 
# |   File /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/AST/ByteCode/virtual-bases.cpp Line 441: expression evaluates to '8 == 12'
# |   File /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/AST/ByteCode/virtual-bases.cpp Line 442: expression evaluates to '4 == 8'
# |   File /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/AST/ByteCode/virtual-bases.cpp Line 443: expression evaluates to '16 == 20'
# |   File /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/AST/ByteCode/virtual-bases.cpp Line 444: expression evaluates to '12 == 16'
# | 8 errors generated.
```
DeltaFile
+7-0clang/test/AST/ByteCode/virtual-bases.cpp
+7-01 files

LLVM/project 7d638b4llvm/test/CodeGen/AMDGPU debug_frame.ll fadd-fma-fmul-combine.ll

AMDGPU: Migrate CodeGen tests to amdgpu subarch triple (50) (#209776)

Fold the explicit -mcpu subtarget into the amdgpu subarch triple on
llc/opt RUN lines (e.g. -mtriple=amdgcn -mcpu=gfx600 ->
-mtriple=amdgpu6.00), now that these tests carry an explicit -mcpu
following the default-subtarget pinning. Codegen output is unchanged.

Co-Authored-By: Claude <noreply at anthropic.com> (Claude-Opus-4.8)
DeltaFile
+4-4llvm/test/CodeGen/AMDGPU/debug_frame.ll
+4-4llvm/test/CodeGen/AMDGPU/fadd-fma-fmul-combine.ll
+4-4llvm/test/CodeGen/AMDGPU/ipra-regmask.ll
+3-3llvm/test/CodeGen/AMDGPU/force-alwaysinline-lds-global-address-codegen.ll
+3-3llvm/test/CodeGen/AMDGPU/allow-check.ll
+3-3llvm/test/CodeGen/AMDGPU/amdgpu-function-calls-option.ll
+21-2193 files not shown
+136-13699 files

LLVM/project 6352d84llvm/test/CodeGen/AMDGPU/GlobalISel xor.ll xnor.ll

AMDGPU: Migrate GlobalISel CodeGen tests to amdgpu subarch triple (49) (#209757)

Mechanically migrate the command-line target spelling on llc/opt RUN
lines in llvm/test/CodeGen/AMDGPU from -mtriple=amdgcn ... -mcpu=<gfx> to the
folded subarch triple form (e.g. -mtriple=amdgpu9.00-amd-amdhsa), dropping the
redundant -mcpu.

Co-Authored-By: Claude <noreply at anthropic.com> (Claude-Opus-4.8)
DeltaFile
+7-7llvm/test/CodeGen/AMDGPU/GlobalISel/xor.ll
+6-6llvm/test/CodeGen/AMDGPU/GlobalISel/xnor.ll
+5-5llvm/test/CodeGen/AMDGPU/GlobalISel/zextload.ll
+2-2llvm/test/CodeGen/AMDGPU/GlobalISel/wmma-gfx12-w32.ll
+2-2llvm/test/CodeGen/AMDGPU/GlobalISel/wmma-gfx12-w64.ll
+2-2llvm/test/CodeGen/AMDGPU/GlobalISel/wmma-gfx12-w64-swmmac-index_key.ll
+24-245 files not shown
+34-3411 files

LLVM/project ea9175fllvm/include/llvm/Transforms/Vectorize SLPVectorizer.h, llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

Revert "[SLP] Support memory runtime alias checks"

This reverts commit 96a53b1c5356754b4708c0fee8517fd0d69cb1fd to fix
buildbots https://lab.llvm.org/buildbot/#/builders/223/builds/7209
reported in https://github.com/llvm/llvm-project/pull/209305?email_source=notifications&email_token=ABI45DXMMB4TIQHXXWA6NYD5E57EVA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIOJYGA4TIMZVGU3KM4TFMFZW63VMON2GC5DFL5RWQYLOM5S2KZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-4980943556

Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/209793
DeltaFile
+17-824llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+0-315llvm/test/Transforms/SLPVectorizer/X86/runtime-alias-checks.ll
+10-41llvm/test/Transforms/SLPVectorizer/AArch64/loadi8.ll
+0-13llvm/include/llvm/Transforms/Vectorize/SLPVectorizer.h
+27-1,1934 files

FreeNAS/freenas 8655204src/middlewared/middlewared/api/base model.py

Protect from `expose_secrets` ambiguity
DeltaFile
+5-0src/middlewared/middlewared/api/base/model.py
+5-01 files

LLVM/project 930327eclang/test/OpenMP teams_distribute_parallel_for_simd_if_openmp52_codegen.cpp target_teams_distribute_parallel_for_simd_if_openmp52_codegen.cpp, llvm/test/CodeGen/AMDGPU/GlobalISel legalize-llvm.amdgcn.image.sample.a16.ll legalize-store-global.mir

Rebase

Created using spr 1.3.7
DeltaFile
+23,904-12llvm/test/CodeGen/RISCV/clmul.ll
+6,603-5,923llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.sample.a16.ll
+12,190-0clang/test/OpenMP/teams_distribute_parallel_for_simd_if_openmp52_codegen.cpp
+12,098-0clang/test/OpenMP/target_teams_distribute_parallel_for_simd_if_openmp52_codegen.cpp
+4,734-4,734llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-store-global.mir
+4,076-4,028llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.dim.a16.ll
+63,605-14,6978,214 files not shown
+363,898-245,1558,220 files

LLVM/project 4279d52llvm/lib/Target/AMDGPU AMDGPULowerVGPREncoding.cpp, llvm/test/CodeGen/AMDGPU vgpr-setreg-pred-block.mir

[AMDGPU][CodeGen] Place `S_NOP` after `S_SETREG_IMM32_B32` in predecessor MBB (#209620)

When placing a `S_SET_VGPR_MSB` at the beginning of a block, check
whether there exists a `S_SETREG_IMM32_B32(MODE)` in the predecessor
block that falls-through into it; if there is one a `S_NOP` has to be
inserted in between them.
DeltaFile
+165-0llvm/test/CodeGen/AMDGPU/vgpr-setreg-pred-block.mir
+30-11llvm/lib/Target/AMDGPU/AMDGPULowerVGPREncoding.cpp
+195-112 files

LLVM/project 2cd090acompiler-rt/cmake base-config-ix.cmake builtin-config-ix.cmake, compiler-rt/cmake/Modules CompilerRTUtils.cmake AllSupportedArchDefs.cmake

[compiler-rt] Fix amdgcn -> amdgpu conversion for compiler-rt (#209765)

Summary:
We are apparently transitioning to using `amdgpu` everywhere, so these
need to be updated.
DeltaFile
+1-1compiler-rt/cmake/Modules/CompilerRTUtils.cmake
+1-1compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
+1-1compiler-rt/cmake/base-config-ix.cmake
+1-1compiler-rt/cmake/builtin-config-ix.cmake
+1-0compiler-rt/lib/builtins/CMakeLists.txt
+5-45 files

LLVM/project 4b415b1clang/lib/Driver ToolChain.cpp, clang/test/Driver amdgpu-toolchain.c

[Clang][AMDGPU] Search both amdgcn and amdgpu libraries (#209770)

Summary:
Temporary workaround as we transition triples from amdgcn to amdgpu.
DeltaFile
+8-0clang/lib/Driver/ToolChain.cpp
+6-0clang/test/Driver/amdgpu-toolchain.c
+0-0clang/test/Driver/Inputs/resource_dir_with_amdgpu_per_target_subdir/lib/amdgpu-amd-amdhsa/libclang_rt.profile.a
+14-03 files

OPNSense/src 4584365sys/dev/igc if_igc.c

igc another test
DeltaFile
+3-30sys/dev/igc/if_igc.c
+3-301 files

FreeBSD/ports 28beaaaTools/scripts pypi-find-projects-containing-string.py

Tools/scripts: Add pypi-find-projects-containing-string.py

This is a useful script allowing to find all Python projects
containing a given string.

Usage example:
$ pypi-find-projects-containing-string.py freebsd
DeltaFile
+60-0Tools/scripts/pypi-find-projects-containing-string.py
+60-01 files

LLVM/project 6526c5bllvm/lib/Target/AMDGPU AMDGPUISelLowering.cpp, llvm/test/CodeGen/AMDGPU udivrem24.ll div-rem-fast-path.ll

[AMDGPU] Avoid errors with 24-bit div/rem (#209711)

Avoid errors when using floating-point reciprocal to calculate Y/X when
Y = (0x7FFFFF/X)*X-1. Limit expansion to 23-bit signed and 22-bit
unsigned to avoid this issue.

This change is analogous to the change done in
https://github.com/llvm/llvm-project/pull/202753, but in
AMDGPUISelLowering.cpp.

Signed-off-by: John Lu <John.Lu at amd.com>
DeltaFile
+138-121llvm/test/CodeGen/AMDGPU/udivrem24.ll
+114-76llvm/test/CodeGen/AMDGPU/div-rem-fast-path.ll
+44-38llvm/test/CodeGen/AMDGPU/udiv.ll
+33-23llvm/test/CodeGen/AMDGPU/sdiv.ll
+15-11llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
+8-12llvm/test/CodeGen/AMDGPU/sdivrem24.ll
+352-2813 files not shown
+369-2989 files

LLVM/project 78c8cf7utils/bazel/llvm-project-overlay/lldb/source/Plugins BUILD.bazel

[lldb][bazel] Add ObjectFileXCOFF plugin library to the Bazel overlay (#209747)

Adds the PluginObjectFileXCOFF cc_library to the lldb Bazel overlay,
modeled on PluginObjectFileELF/PluginObjectFileCOFF and mirroring
source/Plugins/ObjectFile/XCOFF/CMakeLists.txt (lldbCore, lldbHost,
lldbSymbol, lldbTarget; llvm BinaryFormat/Object/Support). The library
is intentionally left out of DEFAULT_PLUGINS.

bazel rule assisted with: claude

Can confirm this library will convert to BUCK internally at Meta and
build with buck2 where we do have in the default plugin list. I left it
out here, unless there's a desire to add it in.
DeltaFile
+19-0utils/bazel/llvm-project-overlay/lldb/source/Plugins/BUILD.bazel
+19-01 files

LLVM/project 35182ecutils/bazel/llvm-project-overlay/lldb/source/Plugins BUILD.bazel

[lldb][bazel] Add PlatformWasm plugin library to the Bazel overlay (#209749)

Adds the PluginPlatformWasm cc_library plus its PlatformWasmProperties
gentbl_cc_library (settings .td, modeled on PlatformQemuUserProperties)
to the lldb Bazel overlay. Deps mirror
source/Plugins/Platform/WebAssembly/CMakeLists.txt (lldbCore, lldbHost,
lldbTarget, lldbUtility, Support) plus the :PluginPlatformGDB and
:PluginProcessWasm plugin deps its GDB-remote/Web-Inspector sources use.
The library is intentionally left out of DEFAULT_PLUGINS.

bazel rule assisted with: claude

Can confirm this library will convert to BUCK internally at Meta and
build with buck2 where we do have in the default plugin list. I left it
out here, unless there's a desire to add it in.
DeltaFile
+32-0utils/bazel/llvm-project-overlay/lldb/source/Plugins/BUILD.bazel
+32-01 files

LLVM/project 15a2007clang/lib/CIR/CodeGen CIRGenBuiltinAMDGPU.cpp, clang/test/CIR/CodeGenHIP builtins-amdgcn.hip builtins-amdgcn-gfx1250.hip

[CIR][AMDGPU] Add support for AMDGCN sqrt builtins (#197342)

Adds codegen for the following AMDGCN square root builtins:

- __builtin_amdgcn_sqrt (double)
- __builtin_amdgcn_sqrtf (float)
- __builtin_amdgcn_sqrth (half)
- __builtin_amdgcn_sqrt_bf16 (bfloat16)

These are lowered to the corresponding `llvm.amdgcn.sqrt` intrinsic calls.
DeltaFile
+16-0clang/test/CIR/CodeGenHIP/builtins-amdgcn.hip
+8-0clang/test/CIR/CodeGenHIP/builtins-amdgcn-gfx1250.hip
+8-0clang/test/CIR/CodeGenHIP/builtins-amdgcn-vi-f16.hip
+1-4clang/lib/CIR/CodeGen/CIRGenBuiltinAMDGPU.cpp
+33-44 files

LLVM/project 1725c53mlir/include/mlir/Dialect/OpenACC OpenACCCGAttributes.td OpenACCUtilsCG.h, mlir/lib/Dialect/OpenACC/Transforms ACCCGToGPU.cpp

[mlir][acc] Add attribute for redundant execution marking (#209784)

Adds `acc.gpu_block_redundant` attribute for correct gang-redundant
lowering.

OpenACC gang-redundant regions execute on every gang rather than
partitioning work across gangs. When lowering to the GPU dialect, such
regions must not be assigned block-level par dims; only thread-level
parallelism applies. This marks loops with this attribute to ensure
proper execution and to avoid incorrect predication.

Co-authored-by: Delaram Talaashrafi <dtalaashrafi at nvidia.com>
DeltaFile
+38-0mlir/test/Dialect/OpenACC/acc-cg-to-gpu-block-redundant.mlir
+11-0mlir/include/mlir/Dialect/OpenACC/OpenACCCGAttributes.td
+10-0mlir/include/mlir/Dialect/OpenACC/OpenACCUtilsCG.h
+7-2mlir/lib/Dialect/OpenACC/Transforms/ACCCGToGPU.cpp
+9-0mlir/lib/Dialect/OpenACC/Utils/OpenACCUtilsCG.cpp
+75-25 files

FreeNAS/freenas c35e168src/middlewared/middlewared/plugins/container container_device_crud.py, src/middlewared/middlewared/plugins/truecommand config.py

Update remaining `model_dump` calls
DeltaFile
+1-1src/middlewared/middlewared/plugins/container/container_device_crud.py
+1-1src/middlewared/middlewared/plugins/truecommand/config.py
+1-1src/middlewared/middlewared/plugins/vm/vm_device_crud.py
+3-33 files

FreeBSD/src fc09c7fsys/net iflib.c

iflib: Remove an unused field from struct iflib_rxq

Reported by:    Alexander Sideropoulos <Alexander.Sideropoulos at netapp.com>
MFC after:      1 week
DeltaFile
+0-1sys/net/iflib.c
+0-11 files

OpenBSD/src BJPUnTolib/libssl ssl_clnt.c

   Check that the server selected ciphersuite is valid for use with TLSv1.2.

   In the legacy stack, ensure that the server selected ciphersuite is valid
   for use with TLSv1.2 - this effectively means that it is not a TLSv1.3
   ciphersuite. We currently fail the handshake, but at a later stage.

   Reported by Tom Gouville from the tlspuffin team.

   ok tb@
VersionDeltaFile
1.175+9-0lib/libssl/ssl_clnt.c
+9-01 files

FreeBSD/src 8318199sys/kern link_elf.c

linker: Recognize SHT_INIT_ARRAY sections as constructor sections

We do this already for ET_REL files, but it was missed here.  Note that
this function operates only on dynamically loaded files, not on
preloaded files.

Reviewed by:    kib
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D58245
DeltaFile
+3-2sys/kern/link_elf.c
+3-21 files

FreeBSD/src 4b0ae7estand/common load_elf.c

stand: Recognize SHT_INIT_ARRAY sections as constructor sections

Pass such a section to the kernel using modinfo, otherwise link_elf.c
won't execute constructors for the file.  This is required for KASAN,
otherwise redzones for global buffers are not poisoned during boot.

Reviewed by:    kib
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D58244
DeltaFile
+2-1stand/common/load_elf.c
+2-11 files

FreeNAS/freenas 346f1e5src/middlewared/middlewared/plugins/container lifecycle.py, tests/api2 test_container_mknod.py

Inject mknod for privileged Allow-All containers

## Problem
A privileged container with `capabilities_policy` "ALLOW" keeps every capability in the bounding set, but libvirt only widens the LXC cgroup device ACL when an explicit `<mknod state='on'/>` child is emitted. As a result "Allow All" can't create device nodes, so Docker fails to extract images whose layers contain overlay whiteouts (character 0:0 nodes made via mknod) even though CAP_MKNOD is present.

## Solution
For privileged containers (idmap None) under an ALLOW policy, inject the mknod capability unless the user set it explicitly, so libvirt emits `<mknod state='on'/>` and widens the device ACL — making "Allow All" actually allow device-node creation. Adds an api2 integration test asserting such a container can mknod a device node, run under the container's own cgroup (via systemd-run) since that is where the device ACL applies.
DeltaFile
+60-0tests/api2/test_container_mknod.py
+15-0src/middlewared/middlewared/plugins/container/lifecycle.py
+75-02 files

OPNSense/src 1266f4esys/dev/igc if_igc.c

igc: test 4
DeltaFile
+1-45sys/dev/igc/if_igc.c
+1-451 files

LLVM/project 649466amlir/include/mlir/Dialect/OpenACC OpenACCCGOps.td

[NFC][OpenACC] fix doc formatting for reduction ops (#209739)

Was not printing correctly due to the matching `$`
DeltaFile
+7-7mlir/include/mlir/Dialect/OpenACC/OpenACCCGOps.td
+7-71 files

FreeBSD/ports cddddc8devel/gprbuild Makefile

devel/gprbuild: ignore on i386

It builds fine, but cannot be used to build the other ports.

PR:             296655
DeltaFile
+3-0devel/gprbuild/Makefile
+3-01 files