LLVM/project 08eb97dclang/lib/Serialization ASTReaderDecl.cpp, clang/test/Modules pr219639.cppm

[C++20] [Modules] Correct the redecl chain (#219926)

Close https://github.com/llvm/llvm-project/issues/219639

The root cause of the problem is the incorrect redecl chain.

A valid redecl chain should be a circle where each decl refers to the
previous one and the first decl refers to the most recent decl (latest
one). However, in the example, the redecl chain became to:

D2 -> D1 -> D1 ....

so that the range of `for (... : D->redecls())` never ends.

The real cause of the issue is we didn't merge correctly in the
ASTReader. Previous code assumes about the most recent decl while the
new code makes the behavior more clearly.
DeltaFile
+45-0clang/test/Modules/pr219639.cppm
+8-7clang/lib/Serialization/ASTReaderDecl.cpp
+53-72 files

OPNSense/core 628c6e6src/etc/inc system.inc, src/opnsense/service/templates/OPNsense/Trust openssl.cnf

system: selftest POC with OpenSSL FIPS

Feeds the FIPS config to the OpenSSL config, but needs
an untainted config to run...
DeltaFile
+24-0src/etc/inc/system.inc
+4-0src/opnsense/service/templates/OPNsense/Trust/openssl.cnf
+28-02 files

LLVM/project 5702fdaclang/docs ReleaseNotes.md, clang/lib/Parse Parser.cpp

[Clang] Fix double revert of a keyword token that was cached before the first fallback (#219799)

Fixes #214128

When an undeclared name is followed by `<`, the parser tentatively looks
for a template-argument list and, on invalid input, can skip all the way
to the end of the file. Every token after that point is lexed and cached
while the type-trait keywords still have their keyword kind. The first
`struct __make_unsigned` then reverts the keyword to an identifier, but
the second `struct __make_unsigned` is replayed from the cache with the
stale keyword kind, so `TryKeywordIdentFallback` tries to revert the
same `IdentifierInfo` again and trips the assertion in
`revertTokenIDToIdentifier`. The same thing can happen with any keyword
this hack covers (`__is_pod`, `__is_signed`, the transform traits) and
with any cached token, since a `Token` is just a snapshot of the
classification at lex time.

`TryKeywordIdentFallback` now asks the `IdentifierInfo`, which is the
source of truth, before doing anything: if the keyword has already been

    [5 lines not shown]
DeltaFile
+10-1clang/lib/Parse/Parser.cpp
+11-0clang/test/Parser/GH214128.cpp
+5-0clang/docs/ReleaseNotes.md
+26-13 files

NetBSD/pkgsrc t1I0t7ydoc TODO

   TODO: - scons4*, update done
VersionDeltaFile
1.27860+1-3doc/TODO
+1-31 files

NetBSD/pkgsrc rXwEt3Sdoc CHANGES-2026

   doc: Updated www/webkit-gtk60 to 2.52.6nb1
VersionDeltaFile
1.5711+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc fYmb6ildoc CHANGES-2026

   doc: Updated www/webkit-gtk41 to 2.52.6nb1
VersionDeltaFile
1.5710+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc s6x9C0bwww/webkit-gtk41 Makefile Makefile.common, www/webkit-gtk60 Makefile

   webkit-gtk*: force gettext-lib from pkgsrc

   pkgsrc libintl is installed during the build, and the pkgsrc
   version is preferred when linking, leading to missing library
   errors when pkg_add(1)ing.

   Force gettext-lib from pkgsrc to avoid this.

   Bump PKGREVISION.
VersionDeltaFile
1.2+4-1www/webkit-gtk41/Makefile.common
1.2+2-2www/webkit-gtk60/Makefile
1.2+2-1www/webkit-gtk41/Makefile
+8-43 files

LLVM/project fcce947llvm/lib/Target/SPIRV SPIRVNonSemanticDebugHandler.cpp

Update llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.cpp
DeltaFile
+0-1llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.cpp
+0-11 files

Illumos/gate 19aa9b2usr/src/test/os-tests/tests/memlist Makefile memlist_test.c, usr/src/uts/common/os memlist_new.c

18340 want generic memlist for use with kmem or explicit pools
18354 pci_boot returns truncated address to avail list if reprogramming bar fails
18355 pci_boot leaks 4GiB of prefetchable space per bridge
18356 pci_boot leaks non-PF region above 4GiB
18357 pci_boot bus 0 I/O resources fallback overruns by 0xff
Reviewed by: Toomas Soome <tsoome at me.com>
Reviewed by: Gordon Ross <gordon.w.ross at gmail.com>
Approved by: Hans Rosenfeld <rosenfeld at grumpf.hope-2000.org>
DeltaFile
+1,281-0usr/src/test/os-tests/tests/memlist/memlist_test.c
+943-48usr/src/uts/common/os/memlist_new.c
+234-249usr/src/uts/intel/io/pci/pci_boot.c
+0-358usr/src/uts/intel/io/pci/pci_memlist.c
+132-7usr/src/uts/common/sys/memlist_impl.h
+83-0usr/src/test/os-tests/tests/memlist/Makefile
+2,673-66212 files not shown
+2,719-72318 files

NetBSD/pkgsrc Jpk6GMJdoc CHANGES-2026

   Updated textproc/py-rapidfuzz, devel/py-utils, devel/py-poetry
VersionDeltaFile
1.5709+4-1doc/CHANGES-2026
+4-11 files

NetBSD/pkgsrc 464WL63devel/py-poetry Makefile distinfo

   py-poetry: updated to 2.4.2

   2.4.2

   Fixed

   Fix an issue where Poetry installs an artifact that is not listed in the lockfile when the package source does not provide a hash for this artifact
   Fix a path traversal vulnerability when downloading files from a compromised URL and/or package source
   Fix a path traversal vulnerability in sdist extraction on Python 3.10.0-3.10.12 and 3.11.0-3.11.4 that could allow malicious tarball files to write files outside the target directory
VersionDeltaFile
1.25+4-4devel/py-poetry/distinfo
1.36+2-2devel/py-poetry/Makefile
+6-62 files

LLVM/project f4e9d1dllvm/lib/Target/SPIRV SPIRVNonSemanticDebugHandler.h SPIRVNonSemanticDebugHandler.cpp

[NFC][SPIRV] Converge different DIScope to MCRegister maps into a single one
DeltaFile
+38-49llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.cpp
+16-31llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.h
+54-802 files

NetBSD/pkgsrc hGGv075devel/py-utils Makefile distinfo

   py-utils: updated to 4.0.1

   4.0.1

   Allow uv_build 0.12.x, contributed
   Keep the python_utils.types export list unique.
   Delay newly published dependencies and development tools by 14 days before resolution.
VersionDeltaFile
1.17+4-4devel/py-utils/distinfo
1.19+2-2devel/py-utils/Makefile
+6-62 files

OPNSense/core 632200bsrc/etc/inc system.inc

system: advertise fips module to base openssl
DeltaFile
+2-0src/etc/inc/system.inc
+2-01 files

NetBSD/pkgsrc MGI70B5textproc/py-rapidfuzz Makefile distinfo

   py-rapidfuzz: updated to 3.14.6

   3.14.6

   Fixed
   * fix some divergences in the pure Python fallback
   * fix compatibility with new Cython versions
   * fixed potential out of bound access inside Editops.remove_subsequence
   * fixed handling python fallback implementation of Editops.remove_subsequence
VersionDeltaFile
1.30+4-4textproc/py-rapidfuzz/distinfo
1.47+2-2textproc/py-rapidfuzz/Makefile
+6-62 files

LLVM/project 466bcf3mlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp, mlir/test/Target/LLVMIR openmp-llvm-invalid.mlir

[MLIR][OpenMP] Replace target-data assert with error (#219228)

If a user incorrectly puts a `target data`, `target enter data`, `target
exit data` or `target update` directive inside of target device code,
this will get lowered to MLIR and trigger an assert while translating
the corresponding operations to LLVM IR.

Part of the issue is that there are no semantics checks to prevent this
but, even if they were added, they wouldn't be able to incorporate
implicit `declare target` information, as that is added later. This
patch replaces the assert with a more informative compile error during
MLIR to LLVM IR translation to catch any of these cases that make it
past semantics.
DeltaFile
+50-0mlir/test/Target/LLVMIR/openmp-llvm-invalid.mlir
+4-2mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+54-22 files

OpenBSD/src qIj5DyFusr.sbin/ospfd rde.c

   IMSG_CTL_AREA only takes the area id as argument. Adjust the call
   in the IMSG_CTL_SHOW_RIB case.
VersionDeltaFile
1.123+2-2usr.sbin/ospfd/rde.c
+2-21 files

OpenBSD/ports ysVX1eNdevel/p5-Config-IniFiles Makefile distinfo

   Update to p5-Config-IniFiles-3.003000.
VersionDeltaFile
1.33+2-2devel/p5-Config-IniFiles/distinfo
1.46+1-2devel/p5-Config-IniFiles/Makefile
+3-42 files

OpenBSD/ports 4KSdLVTmail/kopano/core Makefile, mail/kopano/core/patches patch-provider_libserver_StreamUtil_cpp patch-provider_libserver_ECDatabaseUtils_cpp

   unbreak with libcxx22; openbsd does not have strtod_l(3)
VersionDeltaFile
1.1+51-0mail/kopano/core/patches/patch-provider_libserver_ECDatabaseUtils_cpp
1.1+42-0mail/kopano/core/patches/patch-provider_libserver_StreamUtil_cpp
1.98+1-1mail/kopano/core/Makefile
+94-13 files

LLVM/project 7d906aellvm/lib/Target/SPIRV SPIRVNonSemanticDebugHandler.h SPIRVNonSemanticDebugHandler.cpp

[NFC][SPIRV] Converge different resolveDebugParentScope versions into a single one
DeltaFile
+23-88llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.cpp
+13-34llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.h
+36-1222 files

OpenBSD/ports RH7ii2fdevel/p5-Cache-FastMmap distinfo Makefile

   Update to p5-Cache-FastMmap-1.63.
VersionDeltaFile
1.36+4-2devel/p5-Cache-FastMmap/Makefile
1.21+2-2devel/p5-Cache-FastMmap/distinfo
+6-42 files

OpenBSD/src tAWdfgQregress/lib/libcrypto/pkcs7 pkcs7test.c

   pkcs7test: fix thinko in fatal()
VersionDeltaFile
1.11+2-2regress/lib/libcrypto/pkcs7/pkcs7test.c
+2-21 files

NetBSD/src k3CgIqWdistrib/notes/common main, doc LAST_MINUTE CHANGES-9.5

   Welcome to 9.5!
VersionDeltaFile
1.551.2.14+15-15distrib/notes/common/main
1.1.2.125+10-1doc/CHANGES-9.5
1.5.6.15+3-3external/gpl2/groff/tmac/mdoc.local
1.599.2.16+2-2sys/sys/param.h
1.2.66.5+2-2doc/LAST_MINUTE
+32-235 files

OPNSense/core 90f4545src/etc/inc system.inc

system: add audit log and comments
DeltaFile
+10-2src/etc/inc/system.inc
+10-21 files

LLVM/project e6c20admlir/lib/Conversion/GPUCommon OpToFuncCallLowering.h, mlir/test/Conversion/MathToNVVM math-to-nvvm.mlir

[mlir][gpu][math] Fix assertion in OpToFuncCallLowering on vector results (#215317)

`OpToFuncCallLowering` asserts that operand and result types match, with
an escape hatch for scalar `i1` results. Math vector FP classification ops
return `vector<...xi1>`, which the escape hatch does not cover, so they trigger
the assertion.

Reject non-scalar results before the assertion, allowing
`ScalarizeVectorOpLowering` to lower them element-wise. This preserves
the existing behavior in non-assert builds, where `OpToFuncCallLowering`
already failed to match vector types. Add regression coverage for vector and
scalar FP classification ops.

Fixes #210855

Assisted-by: Claude (Anthropic)
DeltaFile
+29-0mlir/test/Conversion/MathToNVVM/math-to-nvvm.mlir
+9-1mlir/lib/Conversion/GPUCommon/OpToFuncCallLowering.h
+38-12 files

OpenBSD/ports IZIgJDwdevel/llvm/22/patches patch-compiler-rt_lib_builtins_clzdi2_c

   sync compiler-rt patches with base
VersionDeltaFile
1.2+0-0devel/llvm/22/patches/patch-compiler-rt_lib_builtins_clzdi2_c
+0-01 files

OPNSense/core 7568224src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/Api FirewallController.php, src/opnsense/mvc/app/views/OPNsense/Diagnostics fw_log.volt

Add match keyword support to Firewall Live Log and Widget
DeltaFile
+6-2src/opnsense/mvc/app/views/OPNsense/Diagnostics/fw_log.volt
+3-2src/opnsense/www/js/widgets/Firewall.js
+1-1src/opnsense/scripts/filter/read_log.py
+1-1src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/Api/FirewallController.php
+11-64 files

LLVM/project c83ed21llvm/lib/Target/AMDGPU AMDGPUPostLegalizerCombiner.cpp AMDGPUCombine.td

[AMDGPU][GlobalIsel] Replace wip_match_opcode with MIR patterns with basic match and apply clauses. (#219185)

This patch replaces wip_match_opcode mechanism with MIR-pattern matching
for opcodes with no or partial possibility for declarative pattern
match/apply clause for the AMDGPU-specifc GICombines.

The following opcodes are covered : `G_TRUNC`, `G_AMDGPU_FMED3`,
`G_FCANONICALIZE`, `G_FNEG`, `G_MUL` and `G_SEXT_INREG`.
DeltaFile
+9-9llvm/lib/Target/AMDGPU/AMDGPUCombine.td
+3-4llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
+12-132 files

LLVM/project f830946llvm/lib/Target/AMDGPU AMDGPUPostLegalizerCombiner.cpp AMDGPUCombine.td, llvm/test/CodeGen/AMDGPU/GlobalISel srem.i64.ll sdiv.i64.ll

[AMDGPU][GlobalISel] Use MIR patterns for multi-opcode combiner rules. (#219278)

Match several AMDGPU GlobalISel combiner rules with MIR patterns inplace
of wip_match_opcode mechanism:

- uchar_to_float, cvt_f32_ubyteN, int_minmax_to_med3 and
fp_minmax_to_med3 / fp_minmax_to_clamp now match via a GICombinePatFrag
that fans out over their opcodes with !foreach, keeping the existing C++
match/apply.
- rcp_sqrt_to_rsq becomes fully declarative: a group of four intrinsic
patterns folding rcp(sqrt(x)) and sqrt(rcp(x)) into rsq(x) for both
G_FSQRT and amdgcn.sqrt, removing matchRcpSqrtToRsq.

It also includes some regenerated LIT tests changes which accounts for
making uchar_to_float a MIR pattern resulting in its reorders after the
generic itof_const_zero_fold_ui pattern on the G_UITOFP root; they only
race on uitofp(0), where folding to fconstant 0.0 instead of
cvt_f32_ubyte0 is value-identical.
DeltaFile
+66-27llvm/lib/Target/AMDGPU/AMDGPUCombine.td
+28-29llvm/test/CodeGen/AMDGPU/GlobalISel/no-ctlz-from-umul-to-lshr-in-postlegalizer.ll
+0-55llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
+6-6llvm/test/CodeGen/AMDGPU/GlobalISel/srem.i64.ll
+6-6llvm/test/CodeGen/AMDGPU/GlobalISel/sdiv.i64.ll
+106-1235 files

OpenBSD/src 3rSaU8Tdistrib/sets/lists/comp clang.macppc clang.loongson

   sync sets after compiler-rt, libcxx, libcxxabi and libunwind update
VersionDeltaFile
1.38+734-36distrib/sets/lists/comp/clang.macppc
1.41+734-36distrib/sets/lists/comp/clang.loongson
1.59+734-36distrib/sets/lists/comp/clang.i386
1.51+734-36distrib/sets/lists/comp/clang.armv7
1.53+734-36distrib/sets/lists/comp/clang.arm64
1.58+734-36distrib/sets/lists/comp/clang.amd64
+4,404-21615 files not shown
+7,361-38121 files