LLVM/project 4ad3b1f — llvm/include/llvm/Analysis ScalarEvolution.h, llvm/lib/Analysis ScalarEvolution.cpp

[SCEV] Add recursion depth limit to isKnownPredicate (NFC). (#246438)

Add a depth limit to isKnownPredicate, to restrict the depth of
recursive reasoning. The new isKnownPredicateImpl takes the current
recurion depth and gives up once the limit is reached.

Currently this only passes the depth through to
isKnownPredicateViaSplitting. isKnownViaInduction is not as
straight-forward, as it only indirectly calls isKnownPredicate via
isLoopEntryGuardedByCond/isLoopBackedgeGuardedByCond.

Split off from https://github.com/llvm/llvm-project/pull/208546.

PR: https://github.com/llvm/llvm-project/pull/246438
DeltaFile
+13-5llvm/lib/Analysis/ScalarEvolution.cpp
+5-4llvm/include/llvm/Analysis/ScalarEvolution.h
+18-92 files

LLVM/project e3ee4b7 — llvm/lib/Target/X86 X86.td, llvm/test/Transforms/LoopVectorize/X86 prefer-256-novalake.ll

[X86] Prefer 256-bit vectors for novalake (#238053)

As in title. This was missed during initial implementation. Novalake
should be inline with other arches wrt. to TuningPrefer256Bit
DeltaFile
+244-0llvm/test/Transforms/LoopVectorize/X86/prefer-256-novalake.ll
+2-1llvm/lib/Target/X86/X86.td
+246-12 files

LLVM/project fa9061f — offload/libacctarget DeviceManager.h DeviceManager.cpp, offload/test/acc api-no-device.f90 api-device-threads.f90

[offload][acc] Add the OpenACC DeviceManager

The DeviceManager maps the OpenACC device types and device numbers to the
devices of the plugin manager, and keeps the device selection ICVs of each
thread. Implement acc_get_num_devices, acc_get_device_type,
acc_set_device_type, acc_get_device_num and acc_set_device_num on top of it.

Add Fortran tests of these routines and of the ICVs being per thread. They use
the libacctarget_test module to bring the runtime up and down, until the
compiler driver does it.

Assisted-by: Claude Sonnet 5.5
DeltaFile
+301-0offload/libacctarget/DeviceManager.cpp
+152-0offload/test/acc/api-device.f90
+147-0offload/libacctarget/DeviceManager.h
+112-0offload/test/acc/api-device-threads.f90
+47-0offload/test/acc/api-no-device.f90
+23-0offload/test/acc/Inputs/libacctarget_test.f90
+782-04 files not shown
+819-510 files

LLVM/project c0abc97 — offload/tools/offload-tblgen AccGen.cpp

Fix alias insertion
DeltaFile
+2-2offload/tools/offload-tblgen/AccGen.cpp
+2-21 files

LLVM/project 8175905 — llvm/lib/Frontend/Offloading Utility.cpp

[Offload][NFC] Drop redundant using-directive for offloading::sycl (#246526)

Utility.cpp already qualifies its only sycl definition as
sycl::writeSymbolTable, so the file-scope using-directive for
llvm::offloading::sycl is unnecessary.

Assisted-By: Claude Code
DeltaFile
+0-1llvm/lib/Frontend/Offloading/Utility.cpp
+0-11 files

NextBSD/src bcb4423 — . build.sh

Live ISO: find the boot media by its NEXTBSD label only (#381) (#737)

/init took any /dev/cd0 as the boot medium. The mfsroot is the root
file system, so mountroot never waits for USB: on a machine with an
optical drive, cd0 attached before the USB stick, the settle loop
stopped on it, mount_cd9660 failed (no disc), and the one-pass
candidate loop gave up seconds before da0 and iso9660/NEXTBSD
appeared. init then pivoted into an empty union and the kernel
panicked: Going nowhere without my init!

Look only for /dev/iso9660/NEXTBSD, which GEOM_LABEL gives the
volume on a burned disc and on a USB stick alike. Retry each second
for up to 60 s until it mounts and holds rootfs.uzip, unmounting a
volume without one. If it never turns up, say so, list the labels
and disks, and hold a shell on the console; exiting it looks again.
No optical drive, one, or several make no difference now.

Closes #381

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+30-11build.sh
+30-111 files

LLVM/project 379c7a0 — clang/docs ReleaseNotes.md, clang/lib/Analysis CFG.cpp UninitializedValues.cpp

Reapply "[clang] Suppress -Wuninitialized for unevaluated builtin args" (#245821)

This reapplies f19973fdd2fe (#217816), reverted in 550bc0246c54, with a
different implementation.

f19973fdd2fe left the arguments of every builtin with the
`UnevaluatedArguments` attribute out of the CFG, as CFGBuilder already
did for `__builtin_object_size` and `__builtin_dynamic_object_size`.
A warning queued with DiagRuntimeBehavior is kept when its expression
has no CFG block, so warnings in branches of those arguments that fold
away were no longer dropped. This broke -Werror builds of the Linux
kernel, where MAYBE_BUILD_BUG_ON wraps ilog2() in
`__builtin_constant_p`:

__builtin_constant_p(n) ? ... : (sizeof(n) <= 4) ? __ilog2_u32(n) : ...

Now only the two object size builtins leave their arguments out of the
CFG, as before f19973fdd2fe. Instead, the uninitialized values analysis
ignores references in the arguments of any call for which

    [22 lines not shown]
DeltaFile
+27-0clang/test/Sema/uninit-variables.c
+27-0clang/lib/Analysis/UninitializedValues.cpp
+23-0clang/test/Analysis/cfg.cpp
+7-0clang/test/Sema/constant-conversion.c
+5-0clang/docs/ReleaseNotes.md
+3-0clang/lib/Analysis/CFG.cpp
+92-06 files

LLVM/project e361f9a — llvm/lib/Target/Mips Mips16HardFloat.cpp, llvm/test/CodeGen/Mips mips16-hf-strictfp.ll

[Mips] Do not create MIPS16 FP call stubs for constrained intrinsics (#246086)

Mips16HardFloat creates FP call stubs for calls to functions with FP
arguments or return values, except for a list of intrinsics that are
lowered inline. Constrained FP intrinsics were not on that list, so a
stub was created with the intrinsic's signature, including its metadata
parameters, and the module failed verification.

Treat constrained FP intrinsics like the unconstrained operations they
correspond to.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+45-0llvm/test/CodeGen/Mips/mips16-hf-strictfp.ll
+4-0llvm/lib/Target/Mips/Mips16HardFloat.cpp
+49-02 files

HardenedBSD/src 4d03586 — sbin/dhclient dhcpd.h packet.c, sbin/dhclient/tests functional.py

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+133-0usr.sbin/bhyve/tests/bhyve_test.sh
+81-1sbin/dhclient/tests/functional.py
+21-9sbin/dhclient/packet.c
+23-7sys/ofed/drivers/infiniband/core/ib_rdma_core.c
+6-6sbin/dhclient/dhcpd.h
+7-1sys/dev/iicbus/acpi_iicbus.c
+271-2413 files not shown
+303-3419 files

LLVM/project 9aafaa3 — llvm/lib/Target/AArch64/MCTargetDesc AArch64MCAsmInfo.cpp, llvm/lib/Target/ARM/MCTargetDesc ARMMCAsmInfo.cpp

[spr] initial version

Created using spr 2.0.0-beta.2
DeltaFile
+54-60llvm/lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp
+40-32llvm/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp
+30-30llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
+23-23llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmInfo.cpp
+20-20llvm/lib/Target/Lanai/MCTargetDesc/LanaiMCAsmInfo.cpp
+13-20llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCAsmInfo.cpp
+180-18523 files not shown
+255-34029 files

HardenedBSD/src edd79e5 — sbin/dhclient dhcpd.h packet.c, sbin/dhclient/tests functional.py

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+133-0usr.sbin/bhyve/tests/bhyve_test.sh
+81-1sbin/dhclient/tests/functional.py
+21-9sbin/dhclient/packet.c
+23-7sys/ofed/drivers/infiniband/core/ib_rdma_core.c
+6-6sbin/dhclient/dhcpd.h
+7-1sys/dev/iicbus/acpi_iicbus.c
+271-2413 files not shown
+303-3419 files

HardenedBSD/src 35b5764 — sys/netpfil/ipfw ip_dummynet.c, tests/sys/netpfil/common dummynet_config_test.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+190-0tests/sys/netpfil/pf/nat46.sh
+141-0tests/sys/netpfil/pf/pfsync.sh
+119-0tests/sys/netpfil/common/dummynet_config_test.c
+33-0tests/sys/netpfil/pf/ioctl/validation.c
+16-0sys/netpfil/ipfw/ip_dummynet.c
+13-0tests/sys/netpfil/pf/snmp.sh
+512-09 files not shown
+529-1315 files

LLVM/project 4092f92 — llvm/include/llvm/MC MCSectionCOFF.h MCAsmInfo.h, llvm/lib/MC MCAsmInfo.cpp MCAsmInfoCOFF.cpp

[MC][NFC] Remove virtual shouldOmitSectionDirective (#246682)

Remove the virtual hook shouldOmitSectionDirective in favor of a small
string set of section names that can be used without a .section
directive in MCAsmInfo. Also fold UsesELFSectionDirectiveForBSS into
this set and require explicit addition of .bss, as most targets do not
support .bss without .section.
DeltaFile
+7-18llvm/include/llvm/MC/MCAsmInfo.h
+7-12llvm/lib/MC/MCAsmInfoCOFF.cpp
+5-10llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCAsmInfo.cpp
+0-11llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.h
+0-6llvm/lib/MC/MCAsmInfo.cpp
+0-4llvm/include/llvm/MC/MCSectionCOFF.h
+19-6124 files not shown
+43-9230 files

HardenedBSD/ports cbe71fe — net/seaweedfs Makefile distinfo

net/seaweedfs: Update 4.53 to 4.55

Changelogs:
- https://github.com/seaweedfs/seaweedfs/releases/tag/4.54
- https://github.com/seaweedfs/seaweedfs/releases/tag/4.55

Approved by:    Boris Korzun <drtr0jan at yandex.ru> (maintainer), jrm (mentor)
Differential Revision:  https://reviews.freebsd.org/D62022
DeltaFile
+5-5net/seaweedfs/distinfo
+2-2net/seaweedfs/Makefile
+7-72 files

FreeBSD/ports cbe71fe — net/seaweedfs Makefile distinfo

net/seaweedfs: Update 4.53 to 4.55

Changelogs:
- https://github.com/seaweedfs/seaweedfs/releases/tag/4.54
- https://github.com/seaweedfs/seaweedfs/releases/tag/4.55

Approved by:    Boris Korzun <drtr0jan at yandex.ru> (maintainer), jrm (mentor)
Differential Revision:  https://reviews.freebsd.org/D62022
DeltaFile
+5-5net/seaweedfs/distinfo
+2-2net/seaweedfs/Makefile
+7-72 files

Linux/linux 822ba3a — arch/arm64/include/asm module.h, arch/arm64/kernel module-plts.c module.c

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

Pull arm64 fixes from Catalin Marinas:
 "Mostly missing barriers and break-before-make in kernel page table
  updates (fixmap, early ID map, KPTI) plus a livepatch fix for late PLT
  writes to read-only module text:

   - Fix missing barriers and break-before-make in kernel page table
     updates: ISBs after mapping the FDT in the initial ID map and after
     remapping the KPTI page-table slot; non-deferred barriers for
     fixmap entries in lazy MMU mode; break-before-make when overwriting
     a valid fixmap entry

   - Route late (livepatch) PLT and ADRP veneer writes through the
     text-poke API as the module's .plt section is read-only by then"

* tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
  arm64: fixmap: fix missing break-before-make in __set_fixmap()
  arm64: module: Use text-poke for late PLT/veneer emission

    [3 lines not shown]
DeltaFile
+42-17arch/arm64/kernel/module.c
+17-6arch/arm64/kernel/module-plts.c
+13-4arch/arm64/mm/fixmap.c
+3-0arch/arm64/include/asm/module.h
+1-0arch/arm64/mm/proc.S
+1-0arch/arm64/kernel/pi/map_kernel.c
+77-276 files

LLVM/project 92335b1 — llvm/lib/Support KnownFPClass.cpp

[KnownFPClass][NFC] Separate the negative zero deductions in sinh/tanh/asin (#246172)

Refactors `KnownFPClass::sinh/tanh/asin` so that they rule out
`fcNegZero` in a separate/dedicated clause. In general, these functions
are sign-preserving but have extra complexities when ruling out
-0.0/+0.0 (due to denormal flushing, and compensating for low quality
`libm` implementations), which is why these functions only attempt to
rule out -0.0 but not +0.0.

This also makes it more clear where `nsz` is applicable for
https://github.com/llvm/llvm-project/pull/241661
DeltaFile
+12-8llvm/lib/Support/KnownFPClass.cpp
+12-81 files

HardenedBSD/ports 0d72a2e — multimedia/wireplumber Makefile pkg-plist

multimedia/wireplumber: update to 0.5.19

PR:             301149
Approved by:    arrowd (maintainer)
DeltaFile
+3-3multimedia/wireplumber/distinfo
+3-1multimedia/wireplumber/pkg-plist
+1-1multimedia/wireplumber/Makefile
+7-53 files

FreeBSD/ports 0d72a2e — multimedia/wireplumber Makefile pkg-plist

multimedia/wireplumber: update to 0.5.19

PR:             301149
Approved by:    arrowd (maintainer)
DeltaFile
+3-3multimedia/wireplumber/distinfo
+3-1multimedia/wireplumber/pkg-plist
+1-1multimedia/wireplumber/Makefile
+7-53 files

FreeBSD/ports e541b9e — multimedia/pipewire Makefile distinfo

multimedia/pipewire: update to 1.6.12

PR:             301149
Approved by:    arrowd (maintainer)
DeltaFile
+4-4multimedia/pipewire/pkg-plist
+3-3multimedia/pipewire/distinfo
+1-1multimedia/pipewire/Makefile
+8-83 files

HardenedBSD/ports e541b9e — multimedia/pipewire Makefile distinfo

multimedia/pipewire: update to 1.6.12

PR:             301149
Approved by:    arrowd (maintainer)
DeltaFile
+4-4multimedia/pipewire/pkg-plist
+3-3multimedia/pipewire/distinfo
+1-1multimedia/pipewire/Makefile
+8-83 files

LLVM/project fad1241 — flang/docs Aliasing.md, flang/lib/Lower ConvertVariable.cpp Bridge.cpp

[flang] Mark all visible Cray pointer targets (#241388)

When a Cray pointer is set to a variable's address, flang gives that
variable the TARGET attribute so alias analysis knows the pointee can
modify it. It only caught `ptr = loc(x)` with nothing else on the
right-hand side, and it only marked `x`.

This patch marks anything passed to LOC or %LOC anywhere in the
procedure, its host or their internal procedures, however the result
is used. It also marks the variable behind an ASSOCIATE name,
everything that shares storage with a marked variable through
EQUIVALENCE or COMMON, and assumed-shape dummies, which were missed
before.

This fixes an EQUIVALENCE case that is already wrong at -O1 on main,
and it is needed before #230699 can remove the runtime call on
pointee references.

Assisted-by: Claude Code

    [3 lines not shown]
DeltaFile
+202-4flang/test/Lower/HLFIR/visible-cray-pointer-target.f90
+143-54flang/lib/Lower/Bridge.cpp
+6-0flang/docs/Aliasing.md
+2-0flang/lib/Lower/ConvertVariable.cpp
+353-584 files

FreeBSD/ports 2957623 — lang/idris2 Makefile pkg-plist

lang/idris2: Improve port

- Pet port{clippy,fmt,lint}.
- Simplify building and installing the port.
- Remove leftover file from pkg-plist after using sed.
- Use %%VERSION%% substitution in pkg-plist to reduce large diffs.

Reported by:    arrowd
Approved by:    Jens Grassel <freebsd-ports at jan0sch.de> (implicit)
DeltaFile
+850-851lang/idris2/pkg-plist
+13-11lang/idris2/Makefile
+863-8622 files

HardenedBSD/ports 2957623 — lang/idris2 Makefile pkg-plist

lang/idris2: Improve port

- Pet port{clippy,fmt,lint}.
- Simplify building and installing the port.
- Remove leftover file from pkg-plist after using sed.
- Use %%VERSION%% substitution in pkg-plist to reduce large diffs.

Reported by:    arrowd
Approved by:    Jens Grassel <freebsd-ports at jan0sch.de> (implicit)
DeltaFile
+850-851lang/idris2/pkg-plist
+13-11lang/idris2/Makefile
+863-8622 files

LLVM/project 5b7b9ec — libc/src/string CMakeLists.txt stpncpy.cpp

[libc][string] Optimize stpncpy() with strnlen() and inline_memcpy() (#246447)

The current stpncpy implementation copies characters using a byte by
byte loop before padding trailing null bytes with inline_bzero. Replace
the copy loop with internal::strnlen and inline_memcpy to leverage
vectorized string and memory operations, matching strncpy.

In a microbenchmark copying a 512 byte string into a 1024 byte buffer,
this reduces execution time by about 83%, or 6.1x faster.
DeltaFile
+12-6libc/src/string/stpncpy.cpp
+5-0libc/src/string/CMakeLists.txt
+17-62 files

Linux/linux 27db887 — arch/s390/kernel cert_store.c

Merge tag 's390-7.4-3' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux

Pull s390 fixes from Alexander Gordeev:

 - Fix the cert_store code keyring locking, lifetime handling, missing
   error and return code checks, several reference leaks and potential
   use-after-free issues caused by unbalanced keyring reference counting

 - Look up the cert_store keyring only in the user session keyring. As
   result a foreign keyring named "cert_store", which a task may have
   inherited, is no longer destroyed during refresh

 - Fix out-of-bounds reads in hash validation and in Verification
   Certificate Entry (VCE) debug output, avoid copying uninitialized
   DIAG 320 data to the debug area, and print the correct value of
   max_vcxe_length

 - Allocate the cert_store keyring with a link restriction, so that
   arbitrary keys cannot be linked into it

    [23 lines not shown]
DeltaFile
+87-52arch/s390/kernel/cert_store.c
+87-521 files

LLVM/project 362f937 — llvm/test/CodeGen/SPIRV/debug-info debug-amd-vendor-defaults.ll

Update test.
DeltaFile
+42-21llvm/test/CodeGen/SPIRV/debug-info/debug-amd-vendor-defaults.ll
+42-211 files

LLVM/project 9e57761 — llvm/lib/Target/SPIRV SPIRVNonSemanticDebugHandler.cpp

Format.
DeltaFile
+2-2llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.cpp
+2-21 files

LLVM/project 101dd0f — llvm/lib/Target/SPIRV SPIRVNonSemanticDebugHandler.h SPIRVOptions.td, llvm/test/CodeGen/SPIRV/debug-info debug-amd-vendor-defaults.ll

[SPIRV] Let explicit NSDI flags override AMD defaults
DeltaFile
+5-4llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.cpp
+4-4llvm/lib/Target/SPIRV/SPIRVOptions.td
+3-2llvm/test/CodeGen/SPIRV/debug-info/debug-amd-vendor-defaults.ll
+2-2llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.h
+14-124 files

LLVM/project 48bc1b6 — llvm/lib/Target/SPIRV SPIRVNonSemanticDebugHandler.h SPIRVNonSemanticDebugHandler.cpp, llvm/test/CodeGen/SPIRV/debug-info debug-amd-vendor-defaults.ll

[SPIRV] Enable NSDI features by default for AMD

Enable -spirv-debug-lexical-block-discriminator-scope,
-spirv-debug-scope-forward-refs and -spirv-debug-declare-untyped-variable
when the target vendor is AMD.
DeltaFile
+73-0llvm/test/CodeGen/SPIRV/debug-info/debug-amd-vendor-defaults.ll
+16-5llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.cpp
+11-5llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.h
+100-103 files