LLVM/project b1ff288mlir/include/mlir/Dialect/OpenACC OpenACCUtilsTiling.h, mlir/lib/Dialect/OpenACC/Transforms ACCLoopTiling.cpp

[mlir][OpenACC] Emit multi-IV tile and element loops from ACCLoopTiling (#211651)

`ACCLoopTiling` used to lower an N-dimensional `tile()` clause by
*uncollapsing* the fused loop into a deep nest of single-IV `acc.loop`s
(`tile_1 → … → tile_N → elem_1 → … → elem_N`). This discards the natural
grouping of the tile clause: the 2N single-IV loops no longer express
"these are the tile iterations" and "these are the in-tile iterations"
as collapsible units, and gang/vector end up spread across a deep nest
where only the outermost loop of each group carries the attribute. This
could potentially lead to poor parallelism assignment.

With this MR:
`tileACCLoops` now rewrites the single fused `acc.loop` in-place into
exactly two multi-IV loops, each carrying all the tiled induction
variables:
- a **tile-group** loop whose steps are the original steps scaled by the
tile sizes, and
- a nested **element-group** loop that walks the iterations within one
tile, with upper bounds clamped to `min(origUB, tileStart +

    [17 lines not shown]
DeltaFile
+137-224mlir/lib/Dialect/OpenACC/Utils/OpenACCUtilsTiling.cpp
+35-190mlir/unittests/Dialect/OpenACC/OpenACCUtilsTilingTest.cpp
+28-57mlir/test/Dialect/OpenACC/acc-loop-tiling.mlir
+24-29mlir/include/mlir/Dialect/OpenACC/OpenACCUtilsTiling.h
+14-18mlir/lib/Dialect/OpenACC/Transforms/ACCLoopTiling.cpp
+23-0mlir/test/Dialect/OpenACC/acc-loop-tiling-invalid.mlir
+261-5186 files

LLVM/project fde8e81flang/test/Fir/OpenACC acc-declare-gpu-module-insertion.fir, mlir/lib/Dialect/OpenACC/Transforms ACCDeclareGPUModuleInsertion.cpp

[mlir][acc] Allow for existing declare globals in GPU module under unified memory. (#211650)

OpenACC declare globals may already exist in the GPU module from earlier
GPU lowering. Under unified memory, this pass expects those device
copies as declarations, but a pre-existing global may still have an
initializer and therefore not match.
This change adapts an otherwise equivalent existing GPU global to
declaration form and reuses it; A lit test covers a host/GPU declare
global that should be reused as a declaration in the GPU module.
DeltaFile
+29-9mlir/lib/Dialect/OpenACC/Transforms/ACCDeclareGPUModuleInsertion.cpp
+18-0flang/test/Fir/OpenACC/acc-declare-gpu-module-insertion.fir
+47-92 files

FreeBSD/src a18e773tests/sys Makefile

tests/sys/pmc: only build if MK_PMC != no

This unbreaks the build when pmc support is explicitly disabled via the
aforementioned build knob.

MFC after:      10 days
Fixes:          2cfd82f74 ("hwpmc: add regression tests for ...")
Differential Revision:  https://reviews.freebsd.org/D58401
DeltaFile
+5-1tests/sys/Makefile
+5-11 files

LLVM/project 581235bllvm/lib/Transforms/Scalar LICM.cpp, llvm/test/Transforms/LICM vector-insert.ll

[LICM] Allow hoisting of InsertElementInst's past non-hoistable InsertElementInsts (#211414)

When building vectors from multiple scalars in a loop, allow the
insertions using invariant data to be hoisted, even if blocked by the
variant insertions.

In the SLP vectorizer, c1b37eacbf makes the assumption that these build
vectors will properly be hoisted, when they are not leads to regressions
such as #195497.

Reland of #200532.

Assisted By: Codex

Co-authored-by: Luke Lau <luke_lau at icloud.com>
Co-authored-by: Nikita Popov <github at npopov.com>
DeltaFile
+572-0llvm/test/Transforms/LICM/vector-insert.ll
+87-0llvm/lib/Transforms/Scalar/LICM.cpp
+659-02 files

OpenBSD/ports 8NZpevqtelephony/libosip2 distinfo Makefile

   telephony/libosip2: update to 5.3.2
VersionDeltaFile
1.7+2-2telephony/libosip2/distinfo
1.24+1-2telephony/libosip2/Makefile
+3-42 files

FreeNAS/freenas b0c3e61src/middlewared/middlewared/api/v27_0_0 vm.py, src/middlewared/middlewared/plugins/vm __init__.py lifecycle.py

Add vm.reset
DeltaFile
+19-0src/middlewared/middlewared/plugins/vm/__init__.py
+10-2src/middlewared/middlewared/api/v27_0_0/vm.py
+7-0src/middlewared/middlewared/plugins/vm/lifecycle.py
+36-23 files

Linux/linux d326f83drivers/net amt.c, drivers/net/ethernet/airoha airoha_eth.c

Merge tag 'net-7.2-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net

Pull networking fixes from Jakub Kicinski:
 "Lots of fixes, double the count even for the 'new normal'. Largely due
  to my time off followed by a networking conference which distracted
  most maintainers (less so the AI generators).

  Including fixes from Bluetooth and WiFi.

  Current release - regressions:

   - wifi: mt76: fix MAC address for non OF pcie cards

  Current release - new code bugs:

   - mptcp: fix BUILD_BUG_ON on legacy ARM config

   - wifi: cfg80211: guard optional PMSR nominal time


    [61 lines not shown]
DeltaFile
+197-0drivers/net/ethernet/realtek/rtase/rtase_main.c
+106-68drivers/net/ethernet/airoha/airoha_eth.c
+164-1net/vmw_vsock/virtio_transport_common.c
+113-0tools/testing/selftests/bpf/prog_tests/tc_qevent.c
+74-27drivers/net/amt.c
+41-55drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
+695-151258 files not shown
+2,774-887264 files

LLVM/project 2ace5adllvm/test/tools/llvm-mca/AMDGPU gfx10-trans.s gfx90a-mfma.s

AMDGPU: Migrate llvm-mca tests to subarch triples (#211477)
DeltaFile
+2-2llvm/test/tools/llvm-mca/AMDGPU/gfx10-trans.s
+1-1llvm/test/tools/llvm-mca/AMDGPU/gfx90a-mfma.s
+1-1llvm/test/tools/llvm-mca/AMDGPU/buffer-op-swz-operand.s
+1-1llvm/test/tools/llvm-mca/AMDGPU/gfx11-double.s
+1-1llvm/test/tools/llvm-mca/AMDGPU/gfx10-add-sequence.s
+1-1llvm/test/tools/llvm-mca/AMDGPU/gfx9-retireooo.s
+7-76 files not shown
+13-1312 files

LLVM/project 43bbb5bllvm/lib/Transforms/Vectorize LoopVectorize.cpp

[LV] Remove unused cost model from InnerLoopVectorizer (NFC) (#211594)

InnerLoopVectorizer stored a LoopVectorizationCostModel pointer (Cost)
but all users have been removed.
DeltaFile
+8-15llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+8-151 files

LLVM/project 1a7ece8llvm/test/MC/AMDGPU gfx7_unsupported.s gfx8_unsupported.s

AMDGPU: Mostly migrate mc tests to subarch triples (#211590)

Migrate cases by script that don't fail
DeltaFile
+864-864llvm/test/MC/AMDGPU/gfx7_unsupported.s
+614-614llvm/test/MC/AMDGPU/gfx8_unsupported.s
+223-223llvm/test/MC/AMDGPU/literals.s
+135-135llvm/test/MC/AMDGPU/vopc-vi.s
+28-28llvm/test/MC/AMDGPU/flat-scratch-st-mode.s
+24-24llvm/test/MC/AMDGPU/add-sub-no-carry.s
+1,888-1,888729 files not shown
+3,631-3,631735 files

LLVM/project 535fa57mlir/include/mlir/Dialect/GPU/Pipelines Passes.h, mlir/lib/Dialect/GPU/Pipelines GPUToXeVMPipeline.cpp CMakeLists.txt

[mlir][gpu] Add VectorToXeGPU and adjust VectorToSCF placement in XeVM pipeline (#210539)

Add convert-vector-to-xegpu (nested under gpu.module) to lower
kernel-side vector ops to XeGPU.
    
Move convert-vector-to-scf from the pre-GPU common pipeline into the
post-GPU pipeline, so host transfer ops (and any SCF the pass emits) are
lowered to loops before the vector-to-LLVM conversion.

---------

Co-authored-by: Claude Opus 4.8 <noreply at anthropic.com>
DeltaFile
+5-0mlir/include/mlir/Dialect/GPU/Pipelines/Passes.h
+3-1mlir/lib/Dialect/GPU/Pipelines/GPUToXeVMPipeline.cpp
+1-0mlir/lib/Dialect/GPU/Pipelines/CMakeLists.txt
+9-13 files

LLVM/project e2ddf43flang/lib/Semantics check-omp-structure.cpp check-omp-structure.h, llvm/include/llvm/Frontend/OpenMP OMP.td

[flang][OpenMP] Switch TableGen generation to use llvm::EnumSet

Replace the remaining uses of the common::EnumSet-based OmpClauseSet to
llvm::omp::ClauseSet.
DeltaFile
+20-19flang/lib/Semantics/check-omp-structure.cpp
+4-9flang/lib/Semantics/check-omp-structure.h
+1-1llvm/include/llvm/Frontend/OpenMP/OMP.td
+25-293 files

LLVM/project c237a94flang/lib/Semantics check-directive-structure.h check-omp-structure.cpp

Specialize IterateOverMembers instead of ClauseSetToString

There was still a use of common::EnumSet::IterateOverMembers left
over after the prior changes. Get rid of it via the specialization,
and revert the specialization of ClauseSetToString, which was
originally implemented using IterateOverMembers.
DeltaFile
+22-7flang/lib/Semantics/check-directive-structure.h
+4-11flang/lib/Semantics/check-omp-structure.cpp
+3-9flang/lib/Semantics/check-acc-structure.cpp
+2-2flang/lib/Semantics/check-omp-structure.h
+2-2flang/lib/Semantics/check-acc-structure.h
+33-315 files

LLVM/project baa7441flang/lib/Lower/OpenMP OpenMP.cpp

format
DeltaFile
+6-2flang/lib/Lower/OpenMP/OpenMP.cpp
+6-21 files

LLVM/project 092debdflang/lib/Semantics check-directive-structure.h check-omp-structure.cpp

[flang] Provide "clause set" type as parameter to DirectiveStructureChecker

This will remove the hardcoded dependence of DirectiveStructureChecker on
the common::EnumSet class. Both consumers of it will be able to use their
own type for the clause set.

The only complication was the ClauseSetToString member function, whose
implementation depended on the specifics of common::EnumSet, namely the
IterateOverMembers member function. It was moved out of the class, and
turned into a function template to make it possible to provide different
specializations for common::EnumSet and llvm::EnumSet.
DeltaFile
+59-75flang/lib/Semantics/check-directive-structure.h
+14-1flang/lib/Semantics/check-omp-structure.cpp
+12-0flang/lib/Semantics/check-acc-structure.cpp
+5-1flang/lib/Semantics/check-omp-structure.h
+5-1flang/lib/Semantics/check-acc-structure.h
+95-785 files

LLVM/project ed7773bflang/include/flang/Semantics openmp-directive-sets.h, flang/lib/Lower/OpenMP OpenMP.cpp

[flang][OpenMP] Use llvm::omp::DirectiveSet instead of common::EnumSet

Replace uses of OmpDirectiveSet (defined in terms of common::EnumSet)
with the common llvm::omp::DirectiveSet (defined via llvm::EnumSet).

The llvm::omp::DirectiveSet class will also be used in openmp-parsers,
where OmpDirectiveSet was an instance of llvm::Bitset.
DeltaFile
+58-60flang/include/flang/Semantics/openmp-directive-sets.h
+23-24flang/lib/Lower/OpenMP/OpenMP.cpp
+21-23flang/lib/Parser/openmp-parsers.cpp
+10-9flang/lib/Semantics/check-omp-structure.cpp
+2-2flang/lib/Semantics/check-omp-structure.h
+2-0llvm/include/llvm/Frontend/OpenMP/OMP.h
+116-1181 files not shown
+117-1197 files

LLVM/project 4f4a5c1flang/include/flang/Semantics symbol.h, flang/lib/Semantics resolve-directives.cpp check-omp-structure.h

[flang][OpenMP] Use llvm::omp::ClauseSet instead of common::EnumSet

Replace uses of OmpClauseSet (defined in terms of common::EnumSet)
with the common llvm::omp::ClauseSet (defined via llvm::EnumSet).
DeltaFile
+18-19flang/lib/Semantics/resolve-directives.cpp
+17-14flang/include/flang/Semantics/symbol.h
+10-9flang/lib/Semantics/check-omp-structure.h
+8-9flang/lib/Semantics/symbol.cpp
+5-5flang/lib/Semantics/mod-file.cpp
+3-3flang/lib/Semantics/check-omp-structure.cpp
+61-593 files not shown
+66-619 files

LLVM/project 1e4d5d8llvm/unittests/Frontend EnumSetTest.cpp

Add preamble
DeltaFile
+8-0llvm/unittests/Frontend/EnumSetTest.cpp
+8-01 files

LLVM/project a92b670llvm/unittests/Frontend EnumSetTest.cpp CMakeLists.txt

Add unit test
DeltaFile
+134-0llvm/unittests/Frontend/EnumSetTest.cpp
+1-0llvm/unittests/Frontend/CMakeLists.txt
+135-02 files

LLVM/project 3cdf11allvm/include/llvm/Frontend/OpenMP OMP.h, llvm/unittests/Frontend EnumSetTest.cpp

Fix out of bounds word access in iterator
DeltaFile
+77-0llvm/unittests/Frontend/EnumSetTest.cpp
+4-4llvm/include/llvm/Frontend/OpenMP/OMP.h
+81-42 files

LLVM/project a3fffcfllvm/include/llvm/Frontend/OpenMP OMP.h, llvm/unittests/Frontend EnumSetTest.cpp

Add type-preserving operators |, &, |=, &=
DeltaFile
+22-2llvm/unittests/Frontend/EnumSetTest.cpp
+17-0llvm/include/llvm/Frontend/OpenMP/OMP.h
+39-22 files

LLVM/project 1cdd77allvm/include/llvm/Frontend/OpenMP OMP.h

[OpenMP] Implement EnumSet container

This is close to flang's common::EnumSet with the difference being that
it provides forward iterators.

The reason for having an implementation that is separate from
common::EnumSet is that this is intended to be shared for all consumers
of llvm/lib/Frontend/OpenMP. This class is also planned to be one of the
core containers for representing auto-generated OpenMP data in the future.
DeltaFile
+104-0llvm/include/llvm/Frontend/OpenMP/OMP.h
+104-01 files

LLVM/project 4168362llvm/include/llvm/Frontend/OpenMP OMP.h

Add some static helper members
DeltaFile
+3-0llvm/include/llvm/Frontend/OpenMP/OMP.h
+3-01 files

LLVM/project 838302blldb/include/lldb/Symbol TypeSystem.h, lldb/source/Plugins/TypeSystem/Clang TypeSystemClang.cpp TypeSystemClang.h

[lldb] Add GetSizeType `size_t` to TypeSystemClang
DeltaFile
+8-0lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
+7-0lldb/unittests/Symbol/TestTypeSystemClang.cpp
+2-0lldb/include/lldb/Symbol/TypeSystem.h
+2-0lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
+19-04 files

LLVM/project 9cf2cc2llvm/lib/Target/AMDGPU AMDGPURegBankCombiner.cpp AMDGPUCombine.td, llvm/test/CodeGen/AMDGPU packed-fp64.ll

[AMDGPU][GlobalISel] Fold redundant uniform G_AMDGPU_READANYLANE in RegBankCombiner

Add a RegBankCombiner rule that replaces G_AMDGPU_READANYLANE when its
source is already uniform (an sgpr value merely copied into a vgpr),
eliminating the redundant sgpr -> vgpr -> sgpr round trip.

Add a MIR test and update mul.ll check lines.

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+48-0llvm/test/CodeGen/AMDGPU/GlobalISel/regbankcombiner-redundant-readanylane.mir
+33-0llvm/lib/Target/AMDGPU/AMDGPURegBankCombiner.cpp
+10-1llvm/lib/Target/AMDGPU/AMDGPUCombine.td
+4-4llvm/test/CodeGen/AMDGPU/packed-fp64.ll
+95-54 files

LLVM/project 8b0eab1clang/lib/ScalableStaticAnalysis/Analyses/TypeConstrainedPointers TypeConstrainedPointers.cpp

[SSAF] Fix Expected return type in TypeConstrainedPointers deserialization (gcc 7.5.0) (#211331)

GCC 7.5.0 fails to compile this code. Use explicit upcasts from
std::unique_ptr<Derived> to std::unique_ptr<Base> in deserializeSummary
and deserializeAnalysisResult. This resolves a compilation error where
llvm::Expected<std::unique_ptr<Base>> could not be constructed from
unique_ptr of derived summary/result types.
DeltaFile
+2-2clang/lib/ScalableStaticAnalysis/Analyses/TypeConstrainedPointers/TypeConstrainedPointers.cpp
+2-21 files

LLVM/project 52ab62ellvm/docs/AMDGPU AMDGPUAsmGFX11.rst AMDGPUAsmGFX10.rst

[AMDGPU][Docs] Remove docs for AMDGPU instruction syntax (#211421)

Docs for AMDGPU instruction syntax under llvm/docs/AMDGPU are being
moved out of LLVM.
They can be found at the [ROCm LLVM Compiler Infrastructure
website](https://rocm.docs.amd.com/projects/llvm-project/en/latest/index.html)
DeltaFile
+0-3,307llvm/docs/AMDGPU/AMDGPUAsmGFX11.rst
+0-2,268llvm/docs/AMDGPU/AMDGPUAsmGFX10.rst
+0-2,175llvm/docs/AMDGPU/AMDGPUAsmGFX1030.rst
+0-2,160llvm/docs/AMDGPU/AMDGPUAsmGFX940.rst
+0-2,139llvm/docs/AMDGPU/AMDGPUAsmGFX9.rst
+0-2,107llvm/docs/AMDGPU/AMDGPUAsmGFX90a.rst
+0-14,156929 files not shown
+4-42,563935 files

LLVM/project ea233a0libc/src/__support/CPP simd.h

[libc] Silence sanitizer OOB reports in SIMD read/write helpers. (#211148)

Use `LIBC_NO_SANITIZE_OOB_ACCESS` for small SIMD helper functions
(load/store/gather/scatter/expand/compress). Even though the actual
functions which have logical OOB reads (such as
`clang_vector::string_length`) already have
`LIBC_NO_SANITIZE_OOB_ACCESS` attribute to ignore OOB reads, it's not
enough - as we see downstream reports from ASan builds of llvm-libc
(using tip-of-trunk Clang), both with `-O1` and `-O2`. We simply can't
rely on the SIMD helpers being inlined into the caller function, with
their memory reads/writes ignored.

Thus, apply the `no_sanitize` attribute to the helpers themselves. This
is clearly suboptimal, as we're effectively disabling sanitizer checks
for *all* the code using SIMD to read/write from memory, but it seems to
be the easiest reasonable fix. After all, code using SIMD (like code
using explicit intrinsics or inline assembly) should be written only in
special cases, with author knowing what they're doing.
DeltaFile
+18-14libc/src/__support/CPP/simd.h
+18-141 files

NetBSD/pkgsrc 5TFpu60ham/7plus distinfo Makefile, ham/7plus/patches patch-aa patch-ac

   ham/7plus: Extend patches to catch up with modern Linux

   From Chris Maness via email.
VersionDeltaFile
1.11+6-6ham/7plus/distinfo
1.3+10-1ham/7plus/patches/patch-aa
1.2+7-1ham/7plus/patches/patch-ac
1.19+2-2ham/7plus/Makefile
+25-104 files

FreeBSD/doc b258509website/content/en/status/report-2026-04-2026-06 framework.adoc

Status/2026Q2/framework.adoc: Add report

Pull Request:   https://github.com/freebsd/freebsd-doc/pull/699
DeltaFile
+54-0website/content/en/status/report-2026-04-2026-06/framework.adoc
+54-01 files