LLVM/project 989c752 — llvm/test/CodeGen/RISCV/rvv greedy-compact-slot-indexes-spill-slot.ll, llvm/unittests/CodeGen SlotIndexesTest.cpp

[CodeGen] Clarify LiveStacks test comments

Say what to observe in the spill slot test to tell that the slots
were not merged, and make the unit test comment self-contained.
DeltaFile
+8-2llvm/test/CodeGen/RISCV/rvv/greedy-compact-slot-indexes-spill-slot.ll
+3-2llvm/unittests/CodeGen/SlotIndexesTest.cpp
+11-42 files

LLVM/project 6a9b1f4 — llvm/lib/Transforms/Vectorize VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize vplan-based-stride-mv-btc.ll vplan-based-stride-mv.ll

Only rewrite VPExpandSCEVRecipe users that are dominated by the stride check

This "regresses" the code a bit, including relative to LAA-based side
speculation - see
`@stride_dependent_btc`/`@stride_dependent_btc_non_preventive`. We'd
probably need bigger changes around `VPlan::getTripCount` if we'd want
to optimize that in a safe manner.
DeltaFile
+225-163llvm/test/Transforms/LoopVectorize/vplan-based-stride-mv.ll
+218-78llvm/test/Transforms/LoopVectorize/vplan-based-stride-mv-btc.ll
+32-35llvm/test/Transforms/LoopVectorize/VPlan/vplan-based-stride-mv.ll
+24-17llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+499-2934 files

LLVM/project 64150c5 — clang/docs ClangSYCLLinker.md, clang/test/Driver sycl-intel-gpu-arch.cpp

[Clang][SYCL][Object] Compile SYCL device code once per IGCA target (#239010)

Compile SYCL device code once per IGCA target.

Several Intel GPUs can share an IGCA target, e.g. `xe-mtl-u` and
`xe-mtl-h` are both `igca_30r`.
Until now, `-fsycl --offload-arch=xe-mtl-u,xe-mtl-h` compiled the device
code once per GPU.
Now it is compiled once for `igca_30r`, and then for both GPUs with a
single `ocloc -device xe-mtl-h,xe-mtl-u` call.

The device image records the GPUs, as
`arch=igca_30r,code=xe-mtl-h,xe-mtl-u`.
`clang-linker-wrapper` links device code with the same `arch` and `code`
together, passes the GPUs to `clang-sycl-linker` with a new hidden
`--code=` option, and merges the results into one offload binary, as the
SYCL runtime loads only one. To decide which device images are linked
together, `OffloadFile::TargetID` is now a struct with `Triple`, `Arch`
and `Code` instead of a `std::pair`, so that `areTargetsEquivalent` and

    [13 lines not shown]
DeltaFile
+114-21clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
+121-0clang/test/OffloadTools/clang-linker-wrapper/linker-wrapper.c
+63-20clang/test/Driver/sycl-intel-gpu-arch.cpp
+51-29clang/docs/ClangSYCLLinker.md
+36-6llvm/include/llvm/Object/OffloadBinary.h
+30-0llvm/unittests/Object/OffloadingTest.cpp
+415-7615 files not shown
+600-10221 files

LLVM/project 53ed10d — flang/lib/Lower/OpenMP OpenMP.cpp, flang/test/Lower/OpenMP distribute-parallel-do.f90 distribute-parallel-do-simd.f90

[flang][OpenMP] Evaluate composite DISTRIBUTE clauses outside PARALLEL

In composite DISTRIBUTE PARALLEL DO [SIMD], omp.distribute is nested
inside omp.parallel, and the DISTRIBUTE clauses were evaluated after
omp.parallel was created. A DECLARE VARIANT call in the DIST_SCHEDULE
chunk-size expression therefore matched construct={parallel}, although
DISTRIBUTE encloses PARALLEL in the source, and every thread evaluated
the expression.

Evaluate the DISTRIBUTE clauses before creating omp.parallel, as for the
explicit nesting, and destroy their temporaries once, after omp.parallel.

Fixes #244760

Assisted-by: GitHub Copilot
Co-authored-by: Copilot <223556219+Copilot at users.noreply.github.com>
DeltaFile
+44-0flang/test/Lower/OpenMP/declare-variant-construct.f90
+12-8flang/lib/Lower/OpenMP/OpenMP.cpp
+6-4flang/test/Lower/OpenMP/distribute-parallel-do.f90
+6-4flang/test/Lower/OpenMP/distribute-parallel-do-simd.f90
+68-164 files

LLVM/project b20a545 — llvm/unittests/tools/llvm-cfi-verify GraphBuilder.cpp

Disable clang-format for the new byte table

Created using spr 2.0.0-beta.2
DeltaFile
+2-0llvm/unittests/tools/llvm-cfi-verify/GraphBuilder.cpp
+2-01 files

FreeBSD/src 9051201 — tests/sys/fs/fusefs xattr.cc

fusefs tests: Use memcpy to work around a -Wstrlcpy-strlcast-size warning

tests/sys/fs/fusefs/xattr.cc:572:50: error: size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination [-Werror,-Wstrlcpy-strlcat-size]
  572 |                         strlcpy((char*)out.body.bytes, attrs1, sizeof(attrs1));
      |                                                                ~~~~~~~^~~~~~~

The warning is correct in that the size is the size of the source, but
that is intended in this case.  Use memcpy() instead of strlcpy() to
match the same code in the size_only_race_smaller test above.

Differential Revision:  https://reviews.freebsd.org/D49786

(cherry picked from commit faae895fec6571242ae05b11bc7eba0dff83fa49)
DeltaFile
+1-1tests/sys/fs/fusefs/xattr.cc
+1-11 files

FreeBSD/ports bd08efd — deskutils/xdg-desktop-portal Makefile

deskutils/xdg-desktop-portal: remove shims for EOL FreeBSD 15.0

Missed in 3bcc752b87a2adce2c2cc389687c2d058c514882

PR:             301059
Approved by:    arrowd (maintainer)
DeltaFile
+1-12deskutils/xdg-desktop-portal/Makefile
+1-121 files

LLVM/project 44ad8ed — flang/lib/Lower/OpenMP Utils.cpp, flang/test/Lower/OpenMP metadirective-target-boundary.f90 declare-variant-spec-expr.f90

[flang][OpenMP] Build the variant construct context from source nesting

Currently, METADIRECTIVE and DECLARE VARIANT selection builds the
construct trait set by walking the MLIR operations around the insertion
point, and that nesting doesn't always match the source. For

```fortran
  !$omp teams distribute parallel do
  do i = 1, n
    a(i) = f()
  end do
```

lowering creates omp.teams > omp.parallel > omp.distribute > omp.wsloop,
so the walk sees DISTRIBUTE inside PARALLEL. For

```fortran
  !$omp atomic update
  x = x + f()

    [21 lines not shown]
DeltaFile
+257-0flang/test/Lower/OpenMP/declare-variant-metadirective-context.f90
+68-39flang/lib/Lower/OpenMP/Utils.cpp
+71-0flang/test/Lower/OpenMP/declare-variant-clause-context.f90
+56-0flang/test/Lower/OpenMP/declare-variant-spec-expr.f90
+55-0flang/test/Lower/OpenMP/metadirective-target-boundary.f90
+47-0llvm/unittests/Frontend/OpenMPContextTest.cpp
+554-398 files not shown
+689-5014 files

LLVM/project 31ef3f7 — flang/test/Fir/CUDA cuf-offload-livein-value-canonicalization.fir, flang/test/Fir/OpenACC offload-livein-value-canonicalization.fir

[mlir][openacc] Anchor OffloadLiveInValueCanonicalization on FunctionOpInterface (#245399)

In preparation to use the pass in the CIR/OpenACC pipeline, CIR uses
cir.func that implement the FunctionOpInterface so the pass is better
anchored on it than func.func.
DeltaFile
+2-2mlir/lib/Dialect/OpenACC/Transforms/OffloadLiveInValueCanonicalization.cpp
+3-1mlir/include/mlir/Dialect/OpenACC/Transforms/Passes.td
+1-1mlir/test/Dialect/OpenACC/offload-livein-value-canonicalization.mlir
+1-1flang/test/Fir/OpenACC/offload-livein-value-canonicalization.fir
+1-1flang/test/Fir/CUDA/cuf-offload-livein-value-canonicalization.fir
+8-65 files

LLVM/project d314569 — llvm/test/tools/llvm-cfi-verify/X86 ud1-out-of-line.s, llvm/unittests/tools/llvm-cfi-verify FileAnalysis.cpp GraphBuilder.cpp

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+45-0llvm/test/tools/llvm-cfi-verify/X86/ud1-out-of-line.s
+27-0llvm/unittests/tools/llvm-cfi-verify/GraphBuilder.cpp
+7-1llvm/unittests/tools/llvm-cfi-verify/FileAnalysis.cpp
+79-13 files

LLVM/project 39d1d20 — llvm/lib/Target/RISCV RISCVISelLowering.cpp RISCVInstrInfoP.td

[RISCV][P-ext] Rename PMACC_HALVES_* to drop the P. NFC

These opocdes are used for nodes with scalar results so they shouldn't
have P in their name.
DeltaFile
+40-40llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+11-11llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+51-512 files

DragonFlyBSD/src 9f0e625 — sys/platform/pc64/apic lapic.h lapic.c, sys/platform/pc64/x86_64 mp_machdep.c

kernel - Move mfence into selected_apic_ipi() and single_apic_ipi()

* Make sure pending writes are flushed before issuing APIC IPIs.
  Probably only needed for MSR-based IPIs, but do it for both
  MEM and MSR.

* Remove explicit mfence prior to issuing IPI.
DeltaFile
+25-2sys/platform/pc64/apic/lapic.c
+1-1sys/platform/pc64/x86_64/mp_machdep.c
+1-0sys/platform/pc64/apic/lapic.h
+27-33 files

LLVM/project ad79ef4 — clang/include/clang/Basic DiagnosticSemaKinds.td, clang/lib/Sema SemaDeclAttr.cpp

[clang][Sema][ThreadSafety] Accept attributes without arguments as meaning 'this' (#242937)

An attribute such as ACQUIRE or RELEASE without capability arguments is
documented to refer to 'this': the analysis translates it to the self
argument of the call (ThreadSafetyAnalyzer::getMutexIDs). But Sema
accepts one only on a non-static method of a capability class, and
elsewhere warns, even though it keeps the attribute.

On a function pointer field, the meaning of such an attribute has slowly
changed without being explicitly proposed. d1e84bb9ad3b (#191187)
allowed these attributes on function pointer fields. A call through a
field had no self argument then, so such an attribute on a field
translated to no capability and was dropped. dfeadc6b0836 (#231602) made
the base of the member access the self argument of a call through a
field, so that the attribute could name a sibling member. As a side
effect, an attribute without arguments on a field came to name that
object, as it does on a method. For

    struct CAPABILITY("mutex") Node {

    [39 lines not shown]
DeltaFile
+44-15clang/test/SemaCXX/warn-thread-safety-parsing.cpp
+42-5clang/lib/Sema/SemaDeclAttr.cpp
+32-9clang/test/Sema/attr-capabilities.c
+39-0clang/test/SemaCXX/warn-thread-safety-analysis.cpp
+13-0clang/test/Sema/warn-thread-safety-analysis.c
+4-3clang/include/clang/Basic/DiagnosticSemaKinds.td
+174-322 files not shown
+181-328 files

LLVM/project 9b9769a — clang/lib/Parse ParseDecl.cpp, clang/lib/Sema SemaTemplateInstantiate.cpp SemaTemplateInstantiateDecl.cpp

[clang][Sema][ThreadSafety] Name a member through 'this' in a parameter's attribute (#241077)

When parsing a parameters attribute, `this` wasn't in scope, so it
turned into a `DeclRefExpr`, which got turned into a wildcard for `&mu`
or matched nothing for `mu`. But the `DeclRefExpr` was only supposed to
turn into a wildcard for `&S::mu`, not to unexpectedly degrade accuracy
in all cases when parsing was imprecise. For example, in:

    struct S {
      Mutex mu;
      void run(void (*cb)() REQUIRES(mu));
    };

The analysis then read 'mu' as no particular object, matching no held
capability, so 'cb()' warned with 'mu' held; and '&mu' as the wildcard
'&S::mu', matching the 'mu' of any object.

This PR now parses a parameter's late-parsed attributes in the
function's scope, along with the function's own: at the end of the

    [16 lines not shown]
DeltaFile
+159-0clang/test/SemaCXX/warn-thread-safety-analysis.cpp
+105-0clang/test/AST/ast-dump-thread-safety-param-this.cpp
+60-14clang/lib/Parse/ParseDecl.cpp
+56-7clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
+28-10clang/test/SemaCXX/warn-thread-safety-late-parsing.cpp
+32-2clang/lib/Sema/SemaTemplateInstantiate.cpp
+440-336 files not shown
+530-5712 files

FreeBSD/src 1660d69 — sys/dev/usb usbdevs, sys/dev/usb/quirk usb_quirk.c

Add USB quirk for WCH-Link adapter

WCH-Link is a debug adapter from QinHeng Electronics that features a
(proprietary) debug bridge for their RISC-V MCUs, as well as a serial
gateway, implemented as a CDC device.  The CDC's call management
descriptor declares the data interface to be 1, but it is actually
interface 2. UQ_IGNORE_CDC_CM has already been implemented before to
handle this kind of firmware bug, so just add this quirk for WCH-Link.

Reported by:    Holm Tiffe
MFC after:      1 week
DeltaFile
+1-0sys/dev/usb/usbdevs
+1-0sys/dev/usb/quirk/usb_quirk.c
+2-02 files

DragonFlyBSD/src cb7c913 — sys/vfs/hammer hammer_inode.c, sys/vfs/hammer2 hammer2_inode.c

vfs: drop S_ISGID on create when not a member of the group

A new file on tmpfs, HAMMER or HAMMER2 gets the directory's group and
the mode the caller asked for.  If the creator was not a member of
that group, S_ISGID was kept, so any user who can write to a
directory owned by another group could create a set-group-ID
executable for that group; with /tmp on tmpfs (root:wheel 1777) that
is wheel.  UFS and ext2fs already drop the bit when they create the
inode.

Do the same check as ufs_makeinode() in tmpfs_alloc_file(),
hammer_create_inode() and hammer2_inode_create_normal(), after the
group has been chosen: keep S_ISGID only for a member of the group or
with SYSCAP_NOVFS_SETGID.  As in FreeBSD's fix for tmpfs, this covers
every node type.

Same issue as FreeBSD-SA-26:94.tmpfs (CVE-2026-127749).

Tested on tmpfs, UFS, HAMMER and HAMMER2: a file created with mode

    [6 lines not shown]
DeltaFile
+13-1sys/vfs/tmpfs/tmpfs_subr.c
+10-0sys/vfs/hammer2/hammer2_inode.c
+10-0sys/vfs/hammer/hammer_inode.c
+33-13 files

FreeBSD/ports 0b948e4 — converters/p5-Sereal Makefile distinfo

converters/p5-Sereal: update 7.002 -> 7.003

Changelog: https://metacpan.org/dist/Sereal/changes
DeltaFile
+3-3converters/p5-Sereal/distinfo
+1-1converters/p5-Sereal/Makefile
+4-42 files

FreeBSD/ports 3ec08f1 — converters/p5-Sereal-Decoder Makefile distinfo

converters/p5-Sereal-Decoder: update 7.002 -> 7.003

Changelog: https://metacpan.org/dist/Sereal-Decoder/changes
DeltaFile
+3-3converters/p5-Sereal-Decoder/distinfo
+1-1converters/p5-Sereal-Decoder/Makefile
+4-42 files

FreeBSD/ports 90166c8 — devel/p5-Scope-Upper Makefile distinfo

devel/p5-Scope-Upper: update 0.34 -> 0.35

Changelog: https://metacpan.org/dist/Scope-Upper/changes
DeltaFile
+3-3devel/p5-Scope-Upper/distinfo
+1-1devel/p5-Scope-Upper/Makefile
+4-42 files

FreeBSD/ports 2eee5aa — mail/p5-MIME-Tools Makefile distinfo

mail/p5-MIME-Tools: update 5.522 -> 5.523

Changelog: https://metacpan.org/dist/MIME-tools/changes
DeltaFile
+3-3mail/p5-MIME-Tools/distinfo
+1-1mail/p5-MIME-Tools/Makefile
+4-42 files

FreeBSD/ports e654e08 — converters/p5-Sereal-Encoder Makefile distinfo

converters/p5-Sereal-Encoder: update 7.002 -> 7.003

Changelog: https://metacpan.org/dist/Sereal-Encoder/changes
DeltaFile
+3-3converters/p5-Sereal-Encoder/distinfo
+1-1converters/p5-Sereal-Encoder/Makefile
+4-42 files

LLVM/project 29b61bf — flang/lib/Lower/OpenMP Utils.cpp, flang/test/Lower/OpenMP metadirective-target-boundary.f90 declare-variant-spec-expr.f90

[flang][OpenMP] Build the variant construct context from source nesting

METADIRECTIVE and DECLARE VARIANT selection collected the construct trait
set by walking the MLIR operations that enclose the current insertion
point. Those operations do not match source nesting: only some
constructs create an operation, composite constructs nest their
operations in a different order, and a clause is emitted wherever the
operation it belongs to is being built.

Collect the context from the source instead. The OpenMP constructs that
enclose the current PFT evaluation give the context of a statement. A
frame is recorded for each construct region entered while lowering an
evaluation, so that a clause sees the outer leaf constructs of its
compound directive. A METADIRECTIVE contributes the directive it
selected.

No functional change is intended. The context still contains only the
constructs counted before: TARGET, TEAMS, PARALLEL, DO, SIMD and
DISPATCH. Counting the remaining enclosing constructs is left to

    [11 lines not shown]
DeltaFile
+257-0flang/test/Lower/OpenMP/declare-variant-metadirective-context.f90
+68-39flang/lib/Lower/OpenMP/Utils.cpp
+71-0flang/test/Lower/OpenMP/declare-variant-clause-context.f90
+56-0flang/test/Lower/OpenMP/declare-variant-spec-expr.f90
+55-0flang/test/Lower/OpenMP/metadirective-target-boundary.f90
+47-0llvm/unittests/Frontend/OpenMPContextTest.cpp
+554-398 files not shown
+689-5014 files

LLVM/project 4f3e35a — flang/lib/Lower/OpenMP Utils.cpp, flang/lib/Semantics openmp-utils.cpp

[flang][OpenMP] Require an enclosing SIMD for construct={simd}

A construct={simd} selector without properties was ignored, because SIMD
is a predefined trait selector name (it can take clause properties)
rather than a directive name. A DECLARE VARIANT or METADIRECTIVE
alternative that requires SIMD was therefore selected everywhere,
including outside any SIMD construct.

Record the SIMD construct trait for such a selector. Lowering builds the
construct trait set from the enclosing MLIR operations, so also recognize
omp.simd there; otherwise calls inside SIMD would no longer match.

Fixes #244759

Assisted-by: GitHub Copilot
DeltaFile
+21-0flang/test/Lower/OpenMP/declare-variant-construct.f90
+9-2flang/lib/Semantics/openmp-utils.cpp
+10-0flang/test/Lower/OpenMP/metadirective-construct.f90
+2-0flang/lib/Lower/OpenMP/Utils.cpp
+42-24 files

NetBSD/pkgsrc sj3ezMC — doc CHANGES-2026

   doc: Updated lang/janet to 1.43.1
VersionDeltaFile
1.8352+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc yJN8t31 — lang/janet Makefile distinfo

   janet: update to 1.43.1

   - More small fixes for memory safety
   - reverts a regression to garbage collection of FFI signatures
VersionDeltaFile
1.36+4-4lang/janet/distinfo
1.38+2-2lang/janet/Makefile
+6-62 files

LLVM/project c7d9ef6 — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/AArch64 gep-affine-different-pointer-base.ll

[SLP]Handle CouldNotCompute GEP pointer diff

getMinusSCEV returns CouldNotCompute for different pointer bases.
SCEVs cached before LCSSA formation make that possible for GEPs on
the same pointer operand; isLoopInvariant then crashed.

Fixed #245379

Pull-request: https://github.com/llvm/llvm-project/pull/245398
DeltaFile
+70-0llvm/test/Transforms/SLPVectorizer/AArch64/gep-affine-different-pointer-base.ll
+1-0llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+71-02 files

LLVM/project ad604a8 — llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 avx512fp16-mov.ll pr45443.ll

[X86] isGuaranteedNotToBeUndefOrPoisonForTargetNode - add X86ISD::VBROADCAST_LOAD/SUBV_BROADCAST_LOAD handling (#245057)

Similar to #241972 - inspect constant loads by
X86ISD::VBROADCAST_LOAD/SUBV_BROADCAST_LOAD nodes for UNDEF/POISON

pr45443.ll - fixes regression from #243097
DeltaFile
+18-0llvm/lib/Target/X86/X86ISelLowering.cpp
+5-5llvm/test/CodeGen/X86/setcc-lowering.ll
+0-8llvm/test/CodeGen/X86/pr45443.ll
+1-1llvm/test/CodeGen/X86/avx512fp16-mov.ll
+24-144 files

FreeBSD/src d46e229 — sys/netpfil/ipfw dn_aqm_pie.c dn_aqm_codel.c

dummynet(4): remove not needed <netinet6/ip6_var.h>
DeltaFile
+0-1sys/netpfil/ipfw/dn_aqm_pie.c
+0-1sys/netpfil/ipfw/dn_aqm_codel.c
+0-22 files

FreeBSD/src a5c4d3a — sys/dev/enic enic_txrx.c

enic(4): remove not needed <netinet6/ip6_var.h>
DeltaFile
+0-1sys/dev/enic/enic_txrx.c
+0-11 files

FreeBSD/src d1e76c3 — sys/dev/vmware/vmxnet3 if_vmx.c

vmx(4): remove not needed <netinet6/ip6_var.h>
DeltaFile
+0-1sys/dev/vmware/vmxnet3/if_vmx.c
+0-11 files