NetBSD/pkgsrc-wip ddf62e1 — opensubdiv distinfo buildlink3.mk, opensubdiv/patches patch-opensubdiv_osd_tbbEvaluator.cpp

opensubdiv: remove, pkgsrc version is newer
DeltaFile
+0-1,154opensubdiv/PLIST
+0-34opensubdiv/options.mk
+0-33opensubdiv/patches/patch-opensubdiv_osd_tbbEvaluator.cpp
+0-31opensubdiv/Makefile
+0-12opensubdiv/buildlink3.mk
+0-6opensubdiv/distinfo
+0-1,2702 files not shown
+0-1,2768 files

LLVM/project 6e9ca88 — llvm/docs MIRLangRef.md TestingGuide.md

docs: Add some best practices documentation for codegen tests (#244482)

Document common review feedback.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+106-8llvm/docs/TestingGuide.md
+1-1llvm/docs/MIRLangRef.md
+107-92 files

LLVM/project fee17e2 — llvm/include/llvm/DWARFLinker AddressesMap.h, llvm/lib/DWARFLinker/Classic DWARFLinker.cpp

[dsymutil] Don't write past a DIE for a relocation that does not fit (#247778)

applyValidRelocs() asserts that a relocation fits in the DIE it
patches, then writes it regardless. A relocation map which does not
describe the DWARF of its dSYM holds relocations running past their
DIE, and one larger than 8 bytes also overflows the buffer its value
is built in.

Reject a relocation running past the range it is looked up in, with a
warning. getRelocations() does so for every lookup: such a relocation
is not applied, does not keep its DIE, and is not saved to the output
relocation map. The asserts in applyValidRelocs() now hold.

The check needs exact ranges. In both linkers,
getVariableRelocAdjustment() passed a range starting at the length of
the block, which precedes the expression. Two tests had their
relocations on that length, where only such a range found them. Move
them to the operand.


    [4 lines not shown]
DeltaFile
+39-0llvm/test/tools/dsymutil/AArch64/mergeable-libs-relocation-past-die.test
+24-0llvm/test/tools/dsymutil/AArch64/mergeable-libs-relocation-size.test
+10-4llvm/tools/dsymutil/DwarfLinkerForBinary.h
+9-2llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
+9-2llvm/include/llvm/DWARFLinker/AddressesMap.h
+10-1llvm/tools/dsymutil/DwarfLinkerForBinary.cpp
+101-92 files not shown
+105-138 files

LLVM/project 6e11c83 — llvm/include/llvm/IR RuntimeLibcalls.td

RuntimeLibcalls: Add attributes to ObjC runtime calls

Mark the ObjC runtime functions nounwind, and mark the argument of
the functions whose intrinsics mark their argument returned.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+31-26llvm/include/llvm/IR/RuntimeLibcalls.td
+31-261 files

LLVM/project 13a990b — llvm/include/llvm/IR RuntimeLibcalls.td

RuntimeLibcalls: Add attributes to operator new and delete

Annotate operator new and delete implementation variants. The nothrow
variants are nounwind. No library registers these yet so they don't
appear in the DeclareRuntimeLibcalls tests.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+100-64llvm/include/llvm/IR/RuntimeLibcalls.td
+100-641 files

OpenZFS/src 57d13ba — module/os/linux/zfs zfs_dir.c zpl_inode.c, tests/test-runner/bin zts-report.py.in

linux: reuse stored names for normalized lookups

Resolve normalization-equivalent names to the stored dentry so that
removing or renaming one spelling cannot leave another cached spelling
accessible. Keep case sensitivity unchanged and discard negative
dentries that could hide a newly created equivalent name.

Warm both spellings in the native mixed-case deletion test.

Remove the Linux expected-failure entries for the four normalization
tests which now pass.

Assisted-by: OpenAI Codex
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: ooonea <35407790+ooonea at users.noreply.github.com>
Closes #13980
Closes #19726
DeltaFile
+12-3module/os/linux/zfs/zpl_super.c
+8-6module/os/linux/zfs/zpl_inode.c
+0-7tests/test-runner/bin/zts-report.py.in
+1-1module/os/linux/zfs/zfs_dir.c
+2-0tests/zfs-tests/tests/functional/casenorm/mixed_formd_delete.ksh
+23-175 files

LLVM/project f3a5963 — clang/lib/Sema SemaDecl.cpp SemaDeclAttr.cpp, clang/test/CodeGen pragma-weak.c

Revert "[Clang][Sema] Accept weak reference after declaration" (#247827)

Reverts llvm/llvm-project#228809 . There was reported breakage building
OpenZFS.

I'd prefer to take our time to get this right.
DeltaFile
+0-47clang/test/Sema/pragma-weak.c
+0-37clang/test/CodeGen/pragma-weak.c
+6-29clang/lib/Sema/SemaDeclAttr.cpp
+2-19clang/test/SemaCXX/pragma-weak.cpp
+0-13clang/lib/Sema/SemaDecl.cpp
+0-12clang/test/CodeGenCXX/pragma-weak.cpp
+8-1572 files not shown
+8-1668 files

LLVM/project 4b33414 — llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 packus.ll

[X86] canonicalizeShuffleWithOp - generalize VZEXT_MOVL folding to any op with known zero in the upper bits (#247832)

Generalised from the VTRUNC handling that was added to #245048 - we can
use value tracking to confirm that the upper bits are already zero,
which means the VZEXT_MOVL will be free if moved through the logic op.
DeltaFile
+15-2llvm/lib/Target/X86/X86ISelLowering.cpp
+6-10llvm/test/CodeGen/X86/packus.ll
+21-122 files

OpenZFS/src 6a14755 — lib/libzfs/os/freebsd libzfs_zmount.c

libzfs: FreeBSD: retry an unmount a mount update holds busy

FreeBSD's dounmount() returns EBUSY while the mount has MNT_UPDATE
set, that is while any nmount(MNT_UPDATE) on it is in progress.
mountd(8) applies export changes that way, and libzfs signals mountd
in zfs_unmount() (zfs_commit_shares() after zfs_unshare()) right
before calling unmount(2).  So 'zfs unmount', 'zfs set canmount=off',
'zfs destroy' or 'zpool export' of a dataset with sharenfs=on could
fail with "pool or dataset is busy" when mountd's update of that file
system (from this or an earlier share change) overlapped the unmount.
This is the inheritance/inherit_001_pos failure on the FreeBSD CI
runners.  FreeBSD 14 calls VFS_MOUNT() (a ZFS remount) for each export
update as well, which makes the window wider there.

Retry unmount(2) on EBUSY with a short backoff (10 ms doubling, about
1.3 s in all).  A file system that is really busy still fails with
EBUSY, only later.

This makes zfs_unmount_remount_busy pass.

    [5 lines not shown]
DeltaFile
+17-3lib/libzfs/os/freebsd/libzfs_zmount.c
+17-31 files

OpenZFS/src 053ab1e — tests/runfiles freebsd.run, tests/zfs-tests/tests Makefile.am

ZTS: zfs unmount of a file system busy for a moment

On FreeBSD, unmount(2) returns EBUSY while another thread is inside
nmount(MNT_UPDATE) on the same mount.  mountd(8) does exactly that
whenever libzfs commits an NFS share change: it pushes the new export
list into the kernel with nmount(MNT_UPDATE).  'zfs unmount' of a
dataset with sharenfs=on signals mountd right before its own
unmount(2), so it races mountd's update of that very file system.
This is the "cannot unmount ...: pool or dataset is busy" failure of
'zfs set canmount=off' in inheritance/inherit_001_pos on the FreeBSD
CI runners.

zfs_unmount_remount_busy (FreeBSD only, about 3 s):
- a file system held busy by a process, released only once
  'zfs unmount' has had EBUSY and waits to try again, must unmount;
  without a retry this fails every time, independent of timing;
- 50 unmount/mount cycles while a background loop updates the mount
  (mount -u), as mountd does, must all succeed;
- a file system that stays in use must still refuse with "busy",

    [6 lines not shown]
DeltaFile
+172-0tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_remount_busy.ksh
+4-0tests/runfiles/freebsd.run
+1-0tests/zfs-tests/tests/Makefile.am
+177-03 files

FreeBSD/ports 0a5629c — devel/py-grpcio-tools Makefile distinfo

devel/py-grpcio-tools: update to 1.86.0.
DeltaFile
+3-3devel/py-grpcio-tools/distinfo
+1-1devel/py-grpcio-tools/Makefile
+4-42 files

FreeBSD/ports 3cb2de3 — devel/py-grpcio Makefile distinfo

devel/py-grpcio: update to 1.86.0.
DeltaFile
+3-3devel/py-grpcio/distinfo
+1-1devel/py-grpcio/Makefile
+4-42 files

FreeBSD/ports 2614035 — devel/php-grpc Makefile distinfo

devel/php-grpc: update to 1.86.0.
DeltaFile
+3-3devel/php-grpc/distinfo
+1-1devel/php-grpc/Makefile
+4-42 files

FreeBSD/ports fe3ccaf — www/janus Makefile distinfo

www/janus: update to 1.4.5.
DeltaFile
+3-3www/janus/distinfo
+2-2www/janus/Makefile
+5-52 files

FreeBSD/ports d7d00dc — www/phalcon Makefile distinfo

www/phalcon: update to 5.24.1.
DeltaFile
+3-3www/phalcon/distinfo
+1-1www/phalcon/Makefile
+4-42 files

LLVM/project 1548265 — utils/bazel/llvm-project-overlay/mlir BUILD.bazel

[Bazel] Fixes a98d992 (#247847)

This fixes a98d992d642a109b337d42a0400cb6058194016c (#247754).

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds?commit=a98d992d642a109b337d42a0400cb6058194016c

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+59-14utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+59-141 files

LLVM/project a9bb7ae — llvm/test/Transforms/Attributor nofpclass-implied-by-fcmp.ll, llvm/test/Transforms/InstSimplify const-fold-nvvm-unary-arithmetic.ll const-fold-nvvm-f2ll-d2ll.ll

[Tests][NFC] Use modern floating-point literals for f32 edge-case constants, and matching f64 bit patterns (#247819)

Uses the modern float32 literal versions of min-subnormal,
max-subnormal, min-normal, and max-normal. These particular values are
commonly used in edge-case testing, and it is not obvious that
`0x36A0000000000000` is `FLT_TRUE_MIN`.

To make things easier to review, commits 1/2/3/5 are the result from
running the `rg` commands below. Commit 4/6 have non-trivial fix-ups
that may need closer review.

I avoided touching any files with a date, pr-number, or issue-number.

1. Fix subnormal min
```sh
rg -il -0 'float 0x36A0000000000000\b' llvm \
  | xargs -0 perl -pi -e 's/float 0x36A0000000000000\b/float f0x00000001/gi'

rg -il -0 'float 0xB6A0000000000000\b' llvm \

    [60 lines not shown]
DeltaFile
+72-72llvm/test/Transforms/InstSimplify/const-fold-nvvm-fmin-fmax.ll
+54-54llvm/test/Transforms/Attributor/nofpclass-implied-by-fcmp.ll
+36-36llvm/test/Transforms/InstSimplify/fminmax-folds.ll
+32-32llvm/test/Transforms/InstSimplify/const-fold-nvvm-unary-arithmetic.ll
+32-32llvm/test/Transforms/InstSimplify/const-fold-nvvm-f2ll-d2ll.ll
+32-32llvm/test/Transforms/InstSimplify/const-fold-nvvm-f2i-d2i.ll
+258-25833 files not shown
+507-50839 files

LLVM/project b1fc30d — mlir/include/mlir/Dialect/LLVMIR ROCDLOps.td

Move the new op to a partition since we just landed those
DeltaFile
+1-0mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
+1-01 files

LLVM/project 99983f2 — llvm/test/Transforms/LoopVectorize reg-usage-packed-predicated-loads.ll, llvm/test/Transforms/LoopVectorize/VPlan vplan-printing.ll dissolve-replicate-regions.ll

[LV] Add tests for packing predicated values (NFC). (#247829)

Add VPlan printing and replicate-region dissolving tests for predicated
values with vector, scalar and live-out users, a test with predicated
values used as vector and scalars next to ones only used as scalars, a
register usage test for predicated loads packed for a user outside the
loop, and a cost test for a predicated value only used by a blend
feeding a single-scalar cast.
DeltaFile
+807-1llvm/test/Transforms/LoopVectorize/VPlan/dissolve-replicate-regions.ll
+216-4llvm/test/Transforms/LoopVectorize/VPlan/vplan-printing.ll
+182-0llvm/test/Transforms/LoopVectorize/reg-usage-packed-predicated-loads.ll
+151-0llvm/test/Transforms/LoopVectorize/X86/predicated-values-packed-and-unpacked.ll
+38-0llvm/test/Transforms/LoopVectorize/X86/predicated-replicate-feeding-cast-cost.ll
+1,394-55 files

LLVM/project 56a1b40 — clang/include/clang/Basic BuiltinsAMDGPU.td

Feature declaration in clang
DeltaFile
+2-1clang/include/clang/Basic/BuiltinsAMDGPU.td
+2-11 files

LLVM/project f94c3b7 — clang/include/clang/Basic BuiltinsAMDGPU.td BuiltinsAMDGPUDocs.td, clang/test/CodeGenOpenCL builtins-amdgcn-gfx12.cl

[AMDGPU] Add an intrinsic and builtin to access the dispatch index

This PR adds an intrinsic (and corresponding builtin and MLIR
operation) for accessing the dispatch index on gfx12+, since it can be
needed in some low-level contexts.

AI disclosure: None, I did this by hand
DeltaFile
+106-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.dispatch.index.ll
+19-0mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
+14-0clang/test/CodeGenOpenCL/builtins-amdgcn-gfx12.cl
+9-0clang/include/clang/Basic/BuiltinsAMDGPUDocs.td
+6-0llvm/include/llvm/IR/IntrinsicsAMDGPU.td
+4-0clang/include/clang/Basic/BuiltinsAMDGPU.td
+158-04 files not shown
+167-010 files

LLVM/project 111eae0 — llvm/lib/Target/AMDGPU GCNFeatures.td

Expose the relevant feature
DeltaFile
+1-1llvm/lib/Target/AMDGPU/GCNFeatures.td
+1-11 files

LLVM/project bfd14b6 — clang/include/clang/Basic BuiltinsAMDGPUDocs.td, clang/test/CodeGenOpenCL builtins-amdgcn-gfx12.cl

[AMDGPU] Refactor wave ID intrinsic handling and expose a Clang builtin

This PR refactors how the architecture-provided wave ID on gfx12 is
exposed, including by generalizing its lowering in preparation for
adding a dispatch.index intrinsic.

This PR also annotates the wave-id intrinsic with `TargetFeatures`,
meaning that it no longer is a selection failure to use it on a target
without the architected SGPRs feature, but a failure earlier in the
pipeline.

In addition, this PR exposes this id as __builtin_amdgcn_wave_id() in
Clang, matching MLIR, and adds documentation that clarifies the
properties of the ID.

AI disclosure: None, I did this by hand
DeltaFile
+11-8llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
+9-6llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+14-0clang/test/CodeGenOpenCL/builtins-amdgcn-gfx12.cl
+12-0clang/include/clang/Basic/BuiltinsAMDGPUDocs.td
+9-2llvm/include/llvm/IR/IntrinsicsAMDGPU.td
+2-4llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wave.id.ll
+57-203 files not shown
+66-229 files

LLVM/project 3221667 — clang/include/clang/Basic BuiltinsAMDGPU.td

Clang feature check
DeltaFile
+2-1clang/include/clang/Basic/BuiltinsAMDGPU.td
+2-11 files

LLVM/project 01878e7 — llvm/lib/Target/RISCV/Disassembler RISCVDisassembler.cpp, llvm/test/TableGen/DecoderEmitter regclass-by-hwmode.td

[nspr] initial commit
DeltaFile
+77-0llvm/test/TableGen/DecoderEmitter/regclass-by-hwmode.td
+31-20llvm/utils/TableGen/DecoderEmitter.cpp
+0-11llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
+1-0llvm/utils/TableGen/DecoderTree.h
+109-314 files

LLVM/project 26c2f57 — llvm/test/TableGen/DecoderEmitter regclass-by-hwmode.td DecoderEmitterBitwidthSpecialization.td, llvm/utils/TableGen DecoderTree.h DecoderEmitter.cpp

[nspr] update
DeltaFile
+28-31llvm/utils/TableGen/DecoderEmitter.cpp
+15-14llvm/test/TableGen/DecoderEmitter/DecoderEmitterBitwidthSpecialization.td
+2-1llvm/test/TableGen/DecoderEmitter/regclass-by-hwmode.td
+2-0llvm/utils/TableGen/DecoderTree.h
+47-464 files

OpenZFS/src fe2c5fe — include/sys spa_impl.h brt.h, module/zfs spa.c dbuf.c

Don't lose available space while block clones sync

A cloned block is charged in full to its dataset when it is born in
syncing context, and the BRT gives the same amount back as saved
space.  brt_pending_apply() adds the saved space at the start of
spa_sync(), but spa_dspace, which the open context space checks use,
is only recomputed at the end of spa_sync().  So from the first birth
to the end of the sync the pool is short by the whole size of the
data cloned in that txg: "available" can drop to 0, and creating,
writing or cloning a file fails with ENOSPC on a pool that has plenty
of space.  zpool_prefetch_002_pos hits this in CI when its clones of
a 100 MiB file on a 3 GiB pool split across txgs in the wrong place.

Count the saved space of the txg's new BRT references in
spa_brt_unborn, leave it out of brt_get_dspace(), and move each
block's share of it into spa_dspace as dbuf_write_done() sees the
block born, at the same time dsl_dataset_block_born() charges it.
What is left at the end of the sync belongs to clones that were freed
before they were born, so it is dropped before spa_update_dspace().

    [10 lines not shown]
DeltaFile
+76-9module/zfs/brt.c
+3-0module/zfs/dbuf.c
+2-0include/sys/brt.h
+1-0module/zfs/spa.c
+1-0include/sys/spa_impl.h
+83-95 files

OpenZFS/src 01368a9 — tests/runfiles common.run, tests/zfs-tests/tests Makefile.am

ZTS: available space while block clones sync

Cloned blocks are charged to their dataset when they are born in
syncing context, but the saved space the BRT gives back only reaches
the pool's dspace at the end of spa_sync().  Until then the pool looks
short by the whole size of the cloned data.  zpool_prefetch_002_pos
hit this in CI: its 50 clones of a 100 MiB file on a 3 GiB pool failed
with "open: .../clone.48: No space left on device".

block_cloning_avail_during_sync clones a 128 MiB file 16 times on a
1 GiB pool, holds the sync of the clones open with a zinject write
delay, and checks that the available space doesn't drop and a file
can be created while it runs.  Then it checks the space, the saved
space and the clones once the sync is done.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Will Rouesnel <wrouesnel at wrouesnel.com>
Closes #19812
DeltaFile
+135-0tests/zfs-tests/tests/functional/block_cloning/block_cloning_avail_during_sync.ksh
+2-1tests/runfiles/common.run
+1-0tests/zfs-tests/tests/Makefile.am
+138-13 files

LLVM/project a98d992 — mlir/include/mlir/Dialect/LLVMIR ROCDLConvertOps.h ROCDLMathOps.h, mlir/lib/Dialect/LLVMIR CMakeLists.txt

[mlir][ROCDL] Partition the ROCDL dialect ops (#247754)

Now that we have the ability to partition large dialects into smaller
pieces (as of #239254), partition the ROCDL dialect into thirteen
logical partitions. In addition, make declaring the dialect's attributes
a separate header, so that the AMDGPU dialect (which only depends on
those attributes) can only include the attributes.

These partitions mainly follow the sections of the LLVM intrinsic
declarations and AMDGPU ISA manuals.

Migrating passes to use only the partitions they need will be a followup
PR.

AI disclosure: Claude was used to do the partitioning, I reviewed and
chose the partitions, wrote this commit message, and adjusted the
wording.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+213-160mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
+28-11mlir/include/mlir/Dialect/LLVMIR/ROCDLDialect.h
+33-0mlir/include/mlir/Dialect/LLVMIR/ROCDLDialect.td
+13-19mlir/lib/Dialect/LLVMIR/CMakeLists.txt
+26-0mlir/include/mlir/Dialect/LLVMIR/ROCDLConvertOps.h
+26-0mlir/include/mlir/Dialect/LLVMIR/ROCDLMathOps.h
+339-19045 files not shown
+880-23051 files

LLVM/project 144f94c — clang/include/clang/Basic BuiltinsAMDGPU.td

Feature declaration in clang
DeltaFile
+2-1clang/include/clang/Basic/BuiltinsAMDGPU.td
+2-11 files