LLVM/project 7f8fa53clang/test/OpenMP declare_variant_scoring.c, flang/test/Lower/OpenMP variant-scoring-any-sections.f90 declare-variant-construct.f90

[clang][flang][OpenMP] Fix context selector matching and scoring

Incorrect context selector matching and scoring can select the wrong
variant function or metadirective replacement.

Compute device-selector weights from the enclosing construct-context
depth. For example, inside a `parallel` region:

| Selector                 | Before | After |
| ------------------------ | ------ | ----- |
| `device={kind(cpu)}`     | 2      | 3     |
| `construct={parallel}`   | 2      | 2     |

Previously, the incorrect tie allowed candidate order to determine the
winner. The device selector now receives the higher score.

Track enclosing constructs even when they have no corresponding selector
property. Stop at and include the innermost `target`, or retain the full
enclosing context when there is no `target`. Exclude `section` separators:

    [43 lines not shown]
DeltaFile
+492-1llvm/unittests/Frontend/OpenMPContextTest.cpp
+172-136llvm/lib/Frontend/OpenMP/OMPContext.cpp
+155-78flang/test/Lower/OpenMP/metadirective-user.f90
+206-0clang/test/OpenMP/declare_variant_scoring.c
+167-2flang/test/Lower/OpenMP/declare-variant-construct.f90
+81-0flang/test/Lower/OpenMP/variant-scoring-any-sections.f90
+1,273-21712 files not shown
+1,682-28718 files

LLVM/project a6d5d3fllvm/lib/Transforms/Vectorize VPlanRecipes.cpp, llvm/test/Transforms/LoopVectorize/AArch64 sve-gather-scatter.ll force-target-instruction-cost.ll

[VPlan] Remove dead per-lane loop from VPScalarIVStepsRecipe::execute. (#224399)

replicateByVF already materializes every lane of a VPScalarIVStepsRecipe
as its own single-scalar clone, folding the lane offset into the clone's
start index (addLaneToStartIndex).

During execute, each VPScalarIVStepsRecipe has exactly its single lane
used.

Replace it with the lane-0 body and an assert. Note that this removes a
few redundant add start, 0.

PR: https://github.com/llvm/llvm-project/pull/224399
DeltaFile
+9-24llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+9-18llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-option.ll
+6-12llvm/test/Transforms/LoopVectorize/AArch64/interleave-with-gaps.ll
+5-10llvm/test/Transforms/LoopVectorize/RISCV/strided-accesses.ll
+1-2llvm/test/Transforms/LoopVectorize/AArch64/sve-gather-scatter.ll
+1-2llvm/test/Transforms/LoopVectorize/AArch64/force-target-instruction-cost.ll
+31-683 files not shown
+34-749 files

LLVM/project 25e00ffclang/include/clang/AST DeclBase.h, clang/lib/AST DeclBase.cpp

[Clang] Move DeclContext::getEnclosingFunction/castEnclosingFunction out of line (#224711)

In DeclBase.h, clang::FunctionDecl is only forward-declared. Commit
c9074cfd0d95 defined getEnclosingFunction() and castEnclosingFunction()
inline in DeclBase.h, which instantiates dyn_cast<FunctionDecl> and
cast<FunctionDecl> on an incomplete type when DeclBase.h is compiled
standalone (e.g. with -fmodules / header units).

Move the non-const definitions to DeclBase.cpp where FunctionDecl is
complete, and delegate the const overloads via const_cast, matching
getOuterLexicalRecordContext() and
getEnclosingNonExpansionStatementContext().

Change prepared by Jetski and reviewed by me.
DeltaFile
+4-10clang/include/clang/AST/DeclBase.h
+8-0clang/lib/AST/DeclBase.cpp
+12-102 files

LLVM/project ec0f535.ci all_requirements.txt, clang/test/CodeGen builtin-clear-padding-codegen.c

Rebase, minor improvements

Created using spr 1.3.7
DeltaFile
+4,402-1,088clang/test/CodeGenCXX/builtin-clear-padding-codegen.cpp
+2,801-612clang/test/CodeGen/builtin-clear-padding-codegen.c
+602-459.ci/all_requirements.txt
+505-536llvm/test/CodeGen/RISCV/rvv/fpclamptosat_vec.ll
+848-0clang/test/CodeGen/RISCV/rvp-intrinsics.c
+815-0llvm/test/Transforms/PhaseOrdering/ARM/arm_mat_mult_q31.ll
+9,973-2,6952,616 files not shown
+72,019-22,8982,622 files

LLVM/project 551af79libcxx/include/__memory pstl.h, libcxx/include/__pstl/cpu_algos uninitialized_algorithms.h

[libc++][pstl] Implementation of parallel std::uninitialized_(copy|move)(_n) based on parallel __for_each (#223229)

This PR adds an implementation of parallel versions of
`std::uninitialized_copy`, `std::uninitialized_copy_n`,
`std::uninitialized_move` and `std::uninitialized_move_n`.

Implementations are mostly one-liners under the hood, but require
dealing with iterator ranges, hence `std::uninitialized_copy` and
`std::uninitialized_move` are implemented in `cpu_algos`.
`std::uninitialized_copy_n` and `std::uninitialized_move_n` are
implemented in the `default` backend.

Fixes #103640
Fixes #134592
Fixes #134593
Part of #99938
DeltaFile
+152-0libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.move/pstl.uninitialized_move_n.pass.cpp
+149-0libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.move/pstl.uninitialized_move.pass.cpp
+145-0libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.copy/pstl.uninitialized_copy_n.pass.cpp
+144-0libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.copy/pstl.uninitialized_copy.pass.cpp
+97-0libcxx/include/__pstl/cpu_algos/uninitialized_algorithms.h
+61-0libcxx/include/__memory/pstl.h
+748-012 files not shown
+932-218 files

FreeBSD/ports 514d2b2textproc/harper Makefile Makefile.crates

textproc/harper: Update to 2.11.0
DeltaFile
+675-723textproc/harper/distinfo
+336-360textproc/harper/Makefile.crates
+1-2textproc/harper/Makefile
+1,012-1,0853 files

FreeNAS/freenas 4b77d0dsrc/middlewared/middlewared/plugins/iscsi_ scst.py

NAS-143768 / 26.0.0-RC.1 / Fix FC LUN replace/delete targeting wrong sysfs path (by bmeagherix) (by bugclerk) (#19816)

This is a necessary change following PR #19111

----
Tested manually with FC.


Original PR: https://github.com/truenas/middleware/pull/19814


Original PR: https://github.com/truenas/middleware/pull/19815

Co-authored-by: Brian M <brian.meagher at ixsystems.com>
DeltaFile
+4-2src/middlewared/middlewared/plugins/iscsi_/scst.py
+4-21 files

FreeNAS/freenas b3078dasrc/middlewared/middlewared/plugins/iscsi_ scst.py

NAS-143768 / 26.0.0 / Fix FC LUN replace/delete targeting wrong sysfs path (by bmeagherix) (#19815)

This is a necessary change following PR #19111

----
Tested manually with FC.


Original PR: https://github.com/truenas/middleware/pull/19814

Co-authored-by: Brian M <brian.meagher at ixsystems.com>
DeltaFile
+4-2src/middlewared/middlewared/plugins/iscsi_/scst.py
+4-21 files

FreeBSD/ports d1ba8aedevel/etcd34 Makefile

devel/etcd34: Deprecate

MFH:            2026Q3
(cherry picked from commit f56e3b2dd53d20bd2697854f033292d88f1cc5d1)
DeltaFile
+4-1devel/etcd34/Makefile
+4-11 files

FreeNAS/freenas cbf9ce9src/middlewared/middlewared/plugins/iscsi_ scst.py

NAS-143768 / 27.0.0-BETA.1 / Fix FC LUN replace/delete targeting wrong sysfs path (#19814)

This is a necessary change following PR #19111
DeltaFile
+4-2src/middlewared/middlewared/plugins/iscsi_/scst.py
+4-21 files

FreeBSD/ports ec8eb78devel Makefile, devel/etcd37 Makefile distinfo

devel/etcd37: Update to 3.7.1

MAKE_ENV=GOWORK=off allows us to get rid of the following error:

```
go: 'go mod vendor' cannot be run in workspace mode.
Run 'go work vendor' to vendor the workspace or
set 'GOWORK=off' to exit workspace mode.
```
DeltaFile
+21-21devel/etcd37/distinfo
+4-2devel/etcd37/Makefile
+1-0devel/Makefile
+26-233 files

FreeBSD/ports f56e3b2devel/etcd34 Makefile

devel/etcd34: Deprecate

MFH:            2026Q3
DeltaFile
+4-0devel/etcd34/Makefile
+4-01 files

FreeBSD/ports 2618113devel/etcd37 Makefile

devel/etcd37: Clean up the makefile
DeltaFile
+16-30devel/etcd37/Makefile
+16-301 files

FreeBSD/ports e2f41e1devel/etcd37 pkg-descr distinfo

devel/etcd37: Repocopy from devel/etcd36
DeltaFile
+66-0devel/etcd37/Makefile
+21-0devel/etcd37/distinfo
+11-0devel/etcd37/pkg-descr
+98-03 files

LLVM/project c75b442llvm/lib/Target/AArch64 AArch64ISelLowering.cpp, llvm/test/CodeGen/AArch64 sme-za-non-sibling-tailcall.ll sme-za-tailcall-fpdiff-align.ll

[AArch64] Don't emit stack restore for SME ZA non-sibling tail calls

A tail call that isn't a sibling call but still requires the caller to
pop arguments (currently only SME with live ZA state) must keep the
stack-neutral behavior of a sibling call.
DeltaFile
+8-2llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+0-2llvm/test/CodeGen/AArch64/sme-za-tailcall-fpdiff-align.ll
+0-1llvm/test/CodeGen/AArch64/sme-za-non-sibling-tailcall.ll
+8-53 files

LLVM/project 42357b0llvm/test/CodeGen/AArch64 sme-za-non-sibling-tailcall.ll

Add test showing wrong stack restore
DeltaFile
+23-0llvm/test/CodeGen/AArch64/sme-za-non-sibling-tailcall.ll
+23-01 files

LLVM/project f29371allvm/test/CodeGen/AMDGPU/GlobalISel regbankselect-zext.mir regbankselect-and-s1.mir

[AMDGPU] Use integer LLTs for work-item IDs (#224519)

Type work-item ID preloaded values and special entry-function live-ins
as i32, matching the intrinsic result and the existing GlobalISel and
SelectionDAG lowering. This prevents an s32 live-in type from reaching
the divergent G_AND and lets VgprToVccCopy preserve its source LLT
directly.

The original failure was a GlobalISel cannot-select abort on a 32-bit
VGPR G_AND produced from `llvm.amdgcn.workitem.id.x`. This follows up
#220987 by fixing the type at its producer instead of coercing it in
register-bank legalization.

A lot of tests need to be migrated because of this, owing to the
Extended LLTs change in https://github.com/llvm/llvm-project/pull/207419

Assisted-by: Codex

Signed-off-by: Keshav Vinayak Jha <keshavvinayakjha at gmail.com>
Co-authored-by: GPT-5 <noreply at openai.com>
DeltaFile
+384-384llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call.ll
+270-270llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call-return-values.ll
+60-60llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call-implicit-args.ll
+30-30llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-amdgcn.workitem.id.mir
+19-21llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-and-s1.mir
+17-17llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-zext.mir
+780-78230 files not shown
+979-98736 files

OpenBSD/src 4uWYHeLsys/arch/amd64/amd64 tsc.c, sys/dev/pv pvreg.h

   Get TSC frequency from KVM/VMWare parameter leaf at early boot time

   So, we can boot in VMs where the i8254 is not emulated.

   Tested by bluhm on various machines

   ok mlarkin@
   ok kettenis@
VersionDeltaFile
1.33+53-1sys/arch/amd64/amd64/tsc.c
1.7+2-1sys/dev/pv/pvreg.h
+55-22 files

FreeBSD/ports f788767mail/exim Makefile distinfo

mail/exim: 4.100 -> 4.100.1

Security: GCVE-25-2026-09-50-1, GCVE-25-2026-09-51-1,
          GCVE-25-2026-09-55-1, GCVE-25-2026-09-56-1
Requested-by:   The Doctor <doctor at doctor.nl2k.ab.ca>
DeltaFile
+3-3mail/exim/distinfo
+1-1mail/exim/Makefile
+4-42 files

FreeBSD/ports 9c6668bx11/x-on-resize Makefile

x11/x-on-resize: Update to 0.3
DeltaFile
+1-2x11/x-on-resize/Makefile
+1-21 files

FreeBSD/ports 493c246x11-fonts/sudo-font Makefile distinfo

x11-fonts/sudo-font: Update to 3.6
DeltaFile
+0-40x11-fonts/sudo-font/pkg-plist
+3-3x11-fonts/sudo-font/distinfo
+1-1x11-fonts/sudo-font/Makefile
+4-443 files

FreeBSD/doc 0fba622shared contrib-committers.adoc contrib-develalumni.adoc

Move some src developers to the alumni section

Reviewed by:    imp, emaste
Differential Revision:  https://reviews.freebsd.org/D59820
DeltaFile
+0-8shared/contrib-committers.adoc
+8-0shared/contrib-develalumni.adoc
+8-82 files

FreeBSD/ports 4c3c030textproc/py-hjson distinfo Makefile

textproc/py-hjson: Update to 3.1.0
DeltaFile
+6-3textproc/py-hjson/Makefile
+3-3textproc/py-hjson/distinfo
+9-62 files

Linux/linux ef31d04drivers/pci/controller/dwc pci-imx6.c

Merge tag 'pci-v7.3-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci

Pull PCI fix from Bjorn Helgaas:

 - Enable clock after core reset is asserted to fix enumeration
   regression on i.MX6Q Apalis platforms with ASM1061/ASM1062 SATA
   controllers (Richard Zhu)

* tag 'pci-v7.3-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci:
  PCI: imx6: Move clock enable after core reset assertion
DeltaFile
+6-6drivers/pci/controller/dwc/pci-imx6.c
+6-61 files

Illumos/gate d2a51aausr/src/uts/common/fs/zfs spa.c

18413 zfs: spa_sync_upgrades() should only take lock when needed
Reviewed by: Bill Sommerfeld <sommerfeld at hamachi.org>
Reviewed by: C Fraire <cfraire at me.com>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
DeltaFile
+40-25usr/src/uts/common/fs/zfs/spa.c
+40-251 files

FreeBSD/ports e2251a2net/pimd distinfo Makefile, net/pimd/files patch-configure.ac patch-src_main.c

net/pimd: update to 3.1.0

troglobit/pimd, the upstream this port tracked, has not seen a commit since
August 2022 and its last release, 2.3.2, is from 2016. The port was pinned
to an unreleased master snapshot (2.3.2b, commit 17ae62f) because there was
nothing newer to move to.

This new fork continues the tree and releases from it. 3.1.0 brings
Anycast-RP (RFC 4610), accept-nbr-from and register-accept-from, and rescans
interfaces at runtime so a link that comes up after the daemon started becomes
a vif without a restart.
DeltaFile
+0-56net/pimd/files/patch-src_main.c
+6-13net/pimd/Makefile
+0-9net/pimd/files/patch-configure.ac
+3-5net/pimd/distinfo
+9-834 files

LLVM/project b2b38d4clang/lib/StaticAnalyzer/Checkers/WebKit PtrTypesSemantics.cpp

[WebKit Checkers][NFC] Extract hasPublicMethodInHierarchy from isSmartPtrCompatible (#224697)

So we can reuse it in borrow checking.

hasPublicMethodInHierarchy identifies RefCounted via 'ref' and 'deref'
public
member functions.

Borrow checking will identify CanBorrow via a 'crashIfBorrowed' public
member
function.

Assisted-by: Claude
DeltaFile
+25-27clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
+25-271 files

FreeBSD/ports aa4f53dtextproc/libxmlbird Makefile distinfo

textproc/libxmlbird: Update to 1.2.15
DeltaFile
+3-3textproc/libxmlbird/distinfo
+1-1textproc/libxmlbird/Makefile
+4-42 files

FreeBSD/ports 2a0bf0aemulators/edumips64 Makefile

emulators/edumips64: Return to pool
DeltaFile
+1-1emulators/edumips64/Makefile
+1-11 files

OpenBSD/src oTSICD8usr.sbin/vmd vm.c x86_mmio.c

   Clean up debug logging in vmd mmio code.

   Tuck stuff into DPRINTF macros that use log_debug.

   Discussed with mlarkin@
VersionDeltaFile
1.5+37-34usr.sbin/vmd/x86_mmio.c
1.132+1-3usr.sbin/vmd/vm.c
+38-372 files