LLVM/project 1d5f154 — mlir/lib/Tools/mlir-reduce MlirReduceMain.cpp, mlir/test/mlir-reduce output-file-error.mlir

[mlir][reducer] Report why output file can't be opened (#245650)

When a file with -o can't be opened, mlir-reduce exits with 1 and prints
nothing. openOutputFile puts the reason into errorMessage, but the
caller never printed it. Print it now, as mlir-opt and mlir-translate
do, and as mlir-reduce already does for input file.

Assisted-by: Claude for PR description for grammar.
DeltaFile
+8-0mlir/test/mlir-reduce/output-file-error.mlir
+3-1mlir/lib/Tools/mlir-reduce/MlirReduceMain.cpp
+11-12 files

LLVM/project 0f4bf7b — libc/src/string CMakeLists.txt strncpy.cpp, utils/bazel/llvm-project-overlay/libc/src/string BUILD.bazel

[libc][string] Optimize strncpy() with strnlen() and memory operations (#235762)

The current strncpy implementation copies characters and pads trailing
null bytes using byte by byte loops. Replace these loops with
internal::strnlen, inline_memcpy, and inline_bzero to leverage
word-level and vectorized memory operations.

In a microbenchmark copying a 512 byte string into a 1024 byte buffer,
this reduces execution time by about 43%, or 1.77x faster.
DeltaFile
+13-6libc/src/string/strncpy.cpp
+4-0libc/src/string/CMakeLists.txt
+2-0utils/bazel/llvm-project-overlay/libc/src/string/BUILD.bazel
+19-63 files

LLVM/project 174e32d — mlir/lib/Dialect/Affine/Analysis AffineAnalysis.cpp, mlir/test/Dialect/Affine parallelize.mlir

[mlir:affine] Drop affine if condition from affine scope when in else block (#245625)

When computing the `FlatAffineValueConstraints` of an operation which is
inside the else block of an affine if, the affine if still restricts to
its then integer set because of:


https://github.com/llvm/llvm-project/blob/74e01f5a8681ef994953f7baae2c4339ee5e68b0/mlir/lib/Dialect/Affine/Analysis/AffineAnalysis.cpp#L287-L288

when it should be on the complement of the integer set which cannot
necessarily be modeled as a `FlatAffineValueConstraints`.

To solve this in this PR, affine if operations are dropped from the
enclosing affine scope, which loosens the iteration space and allows
memory dependence to be checked more correctly (see the added
parallelize test which llvm main does parallelize).

Debugging & developing this PR was assisted by LLM.
DeltaFile
+16-0mlir/test/Dialect/Affine/parallelize.mlir
+13-0mlir/lib/Dialect/Affine/Analysis/AffineAnalysis.cpp
+29-02 files

LLVM/project 0fc0356 — mlir/lib/Dialect/LLVMIR/IR LLVMTerminatorOps.cpp, mlir/test/Dialect/LLVMIR roundtrip.mlir invalid.mlir

[mlir][llvm] Reject duplicate case values in llvm.switch (#245592)

The verifier of llvm.switch checked the number of case values and their
type, but not whether two case values are equal. Such an op verifies in
MLIR and is then rejected by the LLVM IR verifier on translation
("Duplicate integer as switch case").

Report the first repeated value instead, with its signed and, when
different, unsigned spelling and the indices of both cases. This matches
the check added to cf.switch. Add an invalid test where -1 repeats for
i8, and a round-trip test that 1 and -1 remain distinct cases.

AI-assisted: this patch was prepared with Claude Code; I have reviewed
and tested the change and take responsibility for it.
DeltaFile
+23-0mlir/lib/Dialect/LLVMIR/IR/LLVMTerminatorOps.cpp
+13-0mlir/test/Dialect/LLVMIR/invalid.mlir
+9-0mlir/test/Dialect/LLVMIR/roundtrip.mlir
+45-03 files

LLVM/project 724bad9 — mlir/include/mlir/Dialect/Affine/IR AffineOps.td, mlir/lib/Dialect/Affine/IR AffineOps.cpp

[mlir][affine] Implement RegionBranchOpInterface for affine.parallel (#244678)

The implementation is similar to SCF: only control flow is declared but
no data flow along the edges since it is not 1:1.
DeltaFile
+21-0mlir/lib/Dialect/Affine/IR/AffineOps.cpp
+16-0mlir/test/Analysis/DataFlow/test-last-modified.mlir
+14-0mlir/test/Transforms/sccp-structured.mlir
+6-0mlir/include/mlir/Dialect/Affine/IR/AffineOps.td
+57-04 files

FreeBSD/ports 0a738dd — databases/mysql97-server Makefile distinfo

databases/mysql97-server: Update to 9.7.4.1

Oracle has started appending a fourth digit to the MySQL version
numbers, so limit portscout to this release series; it reported the
port against the newest train upstream ships otherwise.

Security:       a454f42d-e904-11f1-9b74-3497f65b111b
Sponsored by:   Netzkommune GmbH

(cherry picked from commit 4b768ee1a8748dd4015f17d431468c1385bedde7)
DeltaFile
+3-3databases/mysql97-server/distinfo
+2-2databases/mysql97-server/Makefile
+5-52 files

FreeBSD/ports 61f8042 — databases/mysql84-server Makefile distinfo

databases/mysql84-server: Update to 8.4.13.1

Oracle has started appending a fourth digit to the MySQL version
numbers, so limit portscout to this release series; it reported the
port against the newest train upstream ships otherwise.

Security:       a454f42d-e904-11f1-9b74-3497f65b111b
Sponsored by:   Netzkommune GmbH

(cherry picked from commit ff9e766389f80ba97e257c9c3215188cbae988e1)
DeltaFile
+3-3databases/mysql84-server/distinfo
+2-2databases/mysql84-server/Makefile
+5-52 files

LLVM/project d9f0f1b — mlir/include/mlir/Dialect/OpenMP OpenMPOps.td, mlir/lib/Dialect/OpenMP/IR OpenMPDialect.cpp

[mlir][OpenMP] Model memory effects of omp.threadprivate (#243080)

Model accesses to the original and thread-local storage and allocation
effects.
Add a test for the reported memory effects.

AI-Assisted-by: Codex (OpenAI)
DeltaFile
+17-0mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+9-0mlir/test/Dialect/OpenMP/memory-effects.mlir
+2-1mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
+28-13 files

OPNSense/core 863c412 — src/www diag_backup.php

system: refuse backup provider changes to read-only users (#11326)

A restore is already refused to a user with user-config-readonly, but
provider settings are saved through the MVC config, which does not check
it, so such a user could still change them.
DeltaFile
+3-0src/www/diag_backup.php
+3-01 files

LLVM/project c8fbd80 — lldb/include/lldb/Symbol CompilerType.h TypeSystem.h, lldb/source/Symbol CompilerType.cpp TypeSystem.cpp

[lldb][NFC] Remove GetChildCompilerTypeAtIndex

All type systems and callers use GetChildAtIndex now, so this patch removes
TypeSystem::GetChildCompilerTypeAtIndex and its CompilerType wrapper, and
makes TypeSystem::GetChildAtIndex pure virtual.

assisted by claude

DeltaFile
+0-40lldb/source/Symbol/TypeSystem.cpp
+0-19lldb/source/Symbol/CompilerType.cpp
+1-13lldb/include/lldb/Symbol/TypeSystem.h
+0-9lldb/include/lldb/Symbol/CompilerType.h
+1-814 files

LLVM/project c9357c2 — lldb/source/Plugins/TypeSystem/Clang TypeSystemClang.cpp

[lldb][NFC] Remove redundant zero assignments in TypeSystemClang (#245938)

TypeSystemClang::GetChildAtIndex starts from a value-initialized
ChildTypeInfo, so it doesn't need to set byte_offset to 0.

assisted by claude

Stack:
- #245936
- #245937
- #245938 (this PR)
- #245939
DeltaFile
+0-4lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
+0-41 files

FreeBSD/ports e150fbc — games/moonlight-qt Makefile

games/moonlight-qt: Remove qt5 flavor

PR:     301096
DeltaFile
+3-10games/moonlight-qt/Makefile
+3-101 files

LLVM/project 1804104 — llvm/lib/CodeGen CodeGenPrepare.cpp, llvm/test/Transforms/CodeGenPrepare/AArch64 strength-reduce-vector-as-data.ll

[CGP] Support nonzero start value for vector lsr (#245979)

The vector lsr code currently insists on matching a plain stepvector as
the starting point for vector progression (before being shifted
according to element count and addressee size). This patch allows for an
add of splatted loop-invariant value before the multiply.
DeltaFile
+57-0llvm/test/Transforms/CodeGenPrepare/AArch64/strength-reduce-vector-as-data.ll
+3-2llvm/lib/CodeGen/CodeGenPrepare.cpp
+60-22 files

FreeBSD/ports 393bda7 — security/vuxml/vuln 2026.xml

security/vuxml: Add entry for mysql -- multiple vulnerabilities

Sponsored by:   Netzkommune GmbH
DeltaFile
+61-0security/vuxml/vuln/2026.xml
+61-01 files

FreeBSD/ports 35971d0 — databases/mysql-shell Makefile pkg-plist, databases/mysql-shell/files patch-modules_util_upgrade__checker_upgrade__check__options.cc patch-mysqlshdk_libs_utils_utils__general.cc

databases/mysql-shell: Update to 26.10.0.1

Upstream has discontinued the 9.7 series, so the port follows the
current one, and no longer ships the GUI plugin.

Seven patches have been merged upstream. The copy of the server
fixes kept here is replaced by the source patches of the server
port, which carry them already.

Security:       a454f42d-e904-11f1-9b74-3497f65b111b
Sponsored by:   Netzkommune GmbH
DeltaFile
+101-773databases/mysql-shell/pkg-plist
+0-63databases/mysql-shell/files/mysql-server.patch
+0-51databases/mysql-shell/files/patch-mysqlshdk_libs_utils_utils__file.cc
+0-31databases/mysql-shell/files/patch-mysqlshdk_libs_utils_utils__general.cc
+0-18databases/mysql-shell/files/patch-modules_util_upgrade__checker_upgrade__check__options.cc
+10-8databases/mysql-shell/Makefile
+111-9446 files not shown
+116-1,00012 files

FreeBSD/ports 4b768ee — databases/mysql97-server Makefile distinfo

databases/mysql97-server: Update to 9.7.4.1

Oracle has started appending a fourth digit to the MySQL version
numbers, so limit portscout to this release series; it reported the
port against the newest train upstream ships otherwise.

Security:       a454f42d-e904-11f1-9b74-3497f65b111b
Sponsored by:   Netzkommune GmbH
DeltaFile
+3-3databases/mysql97-server/distinfo
+2-2databases/mysql97-server/Makefile
+5-52 files

FreeBSD/ports ff9e766 — databases/mysql84-server Makefile distinfo

databases/mysql84-server: Update to 8.4.13.1

Oracle has started appending a fourth digit to the MySQL version
numbers, so limit portscout to this release series; it reported the
port against the newest train upstream ships otherwise.

Security:       a454f42d-e904-11f1-9b74-3497f65b111b
Sponsored by:   Netzkommune GmbH
DeltaFile
+3-3databases/mysql84-server/distinfo
+2-2databases/mysql84-server/Makefile
+5-52 files

FreeBSD/ports eab6305 — databases/mysql80-server Makefile

databases/mysql80-server: Limit portscout to the release series

Oracle has started appending a fourth digit to the MySQL version
numbers, and portscout reported this port against the newest train
upstream ships instead of the 8.0 series.

Sponsored by:   Netzkommune GmbH
DeltaFile
+1-0databases/mysql80-server/Makefile
+1-01 files

FreeBSD/ports 6aab4d3 — databases/mysql2610-server Makefile distinfo

databases/mysql2610-server: Update to 26.10.0.1

Oracle has started appending a fourth digit to the MySQL version
numbers, so limit portscout to this release series; it reported the
port against the newest train upstream ships otherwise.

Security:       a454f42d-e904-11f1-9b74-3497f65b111b
Sponsored by:   Netzkommune GmbH
DeltaFile
+3-3databases/mysql2610-server/distinfo
+2-2databases/mysql2610-server/Makefile
+5-52 files

FreeBSD/ports 2d49357 — devel/sasm distinfo Makefile

devel/sasm: Switch to Qt6

Qt5 is deprecated and will be removed soon.

PR:             299458
Approved by:    Martin Filla <freebsd at sysctl.cz> (maintainer)
DeltaFile
+7-3devel/sasm/Makefile
+3-1devel/sasm/distinfo
+10-42 files

LLVM/project 084fc89 — llvm/lib/Target/SPIRV SPIRVBuiltins.cpp, llvm/test/CodeGen/SPIRV/transcoding builtin_pipe.ll

[SPIR-V] Fix group pipe scope constant outside entry block (#245658)
DeltaFile
+27-0llvm/test/CodeGen/SPIRV/transcoding/builtin_pipe.ll
+1-4llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
+28-42 files

LLVM/project c09d9bf — llvm/lib/Transforms/IPO DeadArgumentElimination.cpp, llvm/test/Assembler captures.ll

[IR] Enforce pointer return type for `captures(ret: ...)` attribute annotation (#243407)

Following up on a discussion based on
https://github.com/llvm/llvm-project/pull/238026#discussion_r4584703141,
reject `captures` attribute with return-only components on function and
call-site parameters when the return type is not a pointer.
Particularly, this excludes vector and aggregate return types,
consistent with how CaptureTracking currently treats a pointer inserted
into an aggregate or vector as captured.
DeltaFile
+38-0llvm/test/Transforms/DeadArgElim/captures-ret.ll
+21-15llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp
+20-0llvm/test/Transforms/InstCombine/call-cast-captures-ret.ll
+18-0llvm/test/Verifier/captures-ret.ll
+8-8llvm/test/Assembler/captures.ll
+14-0llvm/test/Transforms/PGOProfile/indirect-call-promotion-captures-ret.ll
+119-236 files not shown
+165-2612 files

OpenBSD/ports 86kFOjM — net/powerdns Makefile distinfo

   PowerDNS Authoritative Server 5.1.7
   See https://docs.powerdns.com/authoritative/security-advisories/powerdns-advisory-2026-14.html
VersionDeltaFile
1.67+2-2net/powerdns/distinfo
1.123+1-1net/powerdns/Makefile
+3-32 files

LLVM/project 758e057 — llvm/test/CodeGen/X86/apx inline-spiller-hoist-folded-copy.ll

[X86][APX] Keep hoist-folded-copy test effective

inline-spiller-hoist-folded-copy.ll reproduces a null VNInfo
dereference in HoistSpillHelper that needs greedy to fold a spill
into the COPY inserted by an NDD reload fold. SlotIndexes compaction
shortens the outer loop in index space, greedy spills differently,
and the test passes even with the fix reverted.

Add four empty asm statements to lengthen the loop again. The test
then crashes without the fix whether compaction is on or off.
DeltaFile
+35-21llvm/test/CodeGen/X86/apx/inline-spiller-hoist-folded-copy.ll
+35-211 files

LLVM/project d785197 — llvm/test/CodeGen/X86 vector-interleaved-store-i64-stride-7.ll vector-deinterleave8-i64.ll

[X86] Enable SlotIndexes compaction by default

Compacting SlotIndexes before greedy allocation drops the entries of
erased instructions, so live range sizes and instruction distances
reflect the code being allocated rather than how much was erased
before it. AMDGPU has done this since #235806; do the same for X86.

Codegen changes only through allocation: no new crashes, verifier
errors or allocation failures in the lit suites, including
EXPENSIVE_CHECKS, and a stage-2 build of LLVM, clang and lld with
-verify-machineinstrs passes its own tests. On llvm-test-suite at -O3,
spills drop 0.3% and .text 0.06%, with compile time unchanged.

Most test updates are regenerated checks. misched-matmul now inserts
20 spills instead of 24. live-debug-vars-stale-slotindexes.mir gets
one more use of %27 so that accumulate_fit still reaches the stale
index path it was written for.
DeltaFile
+20,796-20,889llvm/test/CodeGen/X86/vector-interleave7-i16.ll
+17,854-17,989llvm/test/CodeGen/X86/vector-interleave7-i32.ll
+17,166-17,229llvm/test/CodeGen/X86/vector-interleave6-i16.ll
+15,403-15,465llvm/test/CodeGen/X86/vector-interleaved-load-i64-stride-7.ll
+13,433-13,434llvm/test/CodeGen/X86/vector-deinterleave8-i64.ll
+13,329-13,243llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-7.ll
+97,981-98,249514 files not shown
+673,197-675,740520 files

LLVM/project c39bdac — llvm/test/CodeGen/X86/apx reloc-opt.ll

[X86][APX] Test the relocation of an NF add

test_regclass_not_updated_by_regalloc_2 only produced an NDD/NF add
with a GOT operand because the allocator happened to give the add a
destination different from its source. With SlotIndexes compaction it
picks the same register, so the add is compressed to the legacy form
and the CODE_6 TODO lost its test.

Add a function whose add keeps its source live, so it stays NDD and
becomes NF under any allocation.
DeltaFile
+20-1llvm/test/CodeGen/X86/apx/reloc-opt.ll
+20-11 files

OpenBSD/ports GBLUL19 — security/suricata Makefile, security/suricata/patches patch-src_suricata_c patch-src_util-privs_c

   Update for Suricata to 8.0.8

   https://github.com/OISF/suricata/releases/tag/suricata-8.0.8

   Based on my last update to 8.0.6 also a lot of input and real
   tests from Pierre Warnier (thanks a lot!)

   We enabled hyperscan only for amd64, took out libiconv to
   honored portcheck.
VersionDeltaFile
1.30+23-62security/suricata/pkg/PLIST
1.1+56-0security/suricata/patches/patch-src_datasets_c
1.24+16-32security/suricata/patches/patch-suricata_yaml_in
1.76+11-11security/suricata/Makefile
1.8+14-4security/suricata/patches/patch-src_util-privs_c
1.17+9-8security/suricata/patches/patch-src_suricata_c
+129-1174 files not shown
+153-12010 files

LLVM/project b929ed2 — libcxx/include/__algorithm pstl.h, libcxx/include/__pstl/backends serial.h

[libc++][pstl] Add a serial implementation of std::unique_copy (#245603)

This PR adds a serial implementation of `std::unique_copy` to PSTL.
A real parallel implementation is intended to land within the `statpart`
backend later, which will be a purely additive change, it will not touch
the code in this PR.

Part of #99938.
DeltaFile
+225-0libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/pstl.unique_copy_pred.pass.cpp
+221-0libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/pstl.unique_copy.pass.cpp
+41-0libcxx/include/__algorithm/pstl.h
+14-0libcxx/test/std/algorithms/pstl.exception_handling.pass.cpp
+14-0libcxx/include/__pstl/backends/serial.h
+12-0libcxx/test/libcxx/algorithms/pstl.iterator-requirements.verify.cpp
+527-02 files not shown
+538-08 files

LLVM/project 1573da1 — llvm/lib/Transforms/Instrumentation GCOVProfiling.cpp, llvm/test/Transforms/GCOVProfiling function-numbering.ll

[GCOVProfiling] Enable IRBuilder GEP canonicalization (#246316)
DeltaFile
+18-15llvm/test/Transforms/GCOVProfiling/function-numbering.ll
+0-1llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
+18-162 files

LLVM/project f850bc4 — flang/lib/Optimizer/Transforms DebugTypeGenerator.cpp, flang/test/Integration debug-pdt-instance-names.f90

[flang][debug] Name instance of a parameterized type after its kinds (#245692)

The instances of a parameterized derived type all took the name of the
type, so a debugger could not tell them apart. With `pdt(4)` and
`pdt(8)` used in the same procedure, `ptype pdt` in gdb showed whichever
instance it found first.

Name an instance after its kind values as gfortran does, `PDTpdt_4` for
`pdt(4)` (earlier gfortran spell the prefix `Pdt`). The prefix keeps an
instance from taking the name of a plain type such as `pdt_4`. gfortran
puts a negative value in the name with its minus sign, which a debugger
cannot look up, so spell it as the uniqued name does: `PDTpdt_N1` for
`pdt(-1)`.

Assisted by: Cursor

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+42-0flang/test/Integration/debug-pdt-instance-names.f90
+29-0flang/test/Transforms/debug-pdt-instance-names.fir
+20-1flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp
+91-13 files