FreeBSD/ports 692a524 — www/linkwarden Makefile, www/linkwarden/files patch-apps_web_components_Preservation_ReadableView.tsx pkg-message.in

www/linkwarden: New port

Linkwarden is a self-hosted, collaborative bookmark manager that collects,
organizes and preserves webpages.  Every saved link is archived as a
screenshot, a PDF, a single file HTML copy and a readable article, so the
content stays available even when the original page is gone.

Co-authored-by: Jochen Neumeister <joneum at FreeBSD.org>
DeltaFile
+142-0www/linkwarden/Makefile
+116-0www/linkwarden/files/linkwarden_web.in
+94-0www/linkwarden/files/linkwarden_worker.in
+41-0www/linkwarden/files/linkwarden.env.sample
+33-0www/linkwarden/files/pkg-message.in
+25-0www/linkwarden/files/patch-apps_web_components_Preservation_ReadableView.tsx
+451-016 files not shown
+619-222 files

LLVM/project fa45fec — clang/lib/CIR/CodeGen CIRGenModule.cpp, clang/lib/CIR/FrontendAction CIRGenAction.cpp

[CIR][SYCL] Enable relocatable device code for SYCL (#226596)

Emit `sycl_external` functions with sycl-module-id, allow -fgpu-rdc
mangling, and embed offload objects in the host.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+74-0clang/test/CIR/CodeGenSYCL/sycl-external.cpp
+74-0clang/test/CIR/CodeGenSYCL/embed-offload-object.cpp
+53-0clang/test/CIR/CodeGenSYCL/gpu-rdc-mangled-name.cpp
+18-0clang/lib/CIR/FrontendAction/CIRGenAction.cpp
+12-4clang/lib/CIR/CodeGen/CIRGenModule.cpp
+231-45 files

FreeBSD/ports 4398a12 — emulators/es-de pkg-plist distinfo, emulators/es-de/files patch-CMakeLists.txt

emulators/es-de: Update 3.4.1 => 3.5.0

Changelog:
https://gitlab.com/es-de/emulationstation-de/-/releases/v3.5.0

Remove devel/utf8cpp from BUILD_DEPENDS because it's not required
anymore since this release.

PR:             298986
Sponsored by:   UNIS Labs (vvd, commit patch)
DeltaFile
+10-16emulators/es-de/files/patch-CMakeLists.txt
+2-6emulators/es-de/Makefile
+3-3emulators/es-de/distinfo
+2-0emulators/es-de/pkg-plist
+17-254 files

FreeBSD/src 6d7f016 — sys/netpfil/pf pf_nl.c

pf: take the rules read lock in pf_handle_getrule()

pfctl -sr calls PFNL_CMD_GETRULE once per rule, and
pf_handle_getrule() takes the rules write lock each time, so listing a
ruleset of N rules stops packet processing N times. Only zeroing the
counters (pfctl -z) needs the write lock. Take the read lock
otherwise, as DIOCGETRULENV does.

Reviewed by:            kp
Approved by:            kp (mentor)
Fixes:                  777a4702c591 ("pf: implement addrule via netlink")
MFC after:              1 week
Sponsored by:           Rubicon Communications, LLC ("Netgate")
Differential Revision:  https://reviews.freebsd.org/D60161
DeltaFile
+20-6sys/netpfil/pf/pf_nl.c
+20-61 files

FreeBSD/src 82ab4ad — sys/netpfil/pf pf.c

pf: leave the epoch to purge unlinked rules

pf_purge_thread() calls pf_purge_unlinked_rules() in the network
epoch, where sleeping is not allowed, and it takes pf_config_lock, an
sx lock. If a rule is being added at the time, the purge thread
can sleep on the lock, which panics with INVARIANTS.

Reviewed by:            kp
Approved by:            kp (mentor)
Fixes:                  f92d9b1aad73 ("pflow: import from OpenBSD")
MFC after:              1 week
Sponsored by:           Rubicon Communications, LLC ("Netgate")
Differential Revision:  https://reviews.freebsd.org/D60160
DeltaFile
+6-0sys/netpfil/pf/pf.c
+6-01 files

FreeBSD/src be7e57f — sys/netpfil/pf pf_nl.c

pf: free an unparsed rule with pf_krule_free() in pf_handle_addrule()

When the PFNL_CMD_ADDRULE message fails to parse, pf_handle_addrule()
frees the rule with pf_free_rule(), which asserts the rules and config
locks (neither is held) and releases references that
pf_ioctl_addrule() has not taken yet. With INVARIANTS this panics on
any parse error; without, a rule address parsed as PF_ADDR_TABLE makes
pfr_detach_table() dereference NULL.

Use pf_krule_free(), as the ioctl paths do.

Reviewed by:            kp
Approved by:            kp (mentor)
Fixes:                  e249f5daa41f ("pf: fix memory leak on rule add parse failure")
MFC after:              1 week
Sponsored by:           Rubicon Communications, LLC ("Netgate")
Differential Revision:  https://reviews.freebsd.org/D60104
DeltaFile
+1-1sys/netpfil/pf/pf_nl.c
+1-11 files

FreeBSD/src 55a69b9 — lib/libpfctl libpfctl.c, sbin/pfctl pfctl_radix.c

libpfctl: zero the counters before summing per-chunk results

The chunked table address functions (set, add, del, clr_astats) add
each chunk's result to the caller's counter without initialising it.
pfctl reuses nadd for the number of tables created, so a replace that
also creates the table is off by one:

pfctl -t foo -T replace 192.0.2.1

reports "2 addresses added".

Zero the counters first, as pfctl_test_addrs() already does. Remove
the workaround for the add case from pfctl (da64f6e047b5), which is
no longer needed.

Add a regression test.

Reviewed by:            kp
Approved by:            kp (mentor)

    [4 lines not shown]
DeltaFile
+38-0tests/sys/netpfil/pf/table.sh
+16-0lib/libpfctl/libpfctl.c
+0-3sbin/pfctl/pfctl_radix.c
+54-33 files

LLVM/project 7afdf83 — lldb/packages/Python/lldbsuite/test/tools/lldb_dap testcase.py, lldb/test/API/tools/lldb-dap/breakpoint-assembly TestDAP_breakpointAssembly.py

[lldb-dap][test] Let tests run under both stdio and server adapter modes (#227435)

Add create_debug_adapter(), which picks stdio or server mode based on
self.run_as_server. This allows tests to run under both modes when
toggling `LLDBDAP_RUN_AS_SERVER`, rather than being pinned to stdio.
DeltaFile
+20-24lldb/packages/Python/lldbsuite/test/tools/lldb_dap/testcase.py
+3-4lldb/test/API/tools/lldb-dap/launch/TestDAP_launch_termination.py
+1-1lldb/test/API/tools/lldb-dap/save-core/TestDAP_save_core.py
+1-1lldb/test/API/tools/lldb-dap/launch/TestDAP_launch_no_lldbinit_flag.py
+1-1lldb/test/API/tools/lldb-dap/breakpoint-assembly/TestDAP_breakpointAssembly.py
+26-315 files

LLVM/project 1c7ca86 — mlir/include/mlir/Dialect/Linalg/IR LinalgRelayoutOps.td, mlir/lib/Dialect/Linalg/TransformOps LinalgTransformOps.cpp

[mlir][linalg] Document and diagnose pack/unpack memref limits (#225773)

Scoped down from the [original
RFC](https://discourse.llvm.org/t/rfc-transformation-support-for-linalg-pack-linalg-unpack-on-memrefs/91832)
per discussion in #225650.

- Replace/add the `// TODO: Support Memref Pack/UnPackOp...` comment
across all sites with a comment stating the actual invariant, pointing
to #225650 for the reasoning.
- Document the invariant in the `Linalg_PackOp`/`Linalg_UnPackOp`
descriptions.
- Emit a dedicated diagnostic from `structured.pack`, `lower_pack`,
`lower_unpack`, and tiling when the target has memref operands, instead
of a generic/silent failure.
- Add test coverage for the new diagnostics, previously untested.

---------

Signed-off-by: Federico Bruzzone <federico.bruzzone.i at gmail.com>
DeltaFile
+34-18mlir/include/mlir/Dialect/Linalg/IR/LinalgRelayoutOps.td
+43-0mlir/test/Dialect/Linalg/transform-lower-pack.mlir
+39-1mlir/test/Dialect/Linalg/transform-op-pack.mlir
+27-9mlir/lib/Dialect/Linalg/Transforms/PackAndUnpackPatterns.cpp
+36-0mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
+24-0mlir/lib/Dialect/Linalg/Transforms/DataLayoutPropagation.cpp
+203-285 files not shown
+258-4411 files

LLVM/project 3b7c3a0 — llvm/include/llvm/CodeGen SlotIndexes.h, llvm/lib/CodeGen SlotIndexes.cpp

[SlotIndexes] Add queries for stale indexes

An erased instruction leaves its index list entry in place, making the
index indistinguishable from a block boundary entry. Add
isBlockBoundaryIndex() and isStaleIndex() to tell the two apart, and
canonicalizeIndex() to resolve a stale index to the closest preceding
instruction's register slot, or the block start if none survives.

NFC. No caller yet. LiveDebugVariables is next.
DeltaFile
+207-0llvm/unittests/CodeGen/SlotIndexesTest.cpp
+29-0llvm/lib/CodeGen/SlotIndexes.cpp
+14-0llvm/include/llvm/CodeGen/SlotIndexes.h
+1-0llvm/unittests/CodeGen/CMakeLists.txt
+251-04 files

LLVM/project f31228b — llvm/include/llvm/CodeGen LiveDebugVariables.h, llvm/lib/CodeGen LiveDebugVariables.cpp

[LiveDebugVariables] Repair stale SlotIndexes

The analysis keeps its indexes from before the first register allocator
until DBG_VALUEs are emitted, by which point passes in between have
erased some of the instructions they point at. Resolve them at the
start of each allocator run and before emitting.

SlotIndexes can then reclaim the entries of erased instructions without
sparing the ones held here, which would have made generated code depend
on -g. Emitted locations are unchanged, except that intervals resolving
to one position now emit a single DBG_VALUE rather than identical
consecutive ones.
DeltaFile
+140-0llvm/lib/CodeGen/LiveDebugVariables.cpp
+63-0llvm/test/DebugInfo/AMDGPU/live-debug-vars-stale-slot-indexes.ll
+8-4llvm/test/DebugInfo/MIR/X86/live-debug-vars-unused-arg-debugonly.mir
+8-0llvm/include/llvm/CodeGen/LiveDebugVariables.h
+5-2llvm/test/CodeGen/X86/debug-spilled-snippet.mir
+5-2llvm/test/CodeGen/X86/debug-spilled-snippet.ll
+229-81 files not shown
+236-87 files

LLVM/project 578ddf9 — clang/lib/Sema SemaARM.cpp, clang/test/Sema builtins-microsoft-arm64.c

[clang][AArch64] Fix range check for _Read/_WriteStatusReg (#227052)

PR #187290 added a range check of `[0x4000, 0x7fff]` to the
`_ReadStatusReg` and `_WriteStatusReg` builtins. Since `op0 == 2`
registers have bit 14 clear and encode below 0x4000, that check was
incorrect.

This change widens the range back to `[0x0, 0x7fff]` and adds a
regression test.

Fixes #226777

Assisted by: Claude Opus 5 (via VS Code).
DeltaFile
+8-2clang/test/Sema/builtins-microsoft-arm64.c
+3-1clang/lib/Sema/SemaARM.cpp
+11-32 files

LLVM/project 595f4e1 — lldb/examples/python formatter_bytecode.py

[lldb] Fix GTE operator typo in formatter_bytecode.py (#224767)
DeltaFile
+1-1lldb/examples/python/formatter_bytecode.py
+1-11 files

FreeBSD/src c1241c6 — sys/netpfil/pf pf_if.c pf.c

pf: modify pfik_flags atomically

The purge thread sets PFI_IFLAG_REFS on the interfaces that states
refer to without the rules lock, under which the other flags are
changed. The updates can interleave, so that a "set skip on" is lost,
or outlives its removal, until the next ruleset load.

Use atomic operations to modify the flags. In the purge thread, only
write if the flag is not already set.

Reviewed by:            kp
Approved by:            kp (mentor)
MFC after:              1 week
Sponsored by:           Rubicon Communications, LLC ("Netgate")
Differential Revision:  https://reviews.freebsd.org/D60107
DeltaFile
+10-2sys/netpfil/pf/pf.c
+5-5sys/netpfil/pf/pf_if.c
+15-72 files

LLVM/project 087e855 — llvm/test/CodeGen/AMDGPU loop-header-align-gfx950.mir

AMDGPU: Update test after serializing max-bytes-for-alignment (#227895)

Test added after initial PR
DeltaFile
+2-2llvm/test/CodeGen/AMDGPU/loop-header-align-gfx950.mir
+2-21 files

LLVM/project 2a93d3d — llvm/lib/Target/NVPTX NVPTXSubtarget.h NVPTXInstrInfo.td, llvm/test/Transforms/AtomicExpand/NVPTX atomicrmw-i64-sm20.ll

[NVPTX] Support native 64-bit atomic add/sub pre-SM32 (#222471)

64-bit min/max/and/or/xor require SM32 but add/sub don't.
DeltaFile
+126-0llvm/test/Transforms/AtomicExpand/NVPTX/atomicrmw-i64-sm20.ll
+7-10llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
+1-2llvm/lib/Target/NVPTX/NVPTXSubtarget.h
+1-2llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
+135-144 files

LLVM/project b4643ba — flang/lib/Lower ConvertVariable.cpp, flang/test/Lower/CUDA cuda-derived.cuf

[flang][cuda] Do not use cuf.alloc for derived-type function results (#227863)

Local variables of a derived type with device allocatable components
are allocated in managed memory with cuf.alloc/cuf.free. This also
applied to function results, but the storage of a derived-type function
result is replaced by the caller-provided buffer in the AbstractResult
pass. Allocating it with cuf.alloc is therefore incorrect, and the
matching cuf.free would release memory that is returned to the caller.

Skip function results in needCUDAAlloc so that they are lowered to a
regular fir.alloca. Explicit device/managed/shared/pinned attributes
on the symbol are still honored.
DeltaFile
+19-0flang/test/Lower/CUDA/cuda-derived.cuf
+4-0flang/lib/Lower/ConvertVariable.cpp
+23-02 files

LLVM/project 62f1dac — mlir/lib/Transforms/Utils GreedyPatternRewriteDriver.cpp, mlir/test/Transforms test-strict-pattern-driver.mlir canonicalize-cfg-reachability.mlir

[mlir] Avoid rewriting unreachable blocks in the greedy driver

A rewrite can disconnect a block after the iteration's initial CFG
sweep. Queued operations can develop self-referential SSA uses in
unreachable code, causing crashes or repeated rewrites that prevent the
worklist pass from returning. Track reachability through rewriter
notifications and skip these operations until the next iteration removes
their blocks.

The reproducer in #221152 exposes this gap in the initial sweep added by
#153957 for #153732. #154038 similarly skips unreachable blocks in the
walk-based driver. Reachable graph-region self-cycles in #194824 and
#205064 remain separate; #207185 proposes a fold-specific fix for them.

A forwarding ReachabilityListener sits between the rewriter and the
worklist driver and records, per region, which blocks changed their
terminator and which blocks were removed. Queries happen between
rewrites, once per popped operation, and update a per-region cache of
reachable blocks and their successors incrementally: added edges extend

    [41 lines not shown]
DeltaFile
+330-13mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp
+334-0mlir/test/Transforms/greedy-cfg-reachability.mlir
+148-4mlir/test/lib/Dialect/Test/TestPatterns.cpp
+118-0mlir/test/Transforms/canonicalize-dce.mlir
+57-0mlir/test/Transforms/canonicalize-cfg-reachability.mlir
+51-2mlir/test/Transforms/test-strict-pattern-driver.mlir
+1,038-194 files not shown
+1,133-2310 files

LLVM/project 07b8767 — llvm/test/CodeGen/AMDGPU slp-int-to-fp.ll

update slp-int-to-fp.ll
DeltaFile
+324-391llvm/test/CodeGen/AMDGPU/slp-int-to-fp.ll
+324-3911 files

LLVM/project d2566ea — llvm/lib/Target/AMDGPU AMDGPUTargetTransformInfo.cpp, llvm/test/Analysis/CostModel/AMDGPU narrow-int-to-bfloat.ll narrow-int-to-fp.ll

few fixes
DeltaFile
+90-90llvm/test/Analysis/CostModel/AMDGPU/narrow-int-to-fp.ll
+24-24llvm/test/Analysis/CostModel/AMDGPU/narrow-int-to-bfloat.ll
+10-1llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
+124-1153 files

LLVM/project a39b0b2 — llvm/lib/Target/AMDGPU AMDGPUTargetTransformInfo.cpp

format
DeltaFile
+1-1llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
+1-11 files

LLVM/project a4bd0d8 — llvm/test/CodeGen/AMDGPU slp-int-to-fp.ll

update slp-int-to-fp.ll
DeltaFile
+128-170llvm/test/CodeGen/AMDGPU/slp-int-to-fp.ll
+128-1701 files

LLVM/project eee9dd7 — llvm/lib/Target/AMDGPU AMDGPUTargetTransformInfo.cpp, llvm/test/Analysis/CostModel/AMDGPU narrow-int-to-bfloat.ll narrow-int-to-fp.ll

[AMDGPU] Do not price the extension of a loaded i40, i48 or i56 in int to fp casts

A widened constant or invariant load still pays it.
DeltaFile
+100-100llvm/test/Analysis/CostModel/AMDGPU/narrow-int-to-fp.ll
+24-24llvm/test/Analysis/CostModel/AMDGPU/narrow-int-to-bfloat.ll
+18-6llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
+142-1303 files

LLVM/project 10160c8 — llvm/lib/Target/AMDGPU AMDGPUTargetTransformInfo.cpp, llvm/test/Analysis/CostModel/AMDGPU narrow-int-to-bfloat.ll narrow-int-to-fp.ll

[AMDGPU] Price scalar integer to fp casts by source width and sign

Scalar sources between a byte and 31 bits fell to the default cost of one
while the matching vector lanes were already priced, which skewed the
difference SLP weighs a bundle against. Such a source is extended before
the conversion, and what the extension takes depends on the width, on the
sign and on whether the subtarget has SDWA and 16 bit instructions.
Sources narrower than a byte are left alone, because their vector form is
not priced either.
DeltaFile
+388-388llvm/test/Analysis/CostModel/AMDGPU/narrow-int-to-fp.ll
+72-72llvm/test/Analysis/CostModel/AMDGPU/narrow-int-to-bfloat.ll
+29-9llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
+489-4693 files

LLVM/project 0d4258a — llvm/test/CodeGen/AMDGPU slp-int-to-fp.ll

[NFC][AMDGPU] Add SLP to asm tests for int to fp casts of loaded odd width integers
DeltaFile
+855-0llvm/test/CodeGen/AMDGPU/slp-int-to-fp.ll
+855-01 files

LLVM/project 440d6f7 — flang/lib/Optimizer/Transforms/CUDA CUFOpConversion.cpp, flang/test/Fir/CUDA cuda-data-transfer-char-len.fir

[flang][cuda] Keep length parameters when boxing in data transfer conversion (#227883)

When lowering cuf.data_transfer, CUFOpConversion creates descriptors for
non-descriptor operands in emboxSrc, emboxDst and asHLFIREntity. The
shape
was taken from the defining fir.declare/hlfir.declare, but the length
type
parameters were dropped. For a character entity with a non-constant
length
(e.g. an automatic `character(len=l) :: str(n)` assigned to a managed or
device array), this produced a fir.embox of !fir.char<1,?> without
typeparams, which later hit the `!lenParams.empty()` assertion in
EmboxCommonConversion::getCharacterByteSize during FIR to LLVM codegen.

Retrieve the type parameters from the declare alongside the shape and
pass
them when creating the box. Lengths already present in the type are
elided,
matching FirOpBuilder::createBox.
DeltaFile
+24-0flang/test/Fir/CUDA/cuda-data-transfer-char-len.fir
+14-3flang/lib/Optimizer/Transforms/CUDA/CUFOpConversion.cpp
+38-32 files

FreeBSD/ports 2acc1a8 — net/kea distinfo Makefile

net/kea: Update 3.2.0 => 3.2.1

Release Notes:
https://downloads.isc.org/isc/kea/3.2.1/Kea-3.2.1-ReleaseNotes.txt

PR:             298999 297304
Sponsored by:   UNIS Labs (vvd, commit patch)
Co-authored-by: Mark Holm <mail at mail-in.dk>
DeltaFile
+25-24net/kea/pkg-plist
+4-3net/kea/Makefile
+3-3net/kea/distinfo
+32-303 files

LLVM/project 0a9f172 — clang/docs ReleaseNotes.md, clang/lib/AST ExprConstant.cpp

[clang] Avoid stack exhaustion in recursive `constexpr` calls (#201706)

Guard constexpr function-call evaluation with
`runWithSufficientStackSpace` so deeply recursive calls use a fresh
stack before exhausting the current one. This prevents crashes during
both constexpr analysis and constant folding during LLVM IR generation,
including recursive floating-point expressions.

Fixes #201418
Fixes #200673

Assisted by Codex.
DeltaFile
+31-6clang/lib/AST/ExprConstant.cpp
+16-0clang/test/SemaCXX/constexpr-float-call-stack.cpp
+11-0clang/test/SemaCXX/constexpr-call-stack.cpp
+3-0clang/docs/ReleaseNotes.md
+61-64 files

FreeBSD/ports cbed3b1 — science/py-obspy Makefile

science/py-obspy: revert removal

The port was updated to a newer version py-sqlalchemy but
never un-deprecated.
DeltaFile
+0-3science/py-obspy/Makefile
+0-31 files

FreeBSD/ports dd2700a — . MOVED, science Makefile

science/py-obspy: Revert port removal

This reverts commit dc440d25c6facd3df348cb10cc85822d18f32e16.
DeltaFile
+41-0science/py-obspy/Makefile
+8-0science/py-obspy/pkg-descr
+3-0science/py-obspy/distinfo
+0-1MOVED
+1-0science/Makefile
+53-15 files