NetBSD/pkgsrc-wip a48af71. TODO, oq distinfo Makefile

oq: update to 0.0.22

0db6ba3 Fix local references by using NewDocumentWithConfiguration (#46)
DeltaFile
+3-3oq/distinfo
+1-1oq/Makefile
+0-1TODO
+4-53 files

LLVM/project bcdb7d3llvm/test/CodeGen/ARM vld2.ll

[ARM] Regenerate vld2.ll test. NFC
DeltaFile
+167-100llvm/test/CodeGen/ARM/vld2.ll
+167-1001 files

LLVM/project 95951fclibc/src/math/docs add_math_function.md

[libc] Add missing shared_math docs in `add_math_function.md` (#188026)

This PR intends to add/update the following things:

- Add missing doc for CMake for shared_math
- Add missing testing command for shared_math_test
- Nits (e.g., grammar, spaces, missing colons, etc.)
DeltaFile
+16-6libc/src/math/docs/add_math_function.md
+16-61 files

Dreckly/dreckly c9c73c4wm/i3 distinfo, wm/i3/patches patch-libi3_ucs2__conversion.c

i3: Fix iconv usage
DeltaFile
+50-0wm/i3/patches/patch-libi3_ucs2__conversion.c
+1-0wm/i3/distinfo
+51-02 files

Dreckly/dreckly 5c83e58wm/i3 distinfo, wm/i3/patches patch-src_sd-daemon.c patch-i3-config-wizard_main.c

i3: Fix build on SunOS with recent GCC
DeltaFile
+16-0wm/i3/patches/patch-src_sd-daemon.c
+14-0wm/i3/patches/patch-i3-config-wizard_main.c
+14-0wm/i3/patches/patch-libi3_get__process__filename.c
+3-0wm/i3/distinfo
+47-04 files

Dreckly/dreckly 914d805wm/i3 distinfo Makefile, wm/i3/patches patch-meson.build patch-src_config.c

i3: Update to 4.25.1
DeltaFile
+13-2wm/i3/patches/patch-meson.build
+6-6wm/i3/distinfo
+5-5wm/i3/patches/patch-src_config.c
+2-2wm/i3/Makefile
+26-154 files

LLVM/project 16e0cc8llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/AArch64 trunc-insertion.ll

[SLP]Fix codegen of compares with consts, being trunced

If the const values have more active bits, than requested by the another
operand of the compare, such constants should not be trunced to avoid
miscompilation
DeltaFile
+13-2llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+2-1llvm/test/Transforms/SLPVectorizer/AArch64/trunc-insertion.ll
+15-32 files

LLVM/project eaf5d35llvm/lib/Target/AMDGPU VOP3PInstructions.td SIFoldOperands.cpp, llvm/lib/Target/AMDGPU/Utils AMDGPUBaseInfo.h

AMDGPU: Codegen for v_dual_dot2acc_f32_f16/bf16 from VOP3

Codegen for v_dual_dot2acc_f32_f16/bf16 for targets that only have VOP3
version of the instruction.
Since there is no VOP2 version, instroduce temporary mir DOT2ACC pseudo
that is selected when there are no src_modifiers. This DOT2ACC pseudo
has src2 tied to dst (like the VOP2 version), PostRA pseudo expansion will
restore pseudo to VOP3 version of the instruction.
CreateVOPD will recoginize such VOP3 pseudo and generate v_dual_dot2acc.
DeltaFile
+170-312llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fdot2.ll
+96-95llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fdot2.f32.bf16.ll
+31-4llvm/lib/Target/AMDGPU/VOP3PInstructions.td
+21-8llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
+28-0llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
+19-1llvm/lib/Target/AMDGPU/GCNVOPDUtils.cpp
+365-4204 files not shown
+384-42210 files

Dreckly/dreckly 37aab08wm/i3 distinfo, wm/i3/patches patch-libi3_ucs2__conversion.c

i3: Fix iconv usage
DeltaFile
+50-0wm/i3/patches/patch-libi3_ucs2__conversion.c
+1-0wm/i3/distinfo
+51-02 files

LLVM/project 51cad80clang/lib/AST/ByteCode Interp.cpp Interp.h, clang/test/SemaTemplate stack-exhaustion.cpp

Revert "[clang][bytecode] Use tailcalls via `[[clang::musttail]]` (#173756)"

This reverts commit fdd00d2555a7d9a7c4d6c5c52e90bc5c157bd01f.
DeltaFile
+89-156clang/lib/AST/ByteCode/Interp.cpp
+48-87clang/utils/TableGen/ClangOpcodesEmitter.cpp
+12-38clang/lib/AST/ByteCode/Interp.h
+3-3clang/lib/AST/ByteCode/Compiler.cpp
+0-5clang/lib/AST/ByteCode/EvalEmitter.cpp
+0-4clang/test/SemaTemplate/stack-exhaustion.cpp
+152-2933 files not shown
+152-3009 files

LLVM/project fe383famlir/lib/Dialect/SCF/Transforms TileUsingInterface.cpp

[MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in TileUsingInterface.cpp (NFC)
DeltaFile
+2-2mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp
+2-21 files

LLVM/project dd6f353mlir/lib/Transforms RemoveDeadValues.cpp

[MLIR] Apply clang-tidy fixes for llvm-else-after-return in RemoveDeadValues.cpp (NFC)
DeltaFile
+1-2mlir/lib/Transforms/RemoveDeadValues.cpp
+1-21 files

LLVM/project 9aaba7cmlir/lib/Dialect/Index/IR IndexOps.cpp

[MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in IndexOps.cpp (NFC)
DeltaFile
+3-3mlir/lib/Dialect/Index/IR/IndexOps.cpp
+3-31 files

LLVM/project 0f9562dmlir/test/lib/Dialect/Bufferization TestOneShotModuleBufferize.cpp

[MLIR] Apply clang-tidy fixes for modernize-use-equals-default in TestOneShotModuleBufferize.cpp (NFC)
DeltaFile
+2-2mlir/test/lib/Dialect/Bufferization/TestOneShotModuleBufferize.cpp
+2-21 files

LLVM/project 364f8d4llvm/lib/CodeGen/SelectionDAG SelectionDAG.cpp, llvm/test/CodeGen/X86 known-never-zero.ll

[DAG] isKnownNeverZero - add ISD::VECTOR_SHUFFLE handling (#187855)

Fixes #183351
DeltaFile
+22-0llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+3-6llvm/test/CodeGen/X86/known-never-zero.ll
+25-62 files

LLVM/project d7128d8mlir/include/mlir/IR OpImplementation.h, mlir/test/IR invalid-custom-print-parse.mlir

[MLIR] Fix crash when parsing typed attribute via parseOptionalAttribute (#186192)

When calling `parseOptionalAttribute(result, type)` with a typed result
(e.g. `FloatAttr`), the call resolved to the generic
`parseOptionalAttribute(Attribute&, Type)` overload via implicit
conversion. This overload accepted any attribute, including ones that
don't match the expected concrete type. The caller would then invoke
type-specific methods (e.g. `FloatAttr::getValue()`) on storage that
belongs to a different attribute kind (e.g. `IntegerAttr`), causing a
type-confusion crash.

The fix adds a non-virtual template overload of `parseOptionalAttribute`
in `AsmParser` that intercepts calls for concrete attribute types not
covered by the dedicated virtual overloads (`Attribute`, `ArrayAttr`,
`StringAttr`, `SymbolRefAttr`). It parses the attribute generically and
then validates the result type via `dyn_cast`, emitting an error if the
parsed attribute is of the wrong kind.

Fixes #108135

Assisted-by: Claude Code
DeltaFile
+20-0mlir/include/mlir/IR/OpImplementation.h
+7-0mlir/test/IR/invalid-custom-print-parse.mlir
+27-02 files

LLVM/project dd68fc3llvm/lib/Target/AMDGPU VOP3PInstructions.td SIFoldOperands.cpp, llvm/lib/Target/AMDGPU/Utils AMDGPUBaseInfo.h

AMDGPU: Codegen for v_dual_dot2acc_f32_f16/bf16 from VOP3

Codegen for v_dual_dot2acc_f32_f16/bf16 for targets that only have VOP3
version of the instruction.
Since there is no VOP2 version, instroduce temporary mir DOT2ACC pseudo
that is selected when there are no src_modifiers. This DOT2ACC pseudo
has src2 tied to dst (like the VOP2 version), PostRA pseudo expansion will
restore pseudo to VOP3 version of the instruction.
CreateVOPD will recoginize such VOP3 pseudo and generate v_dual_dot2acc.
DeltaFile
+170-312llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fdot2.ll
+96-95llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fdot2.f32.bf16.ll
+31-4llvm/lib/Target/AMDGPU/VOP3PInstructions.td
+21-8llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
+27-0llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
+19-1llvm/lib/Target/AMDGPU/GCNVOPDUtils.cpp
+364-4204 files not shown
+383-42210 files

LLVM/project 691c653mlir/lib/TableGen Interfaces.cpp, mlir/test/mlir-tblgen interface-method-arg-error.td

[mlir][tblgen] Emit diagnostic instead of crashing for invalid interface method arg type (#186430)

When an interface method argument uses a non-string type (e.g., a
TableGen class reference like `Foo` instead of a string literal
`"Foo"`), the code in `InterfaceMethod::InterfaceMethod` would crash
with an assertion failure in `cast<StringInit>`. Replace the unchecked
cast with a `dyn_cast` and emit a `PrintFatalError` with a descriptive
error message pointing to the source location and identifying which
argument has the wrong type.

Before this fix:
mlir-tblgen: Assertion `isa<To>(Val) && "cast<Ty>() argument of
incompatible type\!"' failed.

After this fix:
error: expected string type for interface method argument #0 ('arg') ...

Fixes #61869

Assisted-by: Claude Code
DeltaFile
+13-0mlir/test/mlir-tblgen/interface-method-arg-error.td
+10-2mlir/lib/TableGen/Interfaces.cpp
+23-22 files

LLVM/project 71b53admlir/include/mlir/IR AttrTypeBase.td, mlir/lib/Dialect/Arith/IR ArithOps.cpp

IntegerAttr accessor changed to returning APInt by reference. (#187351)

IntegerAttr accessor getValue() returned an APInt by value. This works
well for the case where APInt is small, but leads to unnecessary copies
for larger bitwidths. This change switches this to returnsa const APInt&
instead.
DeltaFile
+2-2mlir/lib/Dialect/Arith/IR/ArithOps.cpp
+1-1mlir/include/mlir/IR/AttrTypeBase.td
+3-32 files

LLVM/project fdd00d2clang/lib/AST/ByteCode Interp.cpp Interp.h, clang/test/SemaTemplate stack-exhaustion.cpp

[clang][bytecode] Use tailcalls via `[[clang::musttail]]` (#173756)

This PR attempts to use a tailcall design for the bytecode interpreter
instead of the giant-switch design, similar to [what Python has been
doing](https://blog.reverberate.org/2025/02/10/tail-call-updates.html).

Using the two benchmarks from
https://developers.redhat.com/articles/2025/10/15/clang-bytecode-interpreter-update,
I get these numbers:
```
-- Sqlite
BASELINE:
Benchmark 1: bin/clang++ -c -std=c++26 sqlite.cpp -fconstexpr-steps=1000000000
  Time (mean ± σ):     18.197 s ±  0.370 s    [User: 17.926 s, System: 0.269 s]
  Range (min … max):   17.657 s … 19.215 s    30 runs

BEFORE:
Benchmark 1: bin/clang++ -c -std=c++26 sqlite.cpp -fconstexpr-steps=1000000000 -fexperimental-new-constant-interpreter
  Time (mean ± σ):      8.156 s ±  0.148 s    [User: 7.881 s, System: 0.273 s]

    [26 lines not shown]
DeltaFile
+157-90clang/lib/AST/ByteCode/Interp.cpp
+87-48clang/utils/TableGen/ClangOpcodesEmitter.cpp
+38-12clang/lib/AST/ByteCode/Interp.h
+3-3clang/lib/AST/ByteCode/Compiler.cpp
+5-0clang/lib/AST/ByteCode/EvalEmitter.cpp
+4-0clang/test/SemaTemplate/stack-exhaustion.cpp
+294-1533 files not shown
+301-1539 files

NetBSD/src S7sHEVDsys/uvm uvm_pdaemon.c

   uvmpd_scan_queue: remove ENABLE_UNRELIABLE_CHECK_PR_56764 block

   while this condition is true in most of times, we can't
   assert it here because these counters are not always
   updated in-sync.

   for example, consider a removal of a large tmpfs file which is
   mostly swapped out. because uao_dropswap_range() batches swpgonly
   updates, swpgonly can be temporarily larger than swpginuse.

   the original symptom reported in PR/56764 ("uvmexp.swpgonly > 0")
   looks like a different issue though.

   https://gnats.netbsd.org/56764
VersionDeltaFile
1.138+2-7sys/uvm/uvm_pdaemon.c
+2-71 files

LLVM/project 8724ec5llvm/lib/Target/AMDGPU AMDGPUInstructionSelector.cpp VOP2Instructions.td, llvm/test/CodeGen/AMDGPU llvm.amdgcn.fdot2.ll llvm.amdgcn.fdot2.f32.bf16.ll

AMDGPU: Improve codegen for VOP2 v_dot2c_f32_f16/bf16

Select VOP2 version when there are no src_modifers, otherwise VOP3
DeltaFile
+64-212llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fdot2.ll
+12-60llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.fdot2.ll
+20-48llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fdot2.f32.bf16.ll
+32-2llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
+14-12llvm/lib/Target/AMDGPU/VOP2Instructions.td
+22-0llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
+164-3344 files not shown
+181-33410 files

DragonFlyBSD/src 7d36bc5sys/bus/mmc mmc_subr.c

mmc - Fix missing variable initialization in mmc_switch_status

Found via gcc14 -fanalyzer.

Also part of FreeBSD commit aca38eab8a12.
DeltaFile
+1-0sys/bus/mmc/mmc_subr.c
+1-01 files

Dreckly/dreckly 44e0908audio/xmms distinfo, audio/xmms/patches patch-Output_solaris_Sun.h

xmms: another fix for GCC 14
DeltaFile
+14-0audio/xmms/patches/patch-Output_solaris_Sun.h
+1-0audio/xmms/distinfo
+15-02 files

Dreckly/dreckly 40ccbe7audio/xmms PLIST.common Makefile.common

xmms: disable mikmod support
DeltaFile
+0-1audio/xmms/PLIST.common
+0-1audio/xmms/Makefile.common
+0-22 files

Dreckly/dreckly 47ae3efaudio/xmms distinfo, audio/xmms/patches patch-wmxmms_getopt.c patch-xmms_getopt.c

xmms: Fix building with recent GCC
DeltaFile
+58-0audio/xmms/patches/patch-wmxmms_getopt.c
+58-0audio/xmms/patches/patch-xmms_getopt.c
+14-0audio/xmms/patches/patch-libxmms_xmmsctrl.c
+3-0audio/xmms/distinfo
+133-04 files

OPNSense/core 6974526src/opnsense/mvc/app/controllers/OPNsense/CaptivePortal/Api AccessController.php

fix: enforce POST-only on captiveportal logoffAction (#9989)

(cherry picked from commit 2346d3d9ae2fe3a32d40e94463fc92f6213c91a3)
DeltaFile
+22-19src/opnsense/mvc/app/controllers/OPNsense/CaptivePortal/Api/AccessController.php
+22-191 files

Dreckly/dreckly 0d3c35dwm/i3 distinfo, wm/i3/patches patch-libi3_ucs2__conversion.c

i3: Fix iconv usage
DeltaFile
+36-0wm/i3/patches/patch-libi3_ucs2__conversion.c
+1-0wm/i3/distinfo
+37-02 files

OPNSense/core 9e4c8aasrc/opnsense/scripts/kea get_kea_leases.py

Query kea-ctrl-socket for existing leases since the in-memory database is mutated when using lease-del, the csv files still show leases for a while that do not exist in memory anymore until a cleanup happens periodically.
DeltaFile
+36-4src/opnsense/scripts/kea/get_kea_leases.py
+36-41 files

OPNSense/core 4d4992bsrc/opnsense/mvc/app/library/OPNsense/Core Shell.php, src/opnsense/mvc/tests/app/library/OPNsense/Core ShellTest.php

mvc: Shell: rewrite exec_safe() to avoid vsprintf() complications; closes #9703

Only support %s and %% using preg_replace_callback() and throw
3 distinct TypeError cases making sure the resulting command is
the dummy command then.

We're not overly interested in how well escapeshellarg() works,
but we ensure it's being called always.

(cherry picked from commit b25bdee3b4d76b4e722d30fadd3591d90e30b50c)
(cherry picked from commit aef0172f5596683f4dba6a805f80b85116653dff)
DeltaFile
+18-7src/opnsense/mvc/app/library/OPNsense/Core/Shell.php
+7-7src/opnsense/mvc/tests/app/library/OPNsense/Core/ShellTest.php
+25-142 files