LLVM/project 33605fdllvm/lib/Analysis ScalarEvolution.cpp

[SCEV] Update comment for check BE formula in howManyLT (NFC) (#219170)

Update outdate comments around the code for picking the check BE
formula. It includes the following updates:

* define End = max(RHS,Start), as used later, use instead of incorrect
max(End,Start)
* precondition for the code use check min(RHS,Start) > Start - Stride
* update remaining test to be consistent
* Stride = umax(1, Stride) instead of umin, which matches the code
above; umin would not avoid divide by 0.


Preparation for https://github.com/llvm/llvm-project/pull/218694

PR: https://github.com/llvm/llvm-project/pull/219170
DeltaFile
+18-20llvm/lib/Analysis/ScalarEvolution.cpp
+18-201 files

LLVM/project 179c7dcllvm/lib/Target/AMDGPU SIInstrInfo.h SIInstrInfo.cpp

AMDGPU: Pass MachineRegisterInfo to getImmOrMaterializedImm (#219422)

The only used the operand to reach the MachineRegisterInfo. Pass it
directly so it no longer depends on MachineOperand::getParent().

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
DeltaFile
+8-8llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
+3-3llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
+2-2llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+2-1llvm/lib/Target/AMDGPU/SIInstrInfo.h
+15-144 files

LLVM/project 2dad524lldb/source/Target Process.cpp, lldb/unittests/Target MemoryTest.cpp

[lldb] Reject an unusable memory-cache-line-size (#219217)

`target.process.memory-cache-line-size` is an unbounded `UInt64`, so
`settings set` accepts 0, and `MemoryCache` keeps the value in a
`uint32_t`, so it also accepts any multiple of 2^32, which truncates to
0.  Every consumer then takes a remainder by 0.

`Process::ReadCStringFromMemory` divides on the first iteration of its
loop, before it touches inferior memory, so any address reproduces it.
On an x86_64 host that is a `SIGFPE` and lldb dies; on AArch64 `udiv` by
zero yields 0, so `addr % 0` evaluates to `addr` and the subtraction
underflows to a huge chunk size, and the bug hides.

```
$ lldb -b \
    -o 'settings set target.process.memory-cache-line-size 0' \
    -o 'target create --core linux-x86_64.core'
Floating point exception: 8
```

    [36 lines not shown]
DeltaFile
+39-0lldb/unittests/Target/MemoryTest.cpp
+8-0lldb/source/Target/Process.cpp
+47-02 files

FreeBSD/ports a23cb63graphics/nvidia-drm-66-kmod distinfo, graphics/nvidia-drm-latest-kmod distinfo

x11/nvidia-driver, x11/nvidia-kmod, x11/linux-nvidia-libs, graphics/nvidia-drm*-kmod, x11/nvidia-settings, x11/nvidia-xconfig: Update to 595.99.02

Update to latest Production Branch of drivers 595.99.02:
https://www.nvidia.com/en-us/drivers/details/278287/

Linux counterparts for x11/linux-nvidia-libs:
https://www.nvidia.com/en-us/drivers/details/278285/

PR:             298013
Differential Revision:  https://reviews.freebsd.org/D59248
DeltaFile
+3-3x11/nvidia-xconfig/distinfo
+3-3x11/nvidia-settings/distinfo
+3-3x11/nvidia-driver/distinfo
+3-3x11/linux-nvidia-libs/distinfo
+3-3graphics/nvidia-drm-latest-kmod/distinfo
+3-3graphics/nvidia-drm-66-kmod/distinfo
+18-186 files not shown
+30-3012 files

LLVM/project 0ab4db4llvm/lib/Target/AMDGPU AMDGPUUniformIntrinsicCombine.cpp, llvm/test/CodeGen/AMDGPU redundant-ballot-reads.ll

Revert "[AMDGPU] Combine redundant ballot intrinsic calls (#218357)" (#218962)

This reverts commit 2be211bb2ab35461520530f37e3faf382dc644d5.
DeltaFile
+0-448llvm/test/CodeGen/AMDGPU/redundant-ballot-reads.ll
+5-170llvm/lib/Target/AMDGPU/AMDGPUUniformIntrinsicCombine.cpp
+5-6182 files

OpenBSD/ports MmN5T2fx11/gnome/papers Makefile

   Lowercase COMMENT.
VersionDeltaFile
1.9+3-1x11/gnome/papers/Makefile
+3-11 files

NetBSD/pkgsrc eCBpymydoc CHANGES-2026

   Updated www/py-starlette, www/py-jwcrypto
VersionDeltaFile
1.5620+3-1doc/CHANGES-2026
+3-11 files

FreeBSD/ports 743416cmisc/fq Makefile distinfo, misc/fq/files modules.txt

misc/fq: update the port to version 0.18.0

Now it comes with the official manual page!

Notified by:    upstream (the author), portscout
DeltaFile
+21-21misc/fq/distinfo
+15-12misc/fq/Makefile
+10-11misc/fq/files/modules.txt
+46-443 files

LLVM/project 770ea2ellvm/lib/Target/RISCV RISCVInstrInfo.h RISCVVLOptimizer.cpp

RISCV: Pass MachineRegisterInfo to isVLKnownLE (#219402)

isVLKnownLE and its getEffectiveImm helper used the VL operands to reach
the MachineRegisterInfo. Pass it directly so they no longer depend on
MachineOperand::getParent().

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
DeltaFile
+8-8llvm/lib/Target/RISCV/RISCVVectorPeephole.cpp
+8-8llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
+7-7llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp
+2-1llvm/lib/Target/RISCV/RISCVInstrInfo.h
+25-244 files

NetBSD/pkgsrc 28ApdLVwww/py-jwcrypto PLIST distinfo

   py-jwcrypto: updated to 1.5.9

   1.5.9

   Add ML-DSA post-quantum signature support (RFC 9964)
   Support fully specified algorithms per RFC 9864
   Skip unknown kty in JWKSet import per RFC 7517 §5
   Reject non-empty encrypted key in bare ECDH-ES
   Limit dot splits during JWE and JWS parsing
VersionDeltaFile
1.15+4-5www/py-jwcrypto/Makefile
1.11+4-4www/py-jwcrypto/distinfo
1.5+4-1www/py-jwcrypto/PLIST
+12-103 files

NetBSD/pkgsrc WDtjEYXwww/py-starlette PLIST distinfo

   py-starlette: updated to 1.6.0

   1.6.0 (August 8, 2026)

   Added

   * Add `max_body_size` to `Starlette` and route classes
   * Expose `http.response.debug` information via response extensions
VersionDeltaFile
1.18+8-7www/py-starlette/Makefile
1.17+4-4www/py-starlette/distinfo
1.3+4-1www/py-starlette/PLIST
+16-123 files

OPNSense/core 3fc11b2src/etc/inc system.inc

system: normalize output if gateways aren't provided. Closes https://github.com/opnsense/core/issues/10800
DeltaFile
+1-1src/etc/inc/system.inc
+1-11 files

OPNSense/core 689b926src/etc/inc interfaces.inc

interfaces: batch VIP post-reload for proxyarp/pfsync #10810
DeltaFile
+10-7src/etc/inc/interfaces.inc
+10-71 files

NetBSD/pkgsrc s5Sm3lzdoc CHANGES-2026

   doc: Updated net/pptp to 1.7.1nb2
VersionDeltaFile
1.5619+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc UATN6Ffnet/pptp distinfo Makefile, net/pptp/patches patch-ah

   pptp: honor CFLAGS and LDFLAGS

   Bump PKGREVISION.
VersionDeltaFile
1.4+17-6net/pptp/patches/patch-ah
1.13+2-2net/pptp/distinfo
1.24+2-2net/pptp/Makefile
+21-103 files

OpenBSD/ports mG7doC9multimedia/libcamera Makefile

   Tweak comment, no pkg change.
VersionDeltaFile
1.5+1-1multimedia/libcamera/Makefile
+1-11 files

OPNSense/core a410dc4src/opnsense/www/js opnsense_bootgrid.js

ui: Fix _showMaximized() height calculation when mobile navigation triggers below 768px width
DeltaFile
+3-1src/opnsense/www/js/opnsense_bootgrid.js
+3-11 files

LLVM/project f12785ellvm/lib/Target/AMDGPU SIInstrInfo.h SIInstrInfo.cpp

AMDGPU: Pass MachineRegisterInfo to getImmOrMaterializedImm

The only used the operand to reach the MachineRegisterInfo. Pass it
directly so it no longer depends on MachineOperand::getParent().

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
DeltaFile
+8-8llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
+3-3llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
+2-2llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+2-1llvm/lib/Target/AMDGPU/SIInstrInfo.h
+15-144 files

OPNSense/core 3e4cc0fsrc/etc/inc interfaces.inc

interfaces: revert passing $all_devices for now

This is so that the next patch can be backported cleanly.
DeltaFile
+4-5src/etc/inc/interfaces.inc
+4-51 files

LLVM/project dc3696bllvm/include/llvm/CodeGen TargetInstrInfo.h, llvm/lib/CodeGen MachineVerifier.cpp

CodeGen: Pass instruction and operand index to isPCRelRegisterOperandLegal

Replace the MachineOperand argument to the
TargetInstrInfo::isPCRelRegisterOperandLegal hook with the containing
instruction and operand index. The M68k implementation only used the operand
to recover its parent instruction and operand number, so this drops the
dependence on MachineOperand::getParent().

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
DeltaFile
+8-10llvm/lib/Target/M68k/M68kInstrInfo.cpp
+5-3llvm/include/llvm/CodeGen/TargetInstrInfo.h
+2-1llvm/lib/Target/M68k/M68kInstrInfo.h
+1-1llvm/lib/CodeGen/MachineVerifier.cpp
+16-154 files

NetBSD/pkgsrc bfhhZVbmeta-pkgs/bulk-test-go Makefile

   bulk-test-go: Update Terraform/OpenTofu dependencies

   Build all Terraform and OpenTofu versions and adjust DEPENDS for
   providers that have now version suffixes in PKGNAME and PKGPATH.

   Noticed via pkgsrc-bulk@ and thanks to <jperkin>!
VersionDeltaFile
1.17+16-7meta-pkgs/bulk-test-go/Makefile
+16-71 files

LLVM/project 9f89076clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/zvabd/policy/non-overloaded vabdu.c, libcxx/test/std/language.support/support.limits/support.limits.general version.version.compile.pass.cpp

Merge branch 'main' into users/gandhi56/revert-combine-redundant-ballot
DeltaFile
+0-6,246llvm/test/CodeGen/AMDGPU/NextUseAnalysis/test_ers_nested_loops.mir
+0-4,877llvm/test/CodeGen/AMDGPU/NextUseAnalysis/test_ers_emit_restore_in_loop_preheader2.mir
+2,428-0llvm/test/CodeGen/SPIRV/extensions/SPV_EXT_long_vector/unmerge-crash-0.ll
+2,426-0llvm/test/CodeGen/SPIRV/extensions/SPV_EXT_long_vector/unmerge-crash-1.ll
+2,372-2libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
+1,449-52clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/zvabd/policy/non-overloaded/vabdu.c
+8,675-11,1771,729 files not shown
+86,586-42,5911,735 files

OpenBSD/src RXhxk2Nusr.bin/pkgconf/cli core.c, usr.bin/pkgconf/libpkgconf path.c libpkgconf.h

   Update to pkgconf 3.0.6

   This mostly adds OS/2 support. The only change relevant for OpenBSD is

     - --variable accepts multiple modules and prints the requested
       variable's value for each module, in argument order.  --path and
       --print-variables remain limited to a single module.

   Which is the diff in cli/core.c. Apart from that little to nothing
   changes for us (some #ifdefs cause line numbers to change).

   ok djm
VersionDeltaFile
1.4+16-8usr.bin/pkgconf/libpkgconf/stdinc.h
1.4+7-3usr.bin/pkgconf/libpkgconf/pkg.c
1.3+2-6usr.bin/pkgconf/cli/core.c
1.2+6-0usr.bin/pkgconf/libpkgconf/libpkgconf-api.h
1.3+2-2usr.bin/pkgconf/libpkgconf/path.c
1.3+2-2usr.bin/pkgconf/libpkgconf/libpkgconf.h
+35-212 files not shown
+38-248 files

LLVM/project fce0156llvm/lib/CodeGen/SelectionDAG TargetLowering.cpp, llvm/test/CodeGen/X86 intrinsic-cttz-elts.ll

[SelectionDAG] Preserve CTTZ_ELTS lane count during expansion (#217982)

Fixes #216649

`expandCttzElts` derives `VL` from its legalized auxiliary step vector.
When that helper vector is widened for target legality, its lane count
may differ from the logical lane count of the `CTTZ_ELTS` operand.

On X86 with AVX512F, the step vector for a semantic `<4 x i1>` mask is
widened from `v4i8` to `v16i8`. As a result, an all-zero
`llvm.experimental.cttz.elts` input returns 16 instead of the required
result of 4.

Preserve the `ElementCount` from the `CTTZ_ELTS` operand and use it when
materializing `VL`. Auxiliary step-vector legalization can still widen
its representation without changing the logical lane domain of the
operation.

Add AVX512F regression coverage for the affected `v4i1` and `v8i1`

    [3 lines not shown]
DeltaFile
+95-0llvm/test/CodeGen/X86/intrinsic-cttz-elts.ll
+5-5llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+100-52 files

LLVM/project e86c19dclang/docs ReleaseNotes.md, clang/lib/Sema SemaCoroutine.cpp

[Clang] Fix -Wunused-parameter for implicit coroutine uses (#217518)

Clang's coroutine semantic analysis builds references to coroutine
parameters
while looking up a class-specific allocation function. When overload
resolution
falls back to a size-only `operator new`, these speculative references
currently
suppress `-Wunused-parameter`.

Preserve each parameter's referenced state while collecting placement
arguments, then mark the parameters referenced only when those arguments
are
included in the selected allocation call. Keep this distinction when
placement
arguments are replaced by `std::nothrow`.

Apply the same rule to promise initialization: when initialization using
the

    [16 lines not shown]
DeltaFile
+44-0clang/test/SemaCXX/warn-unused-parameters-coroutine.cpp
+30-3clang/lib/Sema/SemaCoroutine.cpp
+5-0clang/docs/ReleaseNotes.md
+79-33 files

LLVM/project b085518.github/workflows release-binaries.yml, clang/cmake/caches Release.cmake

Revert "Revert "workflows/release-binaries: Disable flang on Darwin (#164667)"" (#218978)

Reverts llvm/llvm-project#216667

This change was ported to the `release/23.x` branch in #217059, and when
we created the first release that included this change (3.1.0), the job
for the MacOS ARM binaries was killed when the job hit the 6 hour mark.
Previous 3.1.0-rc release did not include this change and all completed
well within the 6 hour time out.

To enable the job that builds the release binaries to complete within
the allotted time, I am reverting this change which will essentially
disable flang from building on Darwin.

In the future if we get faster builders, we can explore re-enabling
building flang.

(cherry picked from commit 3d771f477aa026ca41cb3c4e492d7a07fa852cbe)
DeltaFile
+8-2clang/cmake/caches/Release.cmake
+0-7.github/workflows/release-binaries.yml
+8-92 files

LLVM/project aedf7d6llvm/lib/Target/X86 X86ISelLowering.cpp

[X86] LowerAVXCONCAT_VECTORS - fix some clang-format messiness. NFC. (#218504)

Bad indentation and missing braces

Pulled out of #218381 to simplify functional diff

(cherry picked from commit a6eb1e1e75a2d29f8f458c6ee513ae5b030ff9a0)
DeltaFile
+11-12llvm/lib/Target/X86/X86ISelLowering.cpp
+11-121 files

LLVM/project 55a6a0bllvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 vector-shuffle-combining-avx512f.ll

[X86] LowerAVXCONCAT_VECTORS - collect all subvector operands before ReplaceAllUsesWith call (#218381)

We can end up referencing a node replaced with ISD::DELETED_NODE

Fixes #218379

(cherry picked from commit 7bced7f78781d3bdc179e64c777f50ef46ab1375)
DeltaFile
+43-0llvm/test/CodeGen/X86/vector-shuffle-combining-avx512f.ll
+12-13llvm/lib/Target/X86/X86ISelLowering.cpp
+55-132 files

LLVM/project 4dea21ellvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/X86 reduction-vals-used-as-load-indices.ll

[SLP]Extend GEP pointer-chain cost to casts and non-root external uses

Cherry-pick of 084c5507ee0146a7506f3117868082162760b689 to release/23.x.
Fixes AArch64 regression introduced by 376311097a27a6eb99ec2614e7c39c97ce33172f.

Original Pull Request: #216520
Recommit after perf regression fixes: #217683
DeltaFile
+219-0llvm/test/Transforms/SLPVectorizer/X86/reduction-vals-used-as-load-indices.ll
+33-42llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+252-422 files

LLVM/project d81f5d2llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/AArch64 long-non-power-of-2.ll abs-mul-buildvector-in-loop.ll

[SLP]Fix narrow-tree gate width and extract miscount

Measure the narrowness of in-loop trees by the actual vectorization
width instead of the feeder-load width, and skip vector-typed scalars
in the instruction count check to match the cost model.

Fixes #216715

Reviewers: efriedma-quic, bababuck, RKSimon, kartcq

Pull Request: https://github.com/llvm/llvm-project/pull/216797
DeltaFile
+111-0llvm/test/Transforms/SLPVectorizer/AArch64/abs-mul-buildvector-in-loop.ll
+17-2llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+8-6llvm/test/Transforms/SLPVectorizer/X86/multi-parent-instr-copyable-regular.ll
+5-5llvm/test/Transforms/SLPVectorizer/X86/deleted-instructions-clear.ll
+4-2llvm/test/Transforms/SLPVectorizer/AArch64/long-non-power-of-2.ll
+145-155 files