FreeBSD/ports 4e58093 — www/nextcloud-appointments Makefile distinfo

www/nextcloud-appointments: Update to 2.8.5
DeltaFile
+3-3www/nextcloud-appointments/distinfo
+1-1www/nextcloud-appointments/Makefile
+4-42 files

LLVM/project 239c882 — flang/lib/Lower Bridge.cpp, flang/lib/Lower/OpenMP DataSharingProcessor.h DataSharingProcessor.cpp

[flang][OpenMP] Privatize loop IVs in the innermost parallel (#227486)

A sequential loop's iteration variable is predetermined private in the
innermost parallel, teams or task-generating construct that encloses
the loop. When the loop was nested in another construct, such as a
worksharing loop, lowering failed to privatize the variable in the
enclosing parallel region. Instead, it created a new local copy inside
the nested construct, so the parallel region's other references to the
variable used the shared host variable.

Fix this by deciding which construct privatizes a symbol based on the
scope that owns it. This also simplifies DataSharingProcessor: the
OMPConstructSymbolVisitor, which walked the parse tree to track where
symbols were defined, is no longer needed and has been removed.

I have noticed that metadirectives don't always own the symbols that
should be privatized in them, as semantics doesn't create a new scope.
I'm not very familiar with metadirectives, but it seems this causes some
privatization issues with non-explicitly specified DSAs, as

    [7 lines not shown]
DeltaFile
+206-0flang/test/Lower/OpenMP/predetermined-do-iv.f90
+70-130flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
+0-73flang/lib/Lower/OpenMP/DataSharingProcessor.h
+6-7flang/test/Lower/OpenMP/unstructured.f90
+4-6flang/test/Lower/OpenMP/shared-loop.f90
+1-8flang/lib/Lower/Bridge.cpp
+287-2242 files not shown
+292-2278 files

LLVM/project b05db3d — llvm/lib/Transforms/InstCombine InstCombineMulDivRem.cpp, llvm/test/Transforms/InstCombine fmul.ll

[InstCombine] Fix profiles in foldMulSelectToNegate (#229865)

The condition is always the same as the original select, so we can just
propagate the metadata after using a matcher to ensure that we get the
actual SI out.
DeltaFile
+22-12llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
+10-4llvm/test/Transforms/InstCombine/fmul.ll
+0-2llvm/utils/profcheck-xfail.txt
+32-183 files

LLVM/project 7658602 — llvm/test/CodeGen/AMDGPU fma.ll reorder-stores.ll

AMDGPU: Remove remaining uses of -amdgpu-scalarize-global-loads=false

Stop relying on the option to select vector loads from uniform kernel
argument pointers.

Index loads by the workitem id where the test is about memory operations.
Use volatile loads where the test depends on a uniform value held in
VGPRs. Use functions with inreg pointer arguments for the MUBUF encoding
tests, which preserves the existing encodings. Convert the early
if-conversion tests that only need operand values into functions.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+74-26llvm/test/CodeGen/AMDGPU/global-extload-i16.ll
+58-17llvm/test/CodeGen/AMDGPU/urem.ll
+41-29llvm/test/CodeGen/AMDGPU/load-global-i64.ll
+39-27llvm/test/CodeGen/AMDGPU/load-global-f64.ll
+36-23llvm/test/CodeGen/AMDGPU/reorder-stores.ll
+31-19llvm/test/CodeGen/AMDGPU/fma.ll
+279-14119 files not shown
+463-30425 files

FreeBSD/ports 5630015 — graphics/egl-wayland Makefile distinfo

graphics/egl-wayland: Update to 1.1.24

PR:             299213
Differential Revision: https://reviews.freebsd.org/D60447
DeltaFile
+3-3graphics/egl-wayland/distinfo
+1-1graphics/egl-wayland/Makefile
+4-42 files

FreeBSD/src 398b29f — usr.sbin/sysconf sysconf.c sysconf.8, usr.sbin/sysconf/tests sysconf_test.sh

sysconf: add a poudriere target

poudriere.conf is handed to sysrc(8), including the jail, tree, and
set overlays poudriere(8) consults.  make, src, and src-env are
sub-targets over the matching make(1) files under poudriere.d.  -l
and -L list one path per line; -L includes overlays that do not exist
yet.  A bare -- ends the sub-target so the next word is a variable.
Bump sysconf(8) to 2.2.

Reviewed by:    fuz, kfv, bcr
Differential Revision:  https://reviews.freebsd.org/D59943
DeltaFile
+677-0usr.sbin/sysconf/sysconf_poudriere.c
+364-0usr.sbin/sysconf/sysconf-poudriere.8
+201-0usr.sbin/sysconf/tests/sysconf_test.sh
+51-19usr.sbin/sysconf/sysconf-targets.c
+56-1usr.sbin/sysconf/sysconf.8
+13-5usr.sbin/sysconf/sysconf.c
+1,362-253 files not shown
+1,378-289 files

FreeBSD/src 439eb9c — usr.sbin/sysconf Makefile sysconf_priv.h, usr.sbin/sysconf/tests sysconf_test.sh

sysconf: accept a unique prefix of a target keyword

Exact match still wins.  An ambiguous prefix is rejected with the
list of matches.  Move keyword selection and the rc pass-through
into sysconf-targets.c.  Bump sysconf(8) to 2.1.

Reviewed by:    kfv
Differential Revision:  https://reviews.freebsd.org/D59924
DeltaFile
+179-0usr.sbin/sysconf/sysconf-targets.c
+7-84usr.sbin/sysconf/sysconf.c
+49-0usr.sbin/sysconf/tests/sysconf_test.sh
+20-2usr.sbin/sysconf/sysconf.8
+6-1usr.sbin/sysconf/sysconf_priv.h
+1-0usr.sbin/sysconf/Makefile
+262-876 files

OpenZFS/src e9e24ce — module/zfs zfs_log.c

ZIL: avoid deadlock in xattr owner check

zfs_xattr_owner_unlinked() runs with an assigned transaction. A final
zrele() can run inode or vnode cleanup inline. During Linux writeback,
cleanup may wait for the caller's own I_SYNC state. Cleanup may also
open another transaction while the current transaction remains assigned.
The caller cannot return to commit its transaction, so the txg remains
open and cannot sync.

Treat the input znode as borrowed on all platforms. Release only parents
acquired by zfs_zget() with zfs_zrele_async(). This removes the Linux
zhold()/zrele() pair and the platform split. Check the current walk node
in the assertion.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Jaromir Hamala <jaromir.hamala at gmail.com>
Closes #19253
DeltaFile
+10-29module/zfs/zfs_log.c
+10-291 files

LLVM/project ae7f7ef — .github/workflows pr-code-format.yml

[GitHub] Bump CI format container (#230192)

To pull in the bump to 23.1.3.

Fixes #230169
DeltaFile
+1-1.github/workflows/pr-code-format.yml
+1-11 files

OpenZFS/src ddba56d — .github/workflows/scripts qemu-2-start.sh

CI: wait for SSH after restarting sshd on FreeBSD

FreeBSD 16-current CI failed while transferring src.txz immediately
after restarting sshd: scp received Connection refused and the build
VM initialization aborted before any tests ran.

Poll SSH readiness for up to thirty attempts before transferring the
archive. Use the existing one-second connection timeout. A server
that remains unavailable still fails at the transfer.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Tony Hutter <hutter2 at llnl.gov>
Signed-off-by: George Melikov <mail at gmelikov.ru>
Closes #19265
DeltaFile
+5-0.github/workflows/scripts/qemu-2-start.sh
+5-01 files

OpenZFS/src e35cf9b — tests/zfs-tests/tests/functional/failmode failmode_dmu_tx_wait.ksh

ZTS: wait for pool suspension and the blocked writer

The ten-poll suspension wait can expire before failed writes suspend
the pool on a busy system. Observing SUSPENDED also does not guarantee
that the background writer has reached dmu_tx_try_assign() yet.

Wait for both pool suspension and an increase in dmu_tx_suspended,
with a shared sixty-poll budget. Sample the counter before starting
the writer so earlier tests cannot satisfy the check. Detect a writer
that exits during the wait and report state and counters on timeout.
Keep the checks that the writer blocks and the pool can be resumed.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Tony Hutter <hutter2 at llnl.gov>
Signed-off-by: George Melikov <mail at gmelikov.ru>
Closes #19265
DeltaFile
+14-6tests/zfs-tests/tests/functional/failmode/failmode_dmu_tx_wait.ksh
+14-61 files

OpenZFS/src a1c5513 — tests/zfs-tests/tests/functional/cli_root/zfs_load-key zfs_load-key.cfg zfs_load-key_common.kshlib

ZTS: use IPv4 loopback explicitly in HTTPS key tests

The Python HTTPS fixture binds an IPv4 socket, while clients resolve
localhost independently and can select IPv6. Use the same explicit
IPv4 loopback address for the server and keylocation URLs. Add an IP
subject alternative name to the test certificate so verification
continues to validate the endpoint.

Debian 13 CI reset every HTTPS key request without logging a request
at the fixture. This change removes address-family ambiguity; the
original reset's precise cause is not established by the CI logs.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Tony Hutter <hutter2 at llnl.gov>
Signed-off-by: George Melikov <mail at gmelikov.ru>
Closes #19265
DeltaFile
+4-1tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_common.kshlib
+2-1tests/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key.cfg
+6-22 files

OpenZFS/src b5379f9 — tests/zfs-tests/tests/functional/slog slog_replay_volume.ksh

ZTS: retry busy pool export in the zvol replay test

The zvol can remain briefly open for device probing after its ext4
filesystem has been unmounted. Pool export then fails with pool is
busy before the test can import the pool and verify log replay.

Use the existing bounded busy retry for export. Keep the frozen pool,
intent-log inspection, import, and checksum verification unchanged.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Tony Hutter <hutter2 at llnl.gov>
Signed-off-by: George Melikov <mail at gmelikov.ru>
Closes #19265
DeltaFile
+2-1tests/zfs-tests/tests/functional/slog/slog_replay_volume.ksh
+2-11 files

LLVM/project ff995ee — llvm/test/CodeGen/AMDGPU llvm.amdgcn.trig.preop.ll select-vectors.ll

AMDGPU: Use functions in more operation tests instead of kernel loads

Stop relying on -amdgpu-scalarize-global-loads=false. Inputs are passed
as VGPR arguments, or inreg for SGPR operands. Kernels that check
multiple stores index their loads by workitem id.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+89-171llvm/test/CodeGen/AMDGPU/shift-i64-opts.ll
+73-181llvm/test/CodeGen/AMDGPU/v_mac_f16.ll
+80-119llvm/test/CodeGen/AMDGPU/s_movk_i32.ll
+20-91llvm/test/CodeGen/AMDGPU/v_mac.ll
+31-74llvm/test/CodeGen/AMDGPU/select-vectors.ll
+10-20llvm/test/CodeGen/AMDGPU/llvm.amdgcn.trig.preop.ll
+303-6566 files

OpenZFS/src e5a8494 — tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan zpool_wait_resilver.ksh zpool_wait_rebuild.ksh

ZTS: sync the resilver finishing txg before checking waiter exit

Pool status reports a finished resilver before its finishing txg has
synced. zpool wait also waits for that txg, whose config and label
writes are subject to the test's injected I/O delay. Starting the
two-second exit grace period at the status change can fail spuriously.

Sync the pool when the activity check observes completion, then check
that the waiter exits within the existing grace period. Keep the
checks for premature exit and nonzero status for both wait commands.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Tony Hutter <hutter2 at llnl.gov>
Signed-off-by: George Melikov <mail at gmelikov.ru>
Closes #19265
DeltaFile
+10-1tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_resilver.ksh
+10-1tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_rebuild.ksh
+20-22 files

OpenZFS/src a246862 — tests/zfs-tests/tests/functional/cli_root/zpool_trim zpool_trim_rate.ksh

ZTS: check TRIM rate limits without assuming minimum throughput

Rate limiting caps maximum throughput, but a busy vdev can trim more
slowly. The fixed sleep and cumulative progress checks failed with
32% trimmed when the test expected at least 35%.

Wait for each progress target with a bounded timeout and verify that
it did not arrive faster than the configured limit permits. Check
resumption without specifying a new rate, a higher rate, and complete
trimming at the maximum rate. Retain suspension and completion checks.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Tony Hutter <hutter2 at llnl.gov>
Signed-off-by: George Melikov <mail at gmelikov.ru>
Closes #19265
DeltaFile
+54-33tests/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_rate.ksh
+54-331 files

OpenZFS/src c12c1de — tests/zfs-tests/tests/functional/cli_root/zfs_destroy zfs_clone_livelist_condense_and_disable.ksh

ZTS: wait for each livelist condense before overwriting again

Condensing runs in a background thread and commits in a later txg.
Rapid overwrites can skip condense opportunities while that thread
is busy, leaving seven entries instead of the expected six.

Wait for the expected livelist length after each overwrite, with a
bounded retry and diagnostics on failure. Inspect only the test clone.
Keep the exact entry-count checks and the deactivation checks.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Tony Hutter <hutter2 at llnl.gov>
Signed-off-by: George Melikov <mail at gmelikov.ru>
Closes #19265
DeltaFile
+14-12tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_clone_livelist_condense_and_disable.ksh
+14-121 files

LLVM/project 8c691cf — clang/lib/CodeGen CodeGenModule.cpp, clang/test/CodeGen/X86 ms-hotpatch.c

[CodeView] Set the S_COMPILE3 hotpatch flag from a module flag (#229868)

Previously, the `HotPatch` flag in CodeView `S_COMPILE3` was only
derived from `TargetOptions::Hotpatch`, which is set by clang's backend
setup but not by LTO code generation. Objects produced by LTO were
therefore never marked as hotpatchable, and lld's `/FUNCTIONPADMIN`,
which only pads chunks from hotpatchable objects, left their functions
unpadded, even though the `"patchable-function"` attribute still made
code generation pad the function entries.

After this PR, emit an `"ms-hotpatch"` module flag when compiling with
`/hotpatch`, and also set the CodeView flag from it. The flag uses the
`Min` merge behavior, so when LTO merges modules, it is reset to 0 if
any module was compiled without `/hotpatch`, and the result is never
wrongly marked as hotpatchable.

This came up while working on
https://github.com/llvm/llvm-project/pull/229477


    [4 lines not shown]
DeltaFile
+67-0llvm/test/DebugInfo/COFF/hotpatch-module-flag.ll
+21-0clang/test/CodeGen/X86/ms-hotpatch.c
+17-0llvm/docs/LangRef.md
+3-6llvm/include/llvm/Target/TargetOptions.h
+7-2llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
+5-0clang/lib/CodeGen/CodeGenModule.cpp
+120-83 files not shown
+125-99 files

LLVM/project 2d4b179 — llvm/lib/Transforms/Utils LoopUnroll.cpp, llvm/test/Transforms/LoopUnroll runtime-unroll-remainder-deletes-loop-block.ll

[LoopUnroll] Snapshot loop blocks after runtime remainder generation (#229779)

Runtime remainder unrolling can simplify the enclosing loop nest and
delete blocks from the loop being unrolled. The early OriginalLoopBlocks
snapshot then contains dangling pointers, causing a crash during
dominator-tree updates.

Capture the snapshot after remainder generation and before cloning adds
new blocks to the loop. The included test aborts without the fix with
`cannot get DomTreeNode of block with different parent (exit 134)`, and
passes lit with the fix.

Assisted by AI tooling, to triage the bug and find an LLVM IR reproducer
for the crash.
DeltaFile
+47-0llvm/test/Transforms/LoopUnroll/runtime-unroll-remainder-deletes-loop-block.ll
+5-2llvm/lib/Transforms/Utils/LoopUnroll.cpp
+52-22 files

FreeBSD/ports 097726a — science/linux-ai-ml-env pkg-plist pkg-message, science/linux-ai-ml-env/files ai-ml-env-bash.in

science/linux-ai-ml-env: Remove dependency on nvidia-driver

Instead, ask user to install it via pkg-message. This allows choosing between
nvidia-driver and nvidia-driver-devel, until we get provides/requires.

PR:             291139
DeltaFile
+5-18science/linux-ai-ml-env/Makefile
+4-4science/linux-ai-ml-env/pkg-message
+3-0science/linux-ai-ml-env/pkg-plist
+1-1science/linux-ai-ml-env/files/ai-ml-env-bash.in
+13-234 files

FreeBSD/ports 5c8e5b0 — audio/tagutil/files patch-src_CMakeLists.txt

audio/tagutil: Fix building with CMake 4

Approved by:    portmgr (fixit blanket)
DeltaFile
+14-1audio/tagutil/files/patch-src_CMakeLists.txt
+14-11 files

LLVM/project 3a8f293 — clang/include/clang/CIR/Dialect/Transforms CIRTransformUtils.h, clang/lib/CIR/Dialect/Transforms CIRTransformUtils.cpp

[CIR] Put try_throw's normal destination in the throw's region (#229915)

`replaceThrowWithTryThrow` creates the unreachable normal destination of
`cir.try_throw` at the end of the parent function.

This is not correct for coroutines. Doing so would create a reference to
a block outside their respective regions, leading to a verification
error.

This patch moves the unreachable normal destination of `cir.try_throw`
in `replaceThrowWithTryThrow` right below the throw's region.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+102-0clang/test/CIR/CodeGenCoroutines/coro-throw.cpp
+4-9clang/lib/CIR/Dialect/Transforms/CIRTransformUtils.cpp
+5-5clang/test/CIR/CodeGen/cleanup-throw-from-cleanup.cpp
+4-4clang/include/clang/CIR/Dialect/Transforms/CIRTransformUtils.h
+2-2clang/test/CIR/CodeGen/try-catch.cpp
+117-205 files

OpenZFS/src 1e442f1 — tests/zfs-tests/tests/functional/rsend send_realloc_dnode_interior.ksh

ZTS: stabilize interior dnode reallocation test

send_realloc_dnode_interior can exhaust all retries without reaching
an interior slot of the freed dnode. In the FreeBSD CI failure, the
freed dnode was object 128 while every retry reused objects 10-17.
Deleting the filler files lets each retry revisit the same lower slots.

Keep filler files between attempts and allow enough allocations to
fill the slots below the freed dnode. Stop at the first interior slot,
then remove the filler files before taking the incremental snapshot.
Preserve the receive and directory comparison checks.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Tony Hutter <hutter2 at llnl.gov>
Signed-off-by: George Melikov <mail at gmelikov.ru>
Closes #19259
DeltaFile
+20-17tests/zfs-tests/tests/functional/rsend/send_realloc_dnode_interior.ksh
+20-171 files

LLVM/project 23fae18 — llvm/utils/gn/secondary/llvm/unittests/Frontend BUILD.gn

[gn build] Port c4d9267a31897 (#230177)
DeltaFile
+1-0llvm/utils/gn/secondary/llvm/unittests/Frontend/BUILD.gn
+1-01 files

LLVM/project bd0d503 — llvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV clmulr.ll rv64zbc-intrinsic.ll

[RISCV] Combine (srl (clmul (and X, 0xffffffff), (and Y, 0xffffffff)), 31). (#228848)

into (srl (clmulr (shl X, 32), (shl Y, 32)), 32).
DeltaFile
+37-2llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+4-6llvm/test/CodeGen/RISCV/rv64zbc-intrinsic.ll
+2-2llvm/test/CodeGen/RISCV/clmulr.ll
+43-103 files

FreeNAS/freenas ba7f510 — src/middlewared/middlewared/api/v27_0_0 webui_main_dashboard.py

Return the downgraded value from the 27.0.0 dashboard sys_info model so older API clients can call it
DeltaFile
+1-0src/middlewared/middlewared/api/v27_0_0/webui_main_dashboard.py
+1-01 files

LLVM/project 111c4da — lld/MachO ConcatOutputSection.cpp

[lld][MachO] Write the contents of an output section in parallel (#229512)

This is part of the ld64.lld performance improvements tracked by #222068

Writer::writeSections() does actually run the output sections in
parallel, but each section's writeTo() is not done in parallel, so
there's still a lot of work done by one thread at a time.

We can parallelize the writeTo() calls pretty easily as each input
writes to its own range in the output buffer.

This commit is output-preserving.
DeltaFile
+11-15lld/MachO/ConcatOutputSection.cpp
+11-151 files

LLVM/project 7f82a6c — llvm/utils/gn/secondary/clang/lib/Lex BUILD.gn

[gn build] Port bd5327092e65a (#230176)
DeltaFile
+1-0llvm/utils/gn/secondary/clang/lib/Lex/BUILD.gn
+1-01 files

LLVM/project 34a16b4 — llvm/utils/gn/secondary/clang/lib/CodeGenUtils BUILD.gn

[gn build] Port b54c096369ab (#230174)
DeltaFile
+1-0llvm/utils/gn/secondary/clang/lib/CodeGenUtils/BUILD.gn
+1-01 files

LLVM/project 7a173eb — llvm/lib/Transforms/InstCombine InstCombineCalls.cpp, llvm/test/Transforms/InstCombine fpcast.ll

[InstCombine] Fold fpto[su]i.sat of NaN guarded select

fpto[su]i.sat returns 0 for both NaN and $\pm 0.0$, so a select that
replaces a NaN input with zero does not change the result, and the call
can take X directly.

```llvm
%not.nan = fcmp ord float %x, 0.0
%sel = select i1 %not.nan, float %x, float 0.0
%r = call i32 @llvm.fptosi.sat.i32.f32(float %sel)
  -->
%r = call i32 @llvm.fptosi.sat.i32.f32(float %x)
```

The inverted form `select (fcmp uno X, 0.0), 0.0, X` is folded too.
Only the canonical `fcmp ord/uno X, 0.0` is matched, which also covers
`oeq/une X, X` after fcmp canonicalization.
DeltaFile
+13-25llvm/test/Transforms/InstCombine/fpcast.ll
+16-1llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
+29-262 files