LLVM/project 1fadc09mlir/lib/Dialect/XeGPU/IR XeGPUDialect.cpp, mlir/test/Dialect/XeGPU propagate-layout-subgroup.mlir

[MLIR][XeGPU] Fix order remapping in layout transpose (#205212)

LayoutAttr::transposeDims and LayoutAttr::isTransposeOf mishandled the
`order` field when transposing a layout. The `order` field is
fundamentally different from the size-valued fields (sg_layout, sg_data,
inst_data, lane_layout, lane_data): its values are dimension indices
(order[0] is the fastest-varying dim), not per-position sizes. The two
require different transpose rules:
    - Size fields — reindex by position: new[i] = orig[perm[i]]
- order — relabel values through the inverse permutation: newOrder[i] =
inversePerm[origOrder[i]]

Both functions incorrectly applied the size-field rule to `order`.
Because the bug was applied consistently in both places, it stayed
hidden for trivial/symmetric (e.g. 2D [1,0]) permutations, where the two
rules happen to coincide. It only surfaces for non-trivial permutations
such as the 3D [1,0,2] produced by a broadcast→transpose chain.
   
   Assist-by-Claude

    [3 lines not shown]
DeltaFile
+36-5mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp
+19-0mlir/test/Dialect/XeGPU/propagate-layout-subgroup.mlir
+55-52 files

FreeBSD/src d082115lib/libsys kqueue.2

kqueue.2: knote is activated as the first action of tdsendsignal()

(cherry picked from commit df8ca3f89aa2b2c374886cc39b24c76796d7db9a)
DeltaFile
+1-1lib/libsys/kqueue.2
+1-11 files

FreeBSD/src b4bbe15sys/amd64/amd64 exception.S

amd64: do not restore fsbase/gsbase for 32bit processes

(cherry picked from commit c7e5802ab6e6230a5782a09c914585d055eb5223)
DeltaFile
+31-0sys/amd64/amd64/exception.S
+31-01 files

FreeBSD/src 41e974asys/x86/x86 ucode.c

x86/ucode.c: supposedly fix i386 compilation

PR:     295926

(cherry picked from commit f4cd99131c70e8be2a793d939b644e20bbbd3374)
DeltaFile
+1-1sys/x86/x86/ucode.c
+1-11 files

FreeBSD/src b94b531sys/dev/efidev efirt.c

efirt(9): carefully destroy efi_lock

(cherry picked from commit 8edcb37dd0753dc7e50044d9ccf0e991392a3d84)
DeltaFile
+7-5sys/dev/efidev/efirt.c
+7-51 files

FreeBSD/src 9817261sys/dev/efidev efirt.c

efirt(9): in verbose mode, announce the attachment and fw spec version

(cherry picked from commit 43fb5b33b00f3b66ec03ab3e0ea002afd16cb7b3)
DeltaFile
+8-1sys/dev/efidev/efirt.c
+8-11 files

LLVM/project 4efc6efllvm/lib/Target/RISCV RISCVAsmPrinter.cpp, llvm/test/CodeGen/RISCV option-arch-experimental.ll

[RISCV] Emit .option arch extensions without the "experimental-" prefix (#205471)

We currently emit the "experimental-" prefix in .option arch, e.g.
`.option arch, +experimental-zicfiss`, but the assembler can't parse
that back.

There are two ways to fix this:

1. Teach the assembler to accept `.option arch, +experimental-zicfiss`.
2. Emit `.option arch, +zicfiss` instead of `.option arch,
+experimental-zicfiss`.

This patch takes the second approach, which better fits the .option arch
syntax we defined. Experimental extensions are still guarded by
`-menable-experimental-extensions`.
DeltaFile
+13-0llvm/test/CodeGen/RISCV/option-arch-experimental.ll
+3-1llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
+16-12 files

FreeBSD/src 3a3d121sys/fs/nfsclient nfs_clvnops.c

nfs_clvnops.c: Fix the case where va_flags are being cleared

Commits c5d72d2 and 3b6d4c6 broke the case where the
archive/hidden/system attributes are being set false
(UF_ARCHIVE, UF_HIDDEN or UF_SYSTEM bits being cleared.)
and the NFS server does not support those attributes.
These patches only checked for support if the
archive/hidden/system attributes were non-zero.

This patch fixes the problem.

PR:     296088

(cherry picked from commit 572680712c317b81d66475203ac1b9d6bbeca5d5)
DeltaFile
+3-6sys/fs/nfsclient/nfs_clvnops.c
+3-61 files

LLVM/project 39ed392llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/test/CodeGen/RISCV rvp-srl-bitcast-bv.ll

[DAG] Fix illegal type in srl(bitcast(build_vector)) fold (#205074)

The fold

```
  (srl (bitcast (build_vector e1, ..., eN)), (N-1) * eltsize) -> (zext eN)
```

added in #181412 built the result through a narrow element integer type,
which
can be illegal (e.g. i16 on RV32 with the P extension, where `<2 x i16>`
is
legal). When the fold runs in the last DAG combine that illegal type
hits the
"Unexpected illegal type!" assert.

Build the result directly in the result type `VT` and mask off the high
bits
instead:

    [13 lines not shown]
DeltaFile
+36-0llvm/test/CodeGen/RISCV/rvp-srl-bitcast-bv.ll
+4-3llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+40-32 files

LLVM/project 89ac672libclc/clc/lib/nvptx CMakeLists.txt, libclc/clc/lib/nvptx/relational clc_isinf.cl

[libclc] Delete wrong implementation nvptx clc_isinf (#205699)

The file calls __nv_isinf which return 1 for true on vector input, while
the generic clc_isinf which return -1 for true on vector input. Using
nvptx clc_isinf in OpenCL isinf violates OpenCL spec.

Found the issue in https://github.com/intel/llvm/pull/22413
DeltaFile
+0-33libclc/clc/lib/nvptx/relational/clc_isinf.cl
+0-1libclc/clc/lib/nvptx/CMakeLists.txt
+0-342 files

FreeBSD/ports 92a0eb6graphics/mesa-devel distinfo Makefile

graphics/mesa-devel: update to 26.1.b.3676

Changes:        https://gitlab.freedesktop.org/mesa/mesa/-/compare/9dbe8846f5f...68468b6d1b9
DeltaFile
+3-3graphics/mesa-devel/distinfo
+2-2graphics/mesa-devel/Makefile
+5-52 files

FreeBSD/ports cfa4364games/veloren-weekly distinfo Makefile.crates, games/veloren-weekly/files patch-gilrs

games/veloren-weekly: update to s20260624

Changes:        https://gitlab.com/veloren/veloren/-/compare/ef31455955...3addf722cd
DeltaFile
+38-173games/veloren-weekly/files/patch-gilrs
+27-17games/veloren-weekly/distinfo
+12-7games/veloren-weekly/Makefile.crates
+2-2games/veloren-weekly/Makefile
+79-1994 files

FreeBSD/ports fa31695benchmarks/clpeak distinfo Makefile

benchmarks/clpeak: update to 2.0.14

Changes:        https://github.com/krrishnarraj/clpeak/releases/tag/2.0.14
Reported by:    GitHub (watch releases)
DeltaFile
+3-3benchmarks/clpeak/distinfo
+4-1benchmarks/clpeak/Makefile
+7-42 files

NetBSD/src Bi7FMIktests/usr.bin/netpgpverify t_netpgpverify.sh

   netpgpverify(1): Mark DSA test broken on sparc too.

   PR bin/59823: netpgpverify broken for PGP since switch to gcc 14.3
VersionDeltaFile
1.9+2-2tests/usr.bin/netpgpverify/t_netpgpverify.sh
+2-21 files

NetBSD/src shfk51ftests/usr.bin/c++ t_static_destructor.sh t_call_once.sh

   tests/usr.bin/c++: Fix a few xfails.

   PR toolchain/59710: various pic profile tests are failing and/or broken
VersionDeltaFile
1.14+12-2tests/usr.bin/c++/t_static_destructor.sh
1.11+7-1tests/usr.bin/c++/t_call_once.sh
1.11+7-1tests/usr.bin/c++/t_cxxruntime.sh
+26-43 files

LLVM/project f4a1491llvm/include/llvm/Target TargetLoweringObjectFile.h, llvm/lib/CodeGen TargetLoweringObjectFileImpl.cpp

[x86] Handle implicit sections when determining if a global is large (#204247)

Just like explicit sections.

We were seeing globals with implicit sections marked large under the
medium code model.

Assisted-by: Gemini
DeltaFile
+134-0llvm/test/CodeGen/X86/large-implicit-section.ll
+5-24llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+14-8llvm/lib/Target/TargetMachine.cpp
+19-0llvm/lib/Target/TargetLoweringObjectFile.cpp
+5-0llvm/include/llvm/Target/TargetLoweringObjectFile.h
+177-325 files

FreeBSD/src 39975c7sys/x86/cpufreq hwpstate_intel.c

hwpstate_intel(4): sysctl_epp_select(): Cache again new EPP value

This caching was removed inadvertently in the commit mentioned below.

Fixes:          8452afeb5682 ("hwpstate_intel: Use 8bit scale instead of percentage scale")
Event:          Halifax Hackathon 202606
Location:       jrm@'s living room
Sponsored by:   The FreeBSD Foundation
DeltaFile
+5-5sys/x86/cpufreq/hwpstate_intel.c
+5-51 files

FreeBSD/src 0143a40sys/x86/cpufreq hwpstate_intel.c

hwpstate_intel(4): Fix recent copyright formatting

Add an "empty" (comment) line between copyright and the Foundation text.

Fixes:          29b8220b179b ("hwpstate_intel: Use ipi instead of thread_lock + sched_bind")
Event:          Halifax Hackathon 202606
Location:       jrm@'s living room
Sponsored by:   The FreeBSD Foundation
DeltaFile
+1-0sys/x86/cpufreq/hwpstate_intel.c
+1-01 files

FreeBSD/src 66d48f0sys/x86/cpufreq hwpstate_intel.c

hwpstate_intel(4): Comment the EPB to EPP computation

Explain why the '* 17' instead of '* 16', as suggested in revision
D55629.

Event:          Halifax Hackathon 202606
Location:       jrm@'s living room
Sponsored by:   The FreeBSD Foundation
DeltaFile
+4-0sys/x86/cpufreq/hwpstate_intel.c
+4-01 files

FreeBSD/ports a30e9cb. UPDATING

UPDATING: add missing python 3.12 entry

Reported by: des
Event: Halifax Hackathon 202606
DeltaFile
+18-0UPDATING
+18-01 files

FreeBSD/ports 9e51d48editors/vscode Makefile, net-im/deltachat-desktop Makefile

*/*: Bump port revision after electron42 update (dc602c027fbf)
DeltaFile
+1-1net-im/deltachat-desktop/Makefile
+1-1net-im/signal-desktop/Makefile
+1-0editors/vscode/Makefile
+3-23 files

FreeBSD/ports dc602c0devel/electron42 distinfo Makefile, devel/electron42/files patch-electron_spec_api-utility-process-spec.ts patch-gpu_command__buffer_service_gles2__cmd__decoder.cc

devel/electron42: Update to 42.5.0

Changelog: https://github.com/electron/electron/releases/tag/v42.5.0

Reported by:    GitHub (watch releases)
DeltaFile
+13-13devel/electron42/distinfo
+5-5devel/electron42/files/packagejsons/yarn.lock
+3-3devel/electron42/Makefile
+3-3devel/electron42/files/patch-electron_spec_api-utility-process-spec.ts
+2-2devel/electron42/files/patch-gpu_command__buffer_service_gles2__cmd__decoder.cc
+1-1devel/electron42/files/packagejsons/package.json
+27-271 files not shown
+28-287 files

FreeBSD/ports 093361edevel/freebsd-git-arc distinfo Makefile

devel/freebsd-git-arc: Update to 20260507

Reviewed by:    jrm
Differential Revision:  https://reviews.freebsd.org/D57752
DeltaFile
+5-5devel/freebsd-git-arc/distinfo
+2-2devel/freebsd-git-arc/Makefile
+7-72 files

FreeBSD/ports d14ecf7mail/fetchmail distinfo Makefile

mail/fetchmail{,conf}: Update 6.6.5 => 6.6.6 (critical bugfix for imap)

Changelog:
https://gitlab.com/fetchmail/fetchmail/-/blob/6.6.6/NEWS#L110

PR:             296262
Sponsored by:   UNIS Labs
MFH:            2026Q2

(cherry picked from commit 44305833bada607f8dd6ce2a649f11ffb3ed471e)
DeltaFile
+3-3mail/fetchmail/distinfo
+1-1mail/fetchmail/Makefile
+4-42 files

LLVM/project 635ed0elibc/src/__support/OSUtil/linux/stat kernel_statx_types.h stat_via_statx.h, libc/src/sys/stat/linux kernel_statx.h CMakeLists.txt

[libc][stat] Move internal statx type definition into OSUtil/linux (#203975)

This PR refactors the internally defined `statx` buffer to a shareable
location so other LLVM-libc linux entrypoints may call `statx` without
concern for name conflicts around `linux/stat.h`.

Specifically, this PR moves `libc/src/sys/stat/linux/kernel_statx.h` to
`libc/src/__support/OSUtil/linux/stat/` and splits it into two files,
`kernel_statx_types.h` + `stat_via_statx.h`.

This will be used by `realpath`.
DeltaFile
+0-107libc/src/sys/stat/linux/kernel_statx.h
+72-0libc/src/__support/OSUtil/linux/stat/kernel_statx_types.h
+66-0libc/src/__support/OSUtil/linux/stat/stat_via_statx.h
+51-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+9-15libc/src/sys/stat/linux/CMakeLists.txt
+22-0libc/src/__support/OSUtil/linux/stat/CMakeLists.txt
+220-1224 files not shown
+256-14010 files

FreeBSD/ports 4430583mail/fetchmail distinfo Makefile

mail/fetchmail{,conf}: Update 6.6.5 => 6.6.6 (critical bugfix for imap)

Changelog:
https://gitlab.com/fetchmail/fetchmail/-/blob/6.6.6/NEWS#L110

PR:             296262
Sponsored by:   UNIS Labs
MFH:            2026Q2
DeltaFile
+3-3mail/fetchmail/distinfo
+1-1mail/fetchmail/Makefile
+4-42 files

LLVM/project 61cbfabcompiler-rt/lib/instrumentor-tools instrumentor_runtime.h, compiler-rt/lib/instrumentor-tools/flop-counter flop_counter_runtime.cpp CMakeLists.txt

[Instrumentor] Add runtime examples: [1/N] A flop counter

This adds a instrumentor-tools folder into compiler RT to showcase
use cases of the instrumentor. The initial example is a program that,
via instrumentation, counts the number of flops performed. Call and
intrinsic support will follow after #198042.

Partially developped by Claude (AI), tested and verified by me.
DeltaFile
+293-0compiler-rt/lib/instrumentor-tools/instrumentor_runtime.h
+164-0compiler-rt/lib/instrumentor-tools/flop-counter/flop_counter_runtime.cpp
+82-0compiler-rt/lib/instrumentor-tools/flop-counter/CMakeLists.txt
+77-0compiler-rt/lib/instrumentor-tools/flop-counter/README.md
+75-0compiler-rt/test/instrumentor-tools/lit.cfg.py
+49-0compiler-rt/test/instrumentor-tools/simple_flops.c
+740-020 files not shown
+966-126 files

LLVM/project a130299clang/include/clang/AST OpenMPClause.h, clang/lib/AST OpenMPClause.cpp

[OpenMP][Clang] Fix parsing of num_teams lower-bound modifier
DeltaFile
+46-35clang/lib/Sema/SemaOpenMP.cpp
+12-44clang/lib/Parse/ParseOpenMP.cpp
+41-2clang/include/clang/AST/OpenMPClause.h
+15-15clang/lib/AST/OpenMPClause.cpp
+17-11clang/test/OpenMP/teams_num_teams_messages.cpp
+16-7clang/lib/Sema/TreeTransform.h
+147-11412 files not shown
+209-13118 files

LLVM/project 2e09869compiler-rt/lib/instrumentor-tools instrumentor_runtime.h, compiler-rt/lib/instrumentor-tools/flop-counter flop_counter_runtime.cpp CMakeLists.txt

[Instrumentor] Add runtime examples: [1/N] A flop counter

This adds a instrumentor-tools folder into compiler RT to showcase
use cases of the instrumentor. The initial example is a program that,
via instrumentation, counts the number of flops performed. Call and
intrinsic support will follow after #198042.

Partially developped by Claude (AI), tested and verified by me.
DeltaFile
+293-0compiler-rt/lib/instrumentor-tools/instrumentor_runtime.h
+164-0compiler-rt/lib/instrumentor-tools/flop-counter/flop_counter_runtime.cpp
+82-0compiler-rt/lib/instrumentor-tools/flop-counter/CMakeLists.txt
+77-0compiler-rt/lib/instrumentor-tools/flop-counter/README.md
+75-0compiler-rt/test/instrumentor-tools/lit.cfg.py
+53-0compiler-rt/test/instrumentor-tools/CMakeLists.txt
+744-020 files not shown
+971-126 files

LLVM/project b37b10dclang/lib/Driver Driver.cpp, clang/test/Driver sycl-print-internal-defines.cpp

[Driver][SYCL] Treat stdin as C++ when -fsycl is active (#204968)

1723b7a30145 added a frontend check that rejects C inputs when SYCL mode
is active (since SYCL requires C++). The stdin path in BuildInputs
hardcoded TY_C regardless of driver mode, so `-fsycl -dM -E -` would
pass -x c to cc1 and trigger the new diagnostic.

Fix: use TY_CXX for stdin when IsSYCL.

Also, upstream a downstream test that fails due to 1723b7a30145.

---------

Co-authored-by: Claude Sonnet 4.6 <noreply at anthropic.com>
DeltaFile
+8-0clang/test/Driver/sycl-print-internal-defines.cpp
+4-0clang/lib/Driver/Driver.cpp
+12-02 files