LLVM/project c7aad77 — llvm/include/llvm/IR IntrinsicsNVVM.td, llvm/test/Transforms/PhaseOrdering nvptx-tcgen05-mma-memory.ll

[NVPTX] Correct tcgen05 MMA memory effects (#232314)

Model accumulator reads and shared-memory reads through descriptors,
while restricting writes to argument memory and internal state. Mark
tensor A readonly unless `.ashift` is present, and mark sparse metadata,
scale inputs, and decompression tables readonly.

Assisted-by: GPT-6 Astra
DeltaFile
+199-0llvm/test/Transforms/PhaseOrdering/nvptx-tcgen05-mma-memory.ll
+20-10llvm/include/llvm/IR/IntrinsicsNVVM.td
+219-102 files

LLVM/project 1782f9b — llvm/lib/Transforms/Utils LoopUnrollRuntime.cpp, llvm/test/Transforms/LoopUnroll scev-invalidation-lcssa.ll

[LoopUnroll] Invalidate epilogue exit phis with new predecessor. (#234202)

Adding a new incoming value the to LCSSA phi in the exit block requires
invalidating SCEV for the phi.

Add missing forgetLcssaPhiWithNewPredecessor, like ConnectProlog already
does.

Fixes https://github.com/llvm/llvm-project/issues/231756

PR: https://github.com/llvm/llvm-project/pull/234202
DeltaFile
+107-0llvm/test/Transforms/LoopUnroll/scev-invalidation-lcssa.ll
+1-0llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
+108-02 files

LLVM/project dfd756d — clang CMakeLists.txt, clang/docs ReleaseNotes.md

Enable ClangIR Build By Default (#221291)

This is subject to an RFC:

https://discourse.llvm.org/t/rfc-enable-clangir-build-by-default/91730

This patch enables building ClangIR (and thus MLIR) by default in clang
builds. The project has hit a maturity level where we believe this is a
good time to do it. See the RFC for details.
DeltaFile
+6-12clang/docs/CIR/index.md
+13-0clang/docs/ReleaseNotes.md
+8-0llvm/docs/CMake.md
+6-0llvm/docs/ReleaseNotes.md
+6-0clang/CMakeLists.txt
+2-2clang/test/Driver/openacc-no-cir.c
+41-142 files not shown
+44-148 files

FreeNAS/freenas ca30908 — src/middlewared/middlewared/plugins/zfs_ dataset_encryption.py

Make `zfs.dataset.bulk_process` params a secret
DeltaFile
+20-1src/middlewared/middlewared/plugins/zfs_/dataset_encryption.py
+20-11 files

LLVM/project 3b2e161 — clang/lib/Format FormatTokenLexer.cpp, clang/unittests/Format TokenAnnotatorTest.cpp FormatTestVerilog.cpp

[clang-format] Fix the precedence of Verilog `->` (#230131)

after

```SystemVerilog
xxxx = x -> //
       x;
```

before

```SystemVerilog
xxxx = x -> //
    x;
```

In Verilog, the implication operator (logical less than or equal to)
`->` and equivalence operator `<->` have a precedence that is higher
than assignment. When a line is to be broken, the continuation part
should all be to the right of the `=` sign as is the case if the `->` is
replaced with the `<=`.
DeltaFile
+6-3clang/lib/Format/FormatTokenLexer.cpp
+4-0clang/unittests/Format/FormatTestVerilog.cpp
+1-1clang/unittests/Format/TokenAnnotatorTest.cpp
+11-43 files

LLVM/project ddb84d7 — llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 mask-beforefirst.ll

[X86] Combine mask_beforefirst to (x - 1) & ~x in GPR

EVEX and libc use this pattern in strcpy etc. to set the bits before the lowest set bit. It works correctly for x=0 too, returning an all ones mask.

Because SSE/AVX/AVX2 promote vNi1 types, do this as a DAG combine before type legalization.

We need to restrict it to power of 2 types otherwise we hit a latent crash in combineToExtendBoolVectorInReg.
DeltaFile
+126-212llvm/test/CodeGen/X86/mask-beforefirst.ll
+23-0llvm/lib/Target/X86/X86ISelLowering.cpp
+149-2122 files

LLVM/project b02685f — llvm/lib/Transforms/Vectorize VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize early_exit_combined_exits.ll early_exit_with_stores.ll

[VPlan] Use llvm.mask.beforefirst for computing early exit mask

This makes the cost more accurate and improves codegen for RISC-V. The codegen for an early exit loop with side effects then goes from:

    .LBB0_3:                                # %vector.body
                                            # =>This Inner Loop Header: Depth=1
        vl1r.v  v16, (a3)
        vsetvli zero, zero, e8, m1, ta, ma
        vmseq.vi        v16, v16, 0
        vfirst.m        a7, v16
        srli    t0, a7, 63
        czero.nez       a7, a7, t0
        czero.eqz       t0, a1, t0
        or      a7, t0, a7
        vsetvli zero, zero, e64, m8, ta, ma
        vmsltu.vx       v0, v8, a7
        vle8.v  v17, (a5), v0.t
        vcpop.m t1, v16
        vsetvli zero, zero, e8, m1, ta, ma

    [20 lines not shown]
DeltaFile
+55-50llvm/test/Transforms/LoopVectorize/AArch64/early_exit_with_stores.ll
+36-36llvm/test/Transforms/LoopVectorize/VPlan/early_exit_with_stores_vplan.ll
+24-16llvm/test/Transforms/LoopVectorize/early_exit_with_stores.ll
+15-10llvm/test/Transforms/LoopVectorize/RISCV/early_exit_with_stores.ll
+7-8llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+9-6llvm/test/Transforms/LoopVectorize/early_exit_combined_exits.ll
+146-1265 files not shown
+161-13611 files

LLVM/project 38d460c — llvm/include/llvm/CodeGen BasicTTIImpl.h, llvm/test/Analysis/CostModel/AArch64 mask-beforefirst.ll

[TTI] Add cost for llvm.mask.beforefirst
DeltaFile
+16-16llvm/test/Analysis/CostModel/RISCV/mask-beforefirst.ll
+15-15llvm/test/Analysis/CostModel/AArch64/mask-beforefirst.ll
+23-0llvm/include/llvm/CodeGen/BasicTTIImpl.h
+54-313 files

LLVM/project b89ebb7 — llvm/test/Analysis/CostModel/AArch64 mask-beforefirst.ll, llvm/test/Analysis/CostModel/RISCV mask-beforefirst.ll

Precommit tests
DeltaFile
+44-0llvm/test/Analysis/CostModel/AArch64/mask-beforefirst.ll
+42-0llvm/test/Analysis/CostModel/RISCV/mask-beforefirst.ll
+86-02 files

LLVM/project 323048d — llvm/lib/CodeGen/SelectionDAG SelectionDAG.cpp, llvm/test/CodeGen/X86 mask-beforefirst.ll

[DAG] Handle mask_beforefirst in ComputeNumSignBits

It has the same sign bits as icmp
DeltaFile
+9-14llvm/test/CodeGen/X86/mask-beforefirst.ll
+1-0llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+10-142 files

LLVM/project 65d8ef2 — llvm/lib/Target/AArch64 AArch64ISelLowering.h AArch64ISelLowering.cpp, llvm/test/CodeGen/AArch64 mask-beforefirst-sve.ll

[AArch64] Lower mask_beforefirst to brkb for NEON types on SVE (#232255)

When SVE is available we can use lower fixed length mask_beforefirst
calls to brkb, see the discussion in
https://github.com/llvm/llvm-project/pull/230163#pullrequestreview-5469079195

Fixed vectors in streaming mode are left out of this PR for now.
DeltaFile
+20-39llvm/test/CodeGen/AArch64/mask-beforefirst-sve.ll
+21-1llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+1-0llvm/lib/Target/AArch64/AArch64ISelLowering.h
+42-403 files

LLVM/project 68027bf — llvm/lib/CodeGen/SelectionDAG TargetLowering.cpp, llvm/test/CodeGen/X86 mask-beforefirst.ll

[DAG] Handle widened step vectors in expandGetActiveLaneMask (#230296)

On AVX512 getLegalMaskAndStepVector will need to widen the step vector
type. Handle this in expandGetActiveLaneMask, so we don't crash on
AVX512 which widens e.g. v8i1 -> v16i1. We don't actually use Mask, it's
just a dummy poison value to work out what type the final mask result
should be.
DeltaFile
+69-2llvm/test/CodeGen/X86/mask-beforefirst.ll
+6-3llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+75-52 files

LLVM/project 1f034df — llvm/lib/CodeGen/SelectionDAG TargetLowering.cpp, llvm/test/CodeGen/X86 mask-beforefirst.ll

[DAG] Explicitly truncate splat operand in get_active_lane_mask expansion (#230056)

x86 can't handle the implicit truncation of build_vector operands so
these test cases crash after expanding get_active_lane_mask (stemming
from mask.beforefirst). Fix it by explicitly truncating it.
DeltaFile
+328-9llvm/test/CodeGen/X86/mask-beforefirst.ll
+1-0llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+329-92 files

NetBSD/pkgsrc zq903L0 — doc CHANGES-2026

   doc: Updated lang/php85 to 8.5.12
VersionDeltaFile
1.7155+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc 8XdIMTO — lang/php phpversion.mk, lang/php85 Makefile distinfo

   lang/php84: update to 8.5.12

   PHP 8.5.12 (2026-10-22)

   - Core:
     . Fixed GHSA-w8hw-w9fx-j79w, GHSA-6wmf-4rv5-p3rp (Avoid state corruption via
       bailout). (CVE-2026-109618, CVE-2026-109619) (Arnaud, ilutov, Jakub Zelenka,
       ndossche, Nicolas Grekas)
     . Fixed bug GH-23644 (Optimizer leaves a constant-vs-constant comparison
       unfolded, crashing the VM in zval_undefined_cv). (ndossche)
     . Fixed OSS-Fuzz 532353396 (assertion failure with static type). (Girgias)
     . Fix GH-23662 (Avoid NAN warning in print_r()). (CodedByManish)
     . Fix GH-21999: GC inconsistency with lazy object, var_dump(), and object
       comparison. (Arnaud)
     . Fixed OSS-Fuzz #536440507 (Immutable class incorrect assertion).
       (ndossche)
     . Fixed AVX being reported as supported when the OS has not enabled AVX
       state. (Ilia Alshanetsky)
     . Fixed GH-23980 (ZEND_ASSERT violation @ ZEND_INCLUDE_OR_EVAL). (ndossche)

    [231 lines not shown]
VersionDeltaFile
1.12+4-4lang/php85/distinfo
1.521+2-2lang/php/phpversion.mk
1.7+1-2lang/php85/Makefile
+7-83 files

LLVM/project f7714f2 — llvm/test/Transforms/ConstraintElimination gep-arithmetic.ll monotonic-pointer-phis.ll

[ConstraintElim] Limit GEP decomposition to canonical types. (#234137)

Narrow indices in GEPs are implicitly sign-extended. SExts can only be
decompsed in the unsigned system if the value is non-negative. This
matches the existing explicit m_SExt handling.

PR: https://github.com/llvm/llvm-project/pull/234137
DeltaFile
+136-68llvm/test/Transforms/ConstraintElimination/gep-arithmetic-different-types.ll
+100-50llvm/test/Transforms/ConstraintElimination/loops-header-tested-pointer-cmps.ll
+100-50llvm/test/Transforms/ConstraintElimination/gep-sub.ll
+104-46llvm/test/Transforms/ConstraintElimination/monotonic-pointer-phis-struct-types.ll
+92-46llvm/test/Transforms/ConstraintElimination/monotonic-pointer-phis.ll
+101-32llvm/test/Transforms/ConstraintElimination/gep-arithmetic.ll
+633-29212 files not shown
+927-42918 files

NetBSD/pkgsrc bmu8HJa — doc CHANGES-2026

   doc: Updated lang/php84 to 8.4.27
VersionDeltaFile
1.7154+2-1doc/CHANGES-2026
+2-11 files

LLVM/project 3a2f5b6 — clang/include/clang/Basic DiagnosticParseKinds.td, clang/include/clang/Parse Parser.h

[Clang][C2y] Diagnose declarations in a 'while' condition directly

Instead of the generic "expected expression", a declaration in the
controlling clause of a 'while' statement in C is now rejected with
"ISO C does not allow a declaration in a 'while' statement".

Co-Authored-By: Claude Fable 5.1 <noreply at anthropic.com>
DeltaFile
+27-9clang/lib/Parse/ParseExprCXX.cpp
+13-12clang/test/C/C2y/n3267.c
+5-5clang/lib/Parse/ParseStmt.cpp
+6-1clang/include/clang/Parse/Parser.h
+2-2clang/test/Parser/c2y-if-decl-while.c
+2-0clang/include/clang/Basic/DiagnosticParseKinds.td
+55-296 files

NetBSD/pkgsrc qpfNfIb — lang/php phpversion.mk, lang/php84 Makefile distinfo

   lang/php84: update to 8.4.27

   PHP 8.4.27 (2026-10-22)

   - Core:
     . Fixed GHSA-w8hw-w9fx-j79w, GHSA-6wmf-4rv5-p3rp (Avoid state corruption via
       bailout). (CVE-2026-109618, CVE-2026-109619) (Arnaud, ilutov, Jakub Zelenka,
       ndossche, Nicolas Grekas)
     . Fix GH-21999: GC inconsistency with lazy object, var_dump(), and object
       comparison. (Arnaud)
     . Fixed OSS-Fuzz #536440507 (Immutable class incorrect assertion).
       (ndossche)
     . Fixed AVX being reported as supported when the OS has not enabled AVX
       state. (Ilia Alshanetsky)
     . Fixed GH-23980 (ZEND_ASSERT violation @ ZEND_INCLUDE_OR_EVAL). (ndossche)
     . Fixed bug GH-23896 (Assertion failure in zend_call_function() after a
       throwing deprecation). (lazerg)
     . Fixed use-after-free when a dl()-loaded extension declares a frameless
       function and a later request calls it. (Ilia Alshanetsky)

    [229 lines not shown]
VersionDeltaFile
1.27+4-4lang/php84/distinfo
1.520+2-2lang/php/phpversion.mk
1.16+1-2lang/php84/Makefile
+7-83 files

LLVM/project 8241fa0 — flang/lib/Semantics check-omp-variant.cpp

Limit checks to current METADIRECTIVE
DeltaFile
+17-7flang/lib/Semantics/check-omp-variant.cpp
+17-71 files

NetBSD/pkgsrc n45SG3N — doc CHANGES-2026

   doc: Updated lang/php83 to 8.3.36
VersionDeltaFile
1.7153+2-1doc/CHANGES-2026
+2-11 files

FreeBSD/ports 9523b33 — graphics/optipng Makefile, graphics/optipng/files patch-CMakeLists.txt

graphics/optipng: Fix does not set execute bit on binary

Upstream uses "install(FILES ..." instead of "install(PROGRAMS ..."
for install executable binary.

PR:             299678 299132
Approved by:    blanket (fix runtime)
Sponsored by:   UNIS Labs
DeltaFile
+11-0graphics/optipng/files/patch-CMakeLists.txt
+1-0graphics/optipng/Makefile
+12-02 files

NetBSD/pkgsrc Vrv0lsS — lang/php phpversion.mk, lang/php83 Makefile distinfo

   lang/php83: update to 8.3.36

   PHP 8.3.36 (2026-10-22)

   - Core:
     . Fixed GHSA-w8hw-w9fx-j79w, GHSA-6wmf-4rv5-p3rp (Avoid state corruption via
       bailout). (CVE-2026-109618, CVE-2026-109619) (Arnaud, ilutov, Jakub Zelenka,
       ndossche, Nicolas Grekas)
VersionDeltaFile
1.38+4-4lang/php83/distinfo
1.519+2-2lang/php/phpversion.mk
1.26+1-2lang/php83/Makefile
+7-83 files

FreeBSD/ports d8068d0 — security/nextcloud-twofactor_admin Makefile distinfo

security/nextcloud-twofactor_admin: Update to 4.13.0
DeltaFile
+3-3security/nextcloud-twofactor_admin/distinfo
+1-1security/nextcloud-twofactor_admin/Makefile
+4-42 files

LLVM/project 4db5e88 — clang/lib/Driver Compilation.cpp

[clang][Driver] Trim parallel offload job comment
DeltaFile
+1-6clang/lib/Driver/Compilation.cpp
+1-61 files

FreeBSD/ports 7d62c3b — www/nextcloud Makefile distinfo

www/nextcloud: Update to 35.0.2
DeltaFile
+3-3www/nextcloud/distinfo
+1-2www/nextcloud/Makefile
+4-52 files

NetBSD/pkgsrc A290DJH — doc CHANGES-2026

   doc: Updated lang/php82 to 8.2.35
VersionDeltaFile
1.7152+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc 3yusW05 — lang/php82 Makefile

   lang/php82: reset PKGREVISION
VersionDeltaFile
1.30+1-2lang/php82/Makefile
+1-21 files

NetBSD/pkgsrc D77qGvR — lang/php phpversion.mk, lang/php82 distinfo

   lang/php82: update to 8.2.35

   PHP 8.2.35 (2026-10-22)

   - Core:
     . Fixed GHSA-w8hw-w9fx-j79w, GHSA-6wmf-4rv5-p3rp (Avoid state corruption via
       bailout). (CVE-2026-109618, CVE-2026-109619) (Arnaud, ilutov, Jakub Zelenka,
       ndossche, Nicolas Grekas)
VersionDeltaFile
1.40+4-4lang/php82/distinfo
1.518+2-2lang/php/phpversion.mk
+6-62 files

LLVM/project c4fe404 — llvm/lib/Analysis ScalarEvolution.cpp, llvm/test/Transforms/IndVarSimplify implied-cond-different-signedness.ll

[SCEV] Prove signed/unsigned implications in either operand order

SCEV could prove some signed conditions from unsigned ones and the
other way around, but only with the operands in the same order. For
example, it proved a <s b from a <u b and b >=s 0, but not b >s a.

Handle both orders.

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+14-14llvm/lib/Analysis/ScalarEvolution.cpp
+3-14llvm/test/Transforms/IndVarSimplify/implied-cond-different-signedness.ll
+17-282 files