LLVM/project 17bc1caclang/test/Sema attr-counted-by-late-parsed-struct-ptrs-anon.c, llvm/test/TableGen/GlobalISelEmitter MatchTableOptimizerRecursion.td

Merge branch 'main' into users/kasuga-fj/da-consolidate-acc-gcd
DeltaFile
+204-0llvm/test/TableGen/GlobalISelEmitter/MatchTableOptimizerRecursion.td
+84-0clang/test/Sema/attr-counted-by-late-parsed-struct-ptrs-anon.c
+64-19llvm/utils/TableGen/Common/GlobalISel/GlobalISelMatchTable.cpp
+46-1mlir/lib/Conversion/GPUToSPIRV/WmmaOpsToSPIRV.cpp
+3-34llvm/utils/TableGen/GlobalISelEmitter.cpp
+1-34llvm/utils/TableGen/GlobalISelCombinerEmitter.cpp
+402-886 files not shown
+459-11412 files

LLVM/project 0f6f00aclang/lib/Parse ParseDecl.cpp, clang/lib/Sema SemaBoundsSafety.cpp

[Sema] Call ActOnFields before late parsing in ParseStructUnionBody (#187166)

Implements for:  #186914

Move the call to `ActOnFields()` before `ParseLexedCAttributeList()` in
ParseStructUnionBody for reordering so that the struct type is complete
when late-parsed attributes like counted_by get evaluated. This is a
prerequisite for supporting sizeof/offsetof expressions in counted_by
evaluation.

Update the heuristic for `GetEnclosingNamedOrTopAnonRecord`. Remove the
`isCompleteDefinition()` condition since it will always return true
under the new ordering. The `GetEnclosingNamedOrTopAnonRecord` intend to
treat the unnamed and anonymous struct permissively.

Add one test to verify the new ordering still make sure the function of
unnamed and anonymous struct works normally.
DeltaFile
+84-0clang/test/Sema/attr-counted-by-late-parsed-struct-ptrs-anon.c
+3-4clang/lib/Sema/SemaBoundsSafety.cpp
+3-3clang/lib/Parse/ParseDecl.cpp
+90-73 files

LLVM/project 06d50acllvm/test/CodeGen/AArch64/GlobalISel select-intrinsic-aarch64-sdiv.mir, llvm/test/TableGen/GlobalISelEmitter MatchTableOptimizerRecursion.td

[GlobalISel] Recursively Optimise MatchTable Matchers (#197143)

The core of this change is the additional call to `Matcher::optimize()`
in the `optimizeRules` function,
which enables the match table optimization logic to recurse on the
children of every GroupMatcher, forming
additional groups (which hoist more common predicates into a shared
group).

To enable that, I had to update the `getFirstConditionAsRootType`
implementation to support `GroupMatcher`.
I also included a small refactoring of the match table optimization
pipeline that was identical between the
GlobalISel and GlobalISelCombiner emitters.

The results of this change are up to a 25% size reduction for GlobalISel
match tables.
There is a tiny increase (a few bytes) in a combiner table because we
now create new groups

    [16 lines not shown]
DeltaFile
+204-0llvm/test/TableGen/GlobalISelEmitter/MatchTableOptimizerRecursion.td
+64-19llvm/utils/TableGen/Common/GlobalISel/GlobalISelMatchTable.cpp
+3-34llvm/utils/TableGen/GlobalISelEmitter.cpp
+1-34llvm/utils/TableGen/GlobalISelCombinerEmitter.cpp
+12-7llvm/utils/TableGen/Common/GlobalISel/GlobalISelMatchTable.h
+4-4llvm/test/CodeGen/AArch64/GlobalISel/select-intrinsic-aarch64-sdiv.mir
+288-981 files not shown
+291-1007 files

LLVM/project 992df0allvm/utils/TableGen/Common/GlobalISel GlobalISelMatchTable.h

[GlobalISel][MatchTable] Fix RTTI of Imm/ImmPredicate classes (#197142)
DeltaFile
+7-5llvm/utils/TableGen/Common/GlobalISel/GlobalISelMatchTable.h
+7-51 files

FreeBSD/ports 170c476news/inn-current Makefile, news/inn-current/files pr340.patch

news/inn-current: Bump EXPERIMENTAL tombstone patch

Write out a header after successful expire to keep the fast path fast
DeltaFile
+470-92news/inn-current/files/pr340.patch
+1-1news/inn-current/Makefile
+471-932 files

LLVM/project 114870fllvm/docs AMDGPUUsage.rst, llvm/lib/Target/AMDGPU SIMemoryLegalizer.cpp

[AMDGPU] Clamp load_monitor scope to minimum SCOPE_SE

The load_monitor instructions monitor L2 cache lines and therefore require at
least SCOPE_SE to ensure the L2 cache is hit. The current memory model requires
the user to ensure that the specified scope is such that it results in at least
SCOPE_SE, otherwise the behaviour is undefined. Instead, we now clamp the
emitted scope at a minimum of SCOPE_SE, so that the undefined behaviour is
converted into a performance loss instead.

Assisted-By: Claude Opus 4.6
DeltaFile
+37-3llvm/test/CodeGen/AMDGPU/llvm.amdgcn.load.monitor.gfx1250.ll
+25-0llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
+9-6llvm/docs/AMDGPUUsage.rst
+71-93 files

LLVM/project 4b23504clang/include/clang/Parse Parser.h, clang/lib/Parse ParseExprCXX.cpp ParseDecl.cpp

[Clang][C2y] Add support for if declaration
DeltaFile
+59-0clang/test/C/C2y/n3267.c
+36-11clang/lib/Parse/ParseExprCXX.cpp
+4-6clang/include/clang/Parse/Parser.h
+3-2clang/lib/Parse/ParseDecl.cpp
+2-2clang/lib/Parse/ParseTentative.cpp
+1-1clang/lib/Parse/ParseStmt.cpp
+105-221 files not shown
+107-227 files

FreeBSD/ports 748bdb4deskutils/R-cran-exams2forms distinfo Makefile

deskutils/R-cran-exams2forms: Update to 0.2-1

Changelog: https://cran.r-project.org/web/packages/exams2forms/news/news.html
DeltaFile
+3-3deskutils/R-cran-exams2forms/distinfo
+1-1deskutils/R-cran-exams2forms/Makefile
+4-42 files

LLVM/project 66f30c1clang/include/clang/Parse Parser.h, clang/lib/Parse ParseExprCXX.cpp ParseDecl.cpp

[Clang][C2y] Add support for if declaration
DeltaFile
+59-0clang/test/C/C2y/n3267.c
+38-12clang/lib/Parse/ParseExprCXX.cpp
+4-6clang/include/clang/Parse/Parser.h
+3-2clang/lib/Parse/ParseDecl.cpp
+2-2clang/lib/Parse/ParseTentative.cpp
+1-1clang/lib/Parse/ParseStmt.cpp
+107-231 files not shown
+109-237 files

OPNSense/core ce6728asrc/opnsense/mvc/app/views/OPNsense/Firewall alias.volt

Firewall: Aliases - add a formatter to show content fields as "dynamic" when populated by other components. closes https://github.com/opnsense/core/issues/10315
DeltaFile
+8-1src/opnsense/mvc/app/views/OPNsense/Firewall/alias.volt
+8-11 files

OpenBSD/ports Wfzvscydevel/libsigc++30 distinfo Makefile

   Update to libsigc++30-3.8.1.
VersionDeltaFile
1.11+2-2devel/libsigc++30/distinfo
1.15+1-2devel/libsigc++30/Makefile
+3-42 files

LLVM/project ee54401mlir/lib/Conversion/GPUToSPIRV WmmaOpsToSPIRV.cpp, mlir/test/Conversion/GPUToSPIRV wmma-ops-to-spirv-khr-coop-matrix.mlir

[mlir][spirv] Set signed coop matrix operands (#197932)

Populate CooperativeMatrixOperandsKHR on KHR cooperative matrix
multiply-add based on the cooperative matrix element types. Signed
integer A, B, C and result matrices require their corresponding signed
component bits; otherwise SPIR-V treats those integer components as
unsigned.

Added lit test

Co-authored-by: Hsiangkai Wang <hsiangkai.wang at arm.com>
DeltaFile
+46-1mlir/lib/Conversion/GPUToSPIRV/WmmaOpsToSPIRV.cpp
+25-1mlir/test/Conversion/GPUToSPIRV/wmma-ops-to-spirv-khr-coop-matrix.mlir
+71-22 files

LLVM/project aca9f83clang/test/CIR/CodeGenBuiltins/RISCV riscv-zbb.c, llvm/unittests/DebugInfo/LogicalView DWARFReaderTest.cpp

Merge branch 'main' into users/kasuga-fj/da-consolidate-acc-gcd
DeltaFile
+57-21clang/test/CIR/CodeGenBuiltins/RISCV/riscv-zbb.c
+75-1llvm/unittests/DebugInfo/LogicalView/DWARFReaderTest.cpp
+58-0mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
+51-0mlir/test/Dialect/Linalg/canonicalize.mlir
+47-0mlir/test/Target/LLVMIR/nvvm/sqrt/sqrt.mlir
+38-1mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
+326-2328 files not shown
+538-16434 files

OPNSense/core 4016771src/opnsense/www/js opnsense_bootgrid.js

bootgrid: prevent NaN pagination values for non-ajax grids when row count is set to all
DeltaFile
+1-1src/opnsense/www/js/opnsense_bootgrid.js
+1-11 files

OpenBSD/src 5B9vFoysys/sys namei.h

   0X20 -> 0x20, matching the other hex constants
VersionDeltaFile
1.54+2-2sys/sys/namei.h
+2-21 files

NetBSD/pkgsrc WS93Ixesecurity/defguard-gateway distinfo, security/defguard-gateway/patches patch-Cargo.toml

   defguard-gateway: fix build with defguard 2.0.1
VersionDeltaFile
1.5+8-8security/defguard-gateway/distinfo
1.5+4-4security/defguard-gateway/patches/patch-Cargo.toml
+12-122 files

NetBSD/pkgsrc imPnPoXdoc CHANGES-2026

   doc: Updated devel/py-gobject3 to 3.56.3nb2
VersionDeltaFile
1.3094+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc reU1Rf5devel/py-gobject3 Makefile distinfo, devel/py-gobject3/patches patch-gi_overrides_____init____.py

   py-gobject3: add an upstream patch to reduce warnings

   Will be in the next release.

   Bump PKGREVISION.
VersionDeltaFile
1.1+42-0devel/py-gobject3/patches/patch-gi_overrides_____init____.py
1.61+2-2devel/py-gobject3/Makefile
1.33+2-1devel/py-gobject3/distinfo
+46-33 files

FreeBSD/ports 816c3cdwww/gotty distinfo Makefile

www/gotty: Update to 1.7.2
DeltaFile
+7-7www/gotty/distinfo
+1-1www/gotty/Makefile
+8-82 files

FreeBSD/ports f55b540audio/libopenmpt distinfo Makefile

audio/libopenmpt: Update to 0.8.7
DeltaFile
+3-3audio/libopenmpt/distinfo
+1-1audio/libopenmpt/Makefile
+4-42 files

OpenBSD/ports HdnEOqzdevel/llvm/19/patches patch-compiler-rt_lib_builtins_ppc_atomic_lock_free_c, devel/llvm/20/patches patch-compiler-rt_lib_builtins_ppc_atomic_lock_free_c

   remove obsolete patches; from Brad
VersionDeltaFile
1.2+0-0devel/llvm/20/patches/patch-compiler-rt_lib_builtins_ppc_atomic_lock_free_c
1.2+0-0devel/llvm/21/patches/patch-compiler-rt_lib_builtins_ppc_atomic_lock_free_c
1.2+0-0devel/llvm/22/patches/patch-compiler-rt_lib_builtins_ppc_atomic_lock_free_c
1.3+0-0devel/llvm/22/patches/patch-libunwind_src_Registers_hpp
1.2+0-0devel/llvm/19/patches/patch-compiler-rt_lib_builtins_ppc_atomic_lock_free_c
+0-05 files

LLVM/project aa1081flibc/src/__support/OSUtil/linux syscall.h auxv.h, libc/src/__support/threads/linux thread.cpp

[libc] Introduce a typed syscall wrapper and use it in mmap (#197459)

Linux reserves a range of values (everything above -4096u, aka
MAX_ERRNO) as an error value, so the check can be performed without
knowing the details of the specific syscall. libc functions where these
values would be a valid result (e.g. PTRACE_PEEKDATA) are implemented
differently at the kernel level (e.g. returning the result through a
pointer argument). The only exception are a handful of syscalls (getpid,
getuid, ...) which can never fail, and where this could be an actual
user/group ID (particularly on 32-bit systems).

Specifically, for mmap, this lets us remove the is_valid_mmap helper and
SYS_mmap2 ifdefs in various places.

More generally, this can simplify many syscall wrappers as often the
only thing they are doing is converting the return value into an
ErrorOr.
DeltaFile
+14-23libc/src/__support/threads/linux/thread.cpp
+18-10libc/src/__support/OSUtil/linux/syscall.h
+7-20libc/startup/linux/x86_64/tls.cpp
+7-20libc/startup/linux/riscv/tls.cpp
+7-19libc/startup/linux/aarch64/tls.cpp
+7-11libc/src/__support/OSUtil/linux/auxv.h
+60-1037 files not shown
+76-12313 files

NetBSD/pkgsrc Sfrus43doc CHANGES-2026

   doc: Updated x11/libXi to 1.8.3
VersionDeltaFile
1.3093+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc 6bCzpFHx11/libXi distinfo Makefile

   libXi: update to 1.8.3.

   libXi 1.8.3 is now available. This release fixes an issue with
   potentially uninitialized memory if auxiliary events (DeviceValuatorNotify,
   KeyStateNotify, ButtonStateNotify) are received when the event they
   are supposed to follow got lost.
VersionDeltaFile
1.35+4-4x11/libXi/distinfo
1.43+2-2x11/libXi/Makefile
+6-62 files

LLVM/project 85db723mlir/include/mlir/Dialect/LLVMIR NVVMOps.td, mlir/lib/Dialect/LLVMIR/IR NVVMDialect.cpp

[MLIR][NVVM] Add sqrt Ops (#197422)

Adds two NVVM dialect ops covering all 14 floating-point `sqrt` forms:

- `nvvm.sqrt` -- IEEE-compliant sqrt with explicit rounding mode
  (`sqrt.<RM>[.ftz].{f32,f64}`), 12 forms.
- `nvvm.sqrt.approx` -- fast approximate sqrt (`sqrt.approx[.ftz].f32`),
  2 forms; uses the `NVVM_F32UnaryApproxOp` base class.

The two ops are split because the rounded forms require an explicit rounding mode and support both f32 and f64, while the approx forms have no rounding mode and are f32-only.
DeltaFile
+58-0mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
+47-0mlir/test/Target/LLVMIR/nvvm/sqrt/sqrt.mlir
+35-0mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
+17-0mlir/test/Target/LLVMIR/nvvm/sqrt/sqrt_invalid.mlir
+157-04 files

NetBSD/src 8kMcVvHsys/arch/riscv/conf GENERIC GENERIC64

   Annotate the commented out *HIST_PRINT options with KERNHIST_DELAY=0
VersionDeltaFile
1.26+4-4sys/arch/riscv/conf/GENERIC
1.25+4-4sys/arch/riscv/conf/GENERIC64
+8-82 files

NetBSD/pkgsrc goDzw7Jdoc CHANGES-2026

   doc: Updated devel/glib2-introspection to 2.88.1nb1
VersionDeltaFile
1.3092+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc 9j4L9psdevel/glib2-introspection Makefile

   glib2-introspection: depend on latest gobject-introspection

   just to make sure we get a consistent package set if the
   gobject-introspection change is problematic after all.

   Bump PKGREVISION.
VersionDeltaFile
1.3+3-1devel/glib2-introspection/Makefile
+3-11 files

NetBSD/pkgsrc zF1E1Gadoc CHANGES-2026

   doc: Updated devel/gobject-introspection to 1.86.0nb3
VersionDeltaFile
1.3091+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc 53SfTcTdevel/gobject-introspection Makefile distinfo, devel/gobject-introspection/patches patch-gir_meson.build patch-giscanner_maintransformer.py

   gobject-introspection: remove patches that seem unneeded

   No change to gobject-introspection or glib2-introspection
   (except the actual change in maintransformer.py)

   Bump PKGREVISION.
VersionDeltaFile
1.102+2-2devel/gobject-introspection/Makefile
1.62+1-3devel/gobject-introspection/distinfo
1.8+1-1devel/gobject-introspection/patches/patch-gir_meson.build
1.2+1-1devel/gobject-introspection/patches/patch-giscanner_maintransformer.py
+5-74 files