LLVM/project e39b020clang/include/clang/AST DeclTemplate.h TypeBase.h, clang/lib/AST DeclTemplate.cpp ASTContext.cpp

[clang] NFC: add asserts enforcing template parameters have valid positions

Some tests are violating these assertions, so they are commented out.

For the test in `clang/test/SemaTemplate/concepts.cpp`, that was broken by #195995
and needs a partial revert at least.
DeltaFile
+25-34clang/include/clang/AST/DeclTemplate.h
+14-15clang/lib/AST/DeclTemplate.cpp
+6-3clang/lib/AST/ASTContext.cpp
+7-2clang/include/clang/AST/TypeBase.h
+5-2clang/test/SemaTemplate/concepts-lambda.cpp
+3-1clang/test/SemaTemplate/concepts.cpp
+60-572 files not shown
+64-608 files

LLVM/project 7c7ed92clang/lib/Sema SemaTemplateDeductionGuide.cpp, clang/test/AST ast-dump-ctad-alias.cpp

[clang] CTAD: fix transformation of template template parameters (#197611)

This fixes the CTAD template parameter transforms so they produce
template template parameters which have correct depth for their own
template parameters.

This also stops calling SubstDecl directly on the non-type template
parameters, so that a template parameter with correct position is
produced directly, instead of manually fixing that up later. This helps
#197598 by making it possible to add assertions that the positions are
always valid.
DeltaFile
+151-23clang/lib/Sema/SemaTemplateDeductionGuide.cpp
+2-2clang/test/SemaTemplate/deduction-guide.cpp
+1-1clang/test/AST/ast-dump-ctad-alias.cpp
+154-263 files

LLVM/project ca3a210llvm/lib/Target/AArch64/GISel AArch64LegalizerInfo.cpp, llvm/test/CodeGen/AArch64/GlobalISel legalizer-info-validation.mir

[AArch64][GlobalISel] Add always legal action builders. (#197238)

This defined some always legal actions, removing our dependency on the
Legacy ruleset in aarch64.
DeltaFile
+9-8llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
+5-0llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
+14-82 files

LLVM/project 7415c04llvm/lib/Target/AMDGPU AMDGPUISelDAGToDAG.cpp GCNSubtarget.h

[AMDGPU][NFC] Remove redundant hasMadU64U32NoCarry helper

Use hasMadNC64_32Insts() (backed by SubtargetFeature) for MAD 64_32
no-carry and drop the old helper.
DeltaFile
+2-2llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
+0-4llvm/lib/Target/AMDGPU/GCNSubtarget.h
+1-1llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
+3-73 files

LLVM/project c4054b5llvm/lib/Transforms/Vectorize VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize pr37248.ll multi_early_exit.ll

[VPlan] Simplify BCast with onlyScalarsUsed (#195444)
DeltaFile
+21-27llvm/test/Transforms/LoopVectorize/X86/cost-conditional-branches.ll
+1-4llvm/test/Transforms/LoopVectorize/X86/replicate-recipe-with-only-first-lane-used.ll
+1-4llvm/test/Transforms/LoopVectorize/X86/pr109581-unused-blend.ll
+1-4llvm/test/Transforms/LoopVectorize/pr37248.ll
+4-0llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+1-2llvm/test/Transforms/LoopVectorize/multi_early_exit.ll
+29-416 files

LLVM/project f816732llvm/test/CodeGen/AMDGPU andorn2.ll

[AMDGPU][NFC] Autogenerate checks in andorn2.ll (#197613)

For this PR: https://github.com/llvm/llvm-project/pull/196325
DeltaFile
+463-36llvm/test/CodeGen/AMDGPU/andorn2.ll
+463-361 files

LLVM/project 4e2ad71llvm/lib/Target/AMDGPU AMDGPUAsmPrinter.cpp, llvm/lib/Target/AMDGPU/MCTargetDesc AMDGPUTargetStreamer.cpp

[NFC] Format two AMDGPU files (#197672)

- `llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp`
- `llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp`
DeltaFile
+19-17llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
+16-8llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
+35-252 files

FreeBSD/ports d5ccef5devel/py-maturin distinfo Makefile.crates, devel/py-maturin/files patch-maturin-__init__.py

devel/py-maturin: Update to 1.13.3

* Rebase patch and add a boilerplate as well for future reference while
  I'm here.

Changelogs since 1.13.1:

https://github.com/PyO3/maturin/releases/tag/v1.13.3
https://github.com/PyO3/maturin/releases/tag/v1.13.2
DeltaFile
+319-289devel/py-maturin/distinfo
+158-143devel/py-maturin/Makefile.crates
+17-8devel/py-maturin/files/patch-maturin-__init__.py
+1-2devel/py-maturin/Makefile
+495-4424 files

FreeBSD/ports 01156d4textproc/py-zensical distinfo Makefile, textproc/py-zensical/files patch-pyproject.toml

textproc/py-zensical: Update to 0.0.41

* While I'm here, adjust the version requirements now that py-click has
  recently been updated.

Changelog:

https://github.com/zensical/zensical/releases/tag/v0.0.41
DeltaFile
+3-3textproc/py-zensical/distinfo
+2-4textproc/py-zensical/files/patch-pyproject.toml
+2-2textproc/py-zensical/Makefile
+7-93 files

LLVM/project 508e8c5llvm/lib/Analysis TargetTransformInfo.cpp, llvm/test/Analysis/UniformityAnalysis/AMDGPU nodivergencesource.ll

[UniformityAnalysis] Fix nodivergencesource calls (#197656)

NFC #168903 introduced a subtle behavior change for calls with the
nodivergencesource attribute and divergent operands.

Calls with the nodivergencesource attribute are *not* always uniform.
They just do not introduce any new divergence. If any operand is
divergent,
the result must still be reported as divergent.

Revert to pre-#168903 behavior by allowing the standard propagation to
work for target's NeverUniform while keeping Default and AlwaysUniform
unchanged.
DeltaFile
+15-0llvm/test/Analysis/UniformityAnalysis/AMDGPU/nodivergencesource.ll
+5-4llvm/lib/Analysis/TargetTransformInfo.cpp
+20-42 files

LLVM/project ffb2cfcllvm/lib/ProfileData InstrProf.cpp

feedback

Created using spr 1.3.7
DeltaFile
+4-7llvm/lib/ProfileData/InstrProf.cpp
+4-71 files

LLVM/project 5f5435ellvm/lib/Target/AMDGPU AMDGPULegalizerInfo.cpp, llvm/test/CodeGen/AMDGPU/GlobalISel zextload.ll legalize-sextload-global.mir

AMDGPU/GlobalISel: Legalize scalar extloads with large memory type (#197648)

Add narrowScalar for scalar sext/zextload when the memory type is
larger then 32 bits. There is no narrow scalar implementation when
NarrowSize < MemSize (split load) but we don't want that anyway.
Narrow scalar to MemSize creates large normal load + extension to dst.
DeltaFile
+52-0llvm/test/CodeGen/AMDGPU/GlobalISel/zextload.ll
+10-5llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sextload-global.mir
+8-5llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-zextload-global.mir
+7-0llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
+77-104 files

LLVM/project 981f42ellvm/unittests/ADT SmallVectorTest.cpp

address comments
DeltaFile
+1-3llvm/unittests/ADT/SmallVectorTest.cpp
+1-31 files

LLVM/project 84ac884llvm/test/CodeGen/AArch64 bf16-v8-instructions.ll, llvm/test/CodeGen/AMDGPU/GlobalISel sdivrem.ll

Merge branch 'main' into users/shiltian/single-line-brace-rule
DeltaFile
+7,584-740llvm/test/CodeGen/AArch64/bf16-v8-instructions.ll
+8,195-0llvm/test/MC/AMDGPU/gfx13_asm_vop3.s
+8,182-0llvm/test/MC/AMDGPU/gfx13_asm_vop3-fake16.s
+6,862-0llvm/test/tools/llvm-mca/AArch64/Cortex/C1Nano-sve-instructions.s
+3,436-2,769llvm/test/CodeGen/AMDGPU/GlobalISel/sdivrem.ll
+4,686-918llvm/test/CodeGen/X86/vector-reduce-ctpop.ll
+38,945-4,4275,019 files not shown
+272,072-97,6265,025 files

LLVM/project d7f8673llvm/lib/Analysis GlobalsModRef.cpp LazyValueInfo.cpp

[NFC][Analysis] Use `isa<ConstantPointerNull>` for null pointer checks (#197544)

Make Analysis null pointer checks use `isa<ConstantPointerNull>` rather
than generic null value checks (`isNullValue()`).
DeltaFile
+3-2llvm/lib/Analysis/GlobalsModRef.cpp
+4-0llvm/lib/Analysis/LazyValueInfo.cpp
+7-22 files

LLVM/project 25c8999libc/src/__support/CPP/type_traits is_constructible.h is_assignable.h, libc/src/__support/FPUtil rounding_mode.h

[libc] Fix shared math for gcc-7 or older compatibility. (#197476)

- Add gcc-7 or older compatibility for cpp::is_assignable and
cpp::is_constructible.
- Apply LIBC_CONSTEXPR to FPUtil/rounding_mode.h
DeltaFile
+65-0libc/src/__support/CPP/type_traits/is_constructible.h
+63-0libc/src/__support/CPP/type_traits/is_assignable.h
+18-0libc/src/__support/macros/attributes.h
+5-5libc/src/__support/FPUtil/rounding_mode.h
+3-4libc/src/__support/CPP/type_traits/is_copy_assignable.h
+3-4libc/src/__support/CPP/type_traits/is_move_assignable.h
+157-134 files not shown
+165-1910 files

FreeNAS/freenas 5d0cff4tests/protocols pynfs_proto.py, tests/sharing_protocols/nfs test_nfs_mt_races.py

NAS-140995 / 26.0.0-RC.1 / Add NFSv4 multi-client race tests (by ixhamza) (#18946)

### Summary

This commit adds multi-client NFSv4 race tests under
`tests/sharing_protocols/nfs/test_nfs_mt_races.py`.

Existing NFS coverage drives the server through a single PynfsClient
session or via the in-kernel Linux NFS client; in both cases requests
are serialized through one client identity, so the server's multi-client
serialization paths get exercised only incidentally. This left the
server's behavior under genuinely concurrent multi-client load
(share-state, byte-range locks, namespace mutations, data writes, and
metadata mutations) largely unverified.

These tests close those gaps by spawning N independent NFSv4 clients
(each with its own clientid and session) per scenario and asserting the
exact server response distribution against the expected serialization
outcome. A regression in any covered path (for example, the lock manager

    [15 lines not shown]
DeltaFile
+1,027-0tests/sharing_protocols/nfs/test_nfs_mt_races.py
+199-4tests/protocols/pynfs_proto.py
+1,226-42 files

FreeNAS/freenas 7732a5dsrc/middlewared/middlewared/plugins grub_config.py

ruff fixes
DeltaFile
+4-5src/middlewared/middlewared/plugins/grub_config.py
+4-51 files

LLVM/project b5d577dllvm/lib/Target/RISCV RISCVRegisterInfo.cpp, llvm/test/CodeGen/RISCV local-stack-slot-allocation.ll

[RISCV] Check SP-relative offset in needsFrameBaseReg when FP offset overflows (#197368)

When a frame pointer is present, `needsFrameBaseReg` previously only
checked the FP-relative offset to decide if a virtual base register was
needed. If the worst-case FP offset exceeded the 12-bit immediate range,
a base register was always materialized, even when the SP-relative
offset would fit.

Since `getFrameIndexReference` can now select SP over FP when the offset
fits in the compressed instruction immediate range, also check the
SP-relative offset before deciding a base register is needed. This
avoids unnecessary base register materialization and results in some
code size savings.
DeltaFile
+17-18llvm/test/CodeGen/RISCV/GlobalISel/vararg.ll
+7-1llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
+2-3llvm/test/CodeGen/RISCV/local-stack-slot-allocation.ll
+26-223 files

LLVM/project 3ed8aa3llvm/lib/Target/AMDGPU AMDGPUAsmPrinter.cpp, llvm/lib/Target/AMDGPU/MCTargetDesc AMDGPUTargetStreamer.cpp

[NFC] Format two AMDGPU files

- llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
- llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
DeltaFile
+19-17llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
+16-8llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
+35-252 files

LLVM/project d730ab7clang/test/OpenMP declare_target_local_codegen.cpp spirv_target_teams_reduction_addrspace.c, mlir/test/Target/LLVMIR omptarget-teams-distribute-reduction-array-descriptor.mlir openmp-target-launch-device.mlir

fixes after merge
DeltaFile
+3-3clang/test/OpenMP/declare_target_local_codegen.cpp
+2-2mlir/test/Target/LLVMIR/omptarget-teams-distribute-reduction-array-descriptor.mlir
+2-2mlir/test/Target/LLVMIR/openmp-target-launch-device.mlir
+1-1clang/test/OpenMP/spirv_target_teams_reduction_addrspace.c
+1-1mlir/test/Target/LLVMIR/omptarget-region-device-llvm.mlir
+1-1offload/plugins-nextgen/common/src/PluginInterface.cpp
+10-101 files not shown
+11-117 files

NetBSD/pkgsrc-wip 0a26c13cmoc Makefile PLIST

cmoc: Update to 0.1.98

Also update website & download addresses.
DeltaFile
+3-3cmoc/Makefile
+6-0cmoc/PLIST
+3-3cmoc/distinfo
+12-63 files

LLVM/project c5695b8libc/src/__support/OSUtil/linux/syscall_wrappers mkdir.h chmod.h

[libc] prefer *at syscalls in sys/stat wrappers (#195792)

  - so the changes flips the #ifdef order to prefer the *at syscalls over normal ones.
  - In modern architectures, *at system calls are preferred over normal
    system calls.
  - so by checking for "*at" sys calls first, we ensure better
    compatibility with modern systems.
  - then normal syscalls moved to else for support of older ones.

Signed-off-by: udaykiriti <udaykiriti624 at gmail.com>
DeltaFile
+3-3libc/src/__support/OSUtil/linux/syscall_wrappers/mkdir.h
+3-3libc/src/__support/OSUtil/linux/syscall_wrappers/chmod.h
+6-62 files

ELF Tool Chain/elftoolchain 4371trunk/tools netbsd-base-system-import.sh

tools/netbsd-base-system-import.sh: Implement a -rREV option.

This option allows a specified SVN revision to be imported
instead of SVN 'HEAD'.
DeltaFile
+9-4trunk/tools/netbsd-base-system-import.sh
+9-41 files

NetBSD/pkgsrc tkacTGxdoc CHANGES-2026

   Updated security/libksba, security/gnupg2
VersionDeltaFile
1.3011+3-1doc/CHANGES-2026
+3-11 files

NetBSD/pkgsrc ReIGVrNsecurity/gnupg2 distinfo Makefile

   gnupg2: updated to 2.5.20

   Noteworthy changes in version 2.5.20 (2026-05-13)

   * New and extended features:

     - gpgsm: Implement GCM encryption.  Note that decryption works
       since version 2.3.2.
     - gpgsm: New option --attribute and server command SETATTR to
       include arbitrary signed or unsigned attributes into a signature.
       Enable only with libksba 1.7.0 or later.
     - gpgsm: Introduce system attribute _signingCertificateV2.

   * Bug fixes:

     - gpg: Fix wrong assertion failure which could very rarely occur
       during key signature checking.
     - gpg: Consider certify-only keys for revocation signature check.
     - gpgsm: Fix possible double free in the CMS parser.

    [13 lines not shown]
VersionDeltaFile
1.97+4-4security/gnupg2/distinfo
1.176+2-2security/gnupg2/Makefile
+6-62 files

OpenBSD/ports 4ALPX1lgames/pokerth distinfo Makefile, games/pokerth/patches patch-src_net_serveraccepthelper_h patch-src_gui_qt6-qml_CMakeLists_txt

   Update to pokerth 2.0.7 from maintainer

   Add patch to disable TCP_KEEPALIVE
VersionDeltaFile
1.4+16-14games/pokerth/patches/patch-src_net_serveraccepthelper_h
1.14+2-2games/pokerth/distinfo
1.61+1-1games/pokerth/Makefile
1.2+1-1games/pokerth/patches/patch-src_gui_qt6-qml_CMakeLists_txt
+20-184 files

NetBSD/pkgsrc 5Pi1G1Ksecurity/libksba distinfo Makefile

   libksba: updated to 1.8.0

   Noteworthy changes in version 1.8.0 (2026-05-13) [C24/A16/R0]

   * New function ksba_cms_get_attribute.
   * Support building of unsigned attributes with
      ksba_cms_add_attribute.
VersionDeltaFile
1.36+4-4security/libksba/distinfo
1.49+2-2security/libksba/Makefile
+6-62 files

FreeNAS/freenas 64fb238tests/protocols pynfs_proto.py, tests/sharing_protocols/nfs test_nfs_mt_races.py

Add NFSv4 multi-client race tests

Add 18 multi-client NFSv4 race tests under
tests/sharing_protocols/nfs/test_nfs_mt_races.py.  Each test spawns
N=8 worker threads, each driving its own PynfsClient (distinct
clientid + session), with a barrier-synchronised start so the
server sees concurrent requests.  Status distributions are
aggregated and asserted to match RFC 8881 expectations exactly.

Coverage:
  - OPEN/CLOSE share-state: DENY_WRITE / DENY_READ mutex; compatible
    OPEN(READ) coexistence (RFC 8881 §9.7).
  - Byte-range LOCK: shared READ_LT coexistence; disjoint WRITE_LT
    coexistence; conflicting WRITE_LT on the same range; readers
    blocked by a held WRITE_LT; writers blocked by a held READ_LT
    (§9.1).  The conflict tests use a sequential holder client +
    racer pool; an internal grace-retry helper handles
    NFS4ERR_GRACE so the holder's LOCK is reliably acquired across
    server-side grace transitions.

    [32 lines not shown]
DeltaFile
+1,027-0tests/sharing_protocols/nfs/test_nfs_mt_races.py
+199-4tests/protocols/pynfs_proto.py
+1,226-42 files

FreeNAS/freenas f906037tests/protocols pynfs_proto.py, tests/sharing_protocols/nfs test_nfs_mt_races.py

NAS-140995 / 27.0.0-BETA.1 / Add NFSv4 multi-client race tests (#18943)

### Summary

This commit adds multi-client NFSv4 race tests under
`tests/sharing_protocols/nfs/test_nfs_mt_races.py`.

Existing NFS coverage drives the server through a single PynfsClient
session or via the in-kernel Linux NFS client; in both cases requests
are serialized through one client identity, so the server's multi-client
serialization paths get exercised only incidentally. This left the
server's behavior under genuinely concurrent multi-client load
(share-state, byte-range locks, namespace mutations, data writes, and
metadata mutations) largely unverified.

These tests close those gaps by spawning N independent NFSv4 clients
(each with its own clientid and session) per scenario and asserting the
exact server response distribution against the expected serialization
outcome. A regression in any covered path (for example, the lock manager

    [11 lines not shown]
DeltaFile
+1,027-0tests/sharing_protocols/nfs/test_nfs_mt_races.py
+199-4tests/protocols/pynfs_proto.py
+1,226-42 files