LLVM/project d9e26c4flang/lib/Optimizer/OpenMP FunctionFiltering.cpp, mlir/lib/Dialect/OpenMP/IR OpenMPDialect.cpp

Reject target map iterators without captures

Reject target map iterators until the follow-up capture-binding
representation is added since currently map_iterated on omp.target
only represents the dynamic map list and does not consider the
target-region arguments required by IsolatedFromAbove.
DeltaFile
+0-23mlir/test/Dialect/OpenMP/ops.mlir
+0-19mlir/test/Target/LLVMIR/openmp-todo.mlir
+5-5mlir/test/Dialect/OpenMP/invalid.mlir
+5-0mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+0-1flang/lib/Optimizer/OpenMP/FunctionFiltering.cpp
+10-485 files

LLVM/project 98f2f8cclang-tools-extra/clang-tidy doc8.ini

[clang-tidy] Remove 80 char limit checking in CI. NFC. (#197609)

The
[RFC](https://discourse.llvm.org/t/rfc-remove-80-column-limit-in-documentation-files/89678/41)
on removing 80 columns limit got accepted. So we should no longer
enforce that rule in clang-tidy's code-linter workflow.
DeltaFile
+1-0clang-tools-extra/clang-tidy/doc8.ini
+1-01 files

LLVM/project ad8352fllvm/include/llvm/CodeGen MIRYamlMapping.h, llvm/lib/CodeGen MIRPrinter.cpp

[MIR] Save internal VirtRegMap state in MIR

Adds two optional fields to the per-vreg YAML record so MIR tests can
express VirtRegMap state that previously had no representation:

  registers:
    - { id: 1, class: vgpr_32, split-from: '%0', assigned-phys: '$vgpr5' }

Testing passes that consume sibling-register information (e.g.
InlineSpiller) requires constructing a VirtRegMap with split
relationships from a MIR test, which implies triggering live-range
splitting at minimum and make reproducers unnecessarily complicated.

So this change introduces a mechanism to serialize/deserialize the state
of the VirtRegMap pass.

Mechanism:
- For serialization:
  - MIRPrinter emits the new fields only when the VirtRegMap is available.

    [15 lines not shown]
DeltaFile
+48-0llvm/lib/CodeGen/MIRParser/MIRParser.cpp
+25-8llvm/lib/CodeGen/MIRPrinter.cpp
+32-0llvm/test/CodeGen/MIR/AMDGPU/virtregmap-stash.mir
+18-0llvm/test/CodeGen/MIR/AMDGPU/virtregmap-stash-bad-phys.mir
+17-1llvm/include/llvm/CodeGen/MIRYamlMapping.h
+17-0llvm/test/CodeGen/MIR/AMDGPU/virtregmap-stash-self-split.mir
+157-95 files not shown
+216-1311 files

LLVM/project 6f65e88mlir/include/mlir/Dialect/OpenMP OpenMPOps.td, mlir/lib/Dialect/OpenMP/IR OpenMPDialect.cpp

Simplify map iterator clause assembly

- Split MLIR map syntax into separate map_entries(...) and map_iterated(...),
  removing the custom MapEntryList parser/printer.
- Moved omp.target map_iterated out of TargetOpRegion
  - it now prints before the target region instead of as map_iterated_entries(...) after the region.
- Renamed LLVMIR TODO helper to clause-style checkMap.
- Added DeclareMapperInfoOp builder from DeclareMapperInfoOperands
  and updated Flang call sites so they do not need to spell out newly
  added operands..
DeltaFile
+9-85mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+14-14mlir/test/Dialect/OpenMP/ops.mlir
+12-12mlir/test/Dialect/OpenMP/invalid.mlir
+6-8mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+7-7mlir/test/Target/LLVMIR/openmp-todo.mlir
+6-3mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
+54-1293 files not shown
+60-1379 files

LLVM/project 9b5d10fmlir/test/Dialect/OpenMP invalid.mlir

Fix operandSegmentSizes mismatch after rebase
DeltaFile
+1-1mlir/test/Dialect/OpenMP/invalid.mlir
+1-11 files

LLVM/project 536bfbfmlir/lib/Dialect/OpenMP/IR OpenMPDialect.cpp, mlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp

Add verifier check for iterated map info and tests for declare mapper
DeltaFile
+79-60mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+109-1mlir/test/Dialect/OpenMP/invalid.mlir
+24-0mlir/test/Target/LLVMIR/openmp-todo.mlir
+18-0mlir/test/Dialect/OpenMP/ops.mlir
+6-0mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+236-615 files

LLVM/project 756c517mlir/include/mlir/Dialect/OpenMP OpenMPOps.td, mlir/lib/Dialect/OpenMP/IR OpenMPDialect.cpp

Require explicit yield in iterator op

Remove the implicit terminator trait from omp.iterator so iterator
modifiers must explicitly yield the value used to form the iterated list.

Add and update verfier and test accordingly.
DeltaFile
+15-0mlir/test/Dialect/OpenMP/ops.mlir
+5-8mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+9-0mlir/test/Dialect/OpenMP/invalid.mlir
+1-3mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
+30-114 files

LLVM/project 2fd3653flang/lib/Optimizer/OpenMP LowerWorkdistribute.cpp, mlir/lib/Dialect/OpenMP/IR OpenMPDialect.cpp

[mlir][OpenMP] Add iterator support to motion clauses

Extend omp.target_data, omp.target_enter_data, omp.target_exit_data,
and omp.target_update to support `!omp.iterated<Ty>`.

This is part of feature work for #188061

Assisted with copilot
DeltaFile
+128-21mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+100-1mlir/test/Dialect/OpenMP/ops.mlir
+83-0mlir/test/Target/LLVMIR/openmp-todo.mlir
+38-4mlir/test/Dialect/OpenMP/invalid.mlir
+19-18flang/lib/Optimizer/OpenMP/LowerWorkdistribute.cpp
+14-3mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+382-475 files not shown
+403-6111 files

LLVM/project 923a29acompiler-rt/test/profile CMakeLists.txt

[compiler-rt][profile][test] Match clang_rt.profile CRT model on MSVC (#197474)

On MSVC, Profile-* tests must link with the same CRT model as the
clang_rt.profile static archive they exercise. When that archive pulls
in RTInterception / RTSanitizerCommon object libraries, those are built
with MultiThreadedDLL (/MD), so the .objs reference `__imp_*` symbols.
The test binary defaults to /MT and fails to link with LNK2019
(`__imp__stricmp` from `interception_win.cpp`) and LNK4098 default-lib
conflicts.

Match the DLL CRT on the test side so test executables and the static
archive use the same runtime. The change is gated on
`COMPILER_RT_HAS_INTERCEPTION` and `!COMPILER_RT_PROFILE_BAREMETAL`, so
configurations that don't pull interception into profile are unaffected.

Split out as NFC from #177665 per review feedback.
DeltaFile
+11-0compiler-rt/test/profile/CMakeLists.txt
+11-01 files

LLVM/project 1d614f5clang/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 b638763flang-rt/lib/cuda memory.cpp, flang-rt/unittests/Runtime/CUDA Memory.cpp

[flang][cuda] Use wider cudaMemcpy2D rows for descriptor transfers (#197563)
DeltaFile
+144-0flang-rt/unittests/Runtime/CUDA/Memory.cpp
+54-4flang-rt/lib/cuda/memory.cpp
+198-42 files

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

[clang] CTAD: fix transformation of template template parameters

This fixes ther 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 f7f6040clang/lib/CIR/CodeGen CIRGenExpr.cpp, clang/test/CIR/CodeGen temporary-materialization-adjust.cpp

[CIR]Materialize temp adjustments (#197585)

This is a pretty trivial bit of adjustments that have to happen when
emitting a materialized temporary, and is effectively a clone of classic
codegen. Our output is effectively identical (other than some minor
re-orering problems).
DeltaFile
+61-0clang/test/CIR/CodeGen/temporary-materialization-adjust.cpp
+23-4clang/lib/CIR/CodeGen/CIRGenExpr.cpp
+84-42 files

LLVM/project 2ee4669clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp, clang/test/CIR/CodeGen global-tls-templates.cpp global-tls-dyn-init.cpp

[CIR] Lower 'init' functions for global TLS (#197460)

This is the last patch for global/namespace thread-local variables. This
patch emits the final 'init' function, which calls all other init
functions, plus does the guard variable for the unordered variants.
DeltaFile
+100-5clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+38-4clang/test/CIR/CodeGen/global-tls-templates.cpp
+32-8clang/test/CIR/CodeGen/global-tls-dyn-init.cpp
+32-8clang/test/CIR/CodeGen/global-tls-simple-init.cpp
+202-254 files

OpenZFS/src 8b24164.github/workflows/scripts qemu-3-deps.sh

CI: Fix 99.99 META version

We have an option in zfs-qemu-packages to test against a specific kernel
version.  However, qemu-3-deps.sh was incorrectly hard coded to look
at $2 for a kernel version argument (which could come in $2 or $3
depending on if --poweroff was also passed).  This caused the CI
to incorrectly edit META with a max supported kernel version of 99.99
when we didn't want that.

Fix this by looking at all the arguments for something that looks
like a kernel version and set that as the kernel max in META.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Tony Hutter <hutter2 at llnl.gov>
Closes #18526
Closes #18531
DeltaFile
+13-5.github/workflows/scripts/qemu-3-deps.sh
+13-51 files

OpenZFS/src 8c3b0c7include/sys arc.h, module/zfs arc.c

Remove arc_bcopy_func() function

While this function could be convenient it appears it's never been
used.  In practice, callers end up using the arc_getbuf_func()
instead.  Remove this unused function.

Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Closes #18534
DeltaFile
+0-14module/zfs/arc.c
+1-2include/sys/arc.h
+1-162 files

OpenZFS/src 47af5e4module/zfs arc.c

arc: export additional required symbols

External consumers of arc_read() need to be able to destroy the
returned arc_buf_t.  Add the arc_buf_destroy() interface as an
exported symbol.

Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Closes #18533
DeltaFile
+1-0module/zfs/arc.c
+1-01 files

FreeBSD/ports 13ead5atextproc/py-python-bidi distinfo Makefile

textproc/py-python-bidi: update 0.6.9 → 0.6.10
DeltaFile
+3-3textproc/py-python-bidi/distinfo
+1-1textproc/py-python-bidi/Makefile
+4-42 files

FreeBSD/ports 2f50dc6devel/py-sqlfluff distinfo Makefile

devel/py-sqlfluff: Update to 4.2.0
DeltaFile
+3-3devel/py-sqlfluff/distinfo
+1-1devel/py-sqlfluff/Makefile
+4-42 files

LLVM/project f0ad8eelldb/source/Plugins/UnwindAssembly/InstEmulation UnwindAssemblyInstEmulation.cpp

[lldb] Don't read live memory for assembly inst emulation (#197601)

In 2021, Augusto changed the Target::ReadMemory API from taking a
`prefer_file_cache` argument to taking a `force_live_memory` argument,
with opposite meanings - where we used to pass true, the callers now
needed to pass false. The default argument was false, so many callers
omitted the argument altogether after the change.

One of the edits to
UnwindAssemblyInstEmulation::GetNonCallSiteUnwindPlanFromAssembly
unintentionally swapped the intended behavior -- this method which reads
the bytes of a function's instructions for emulation should get the
bytes from the local binary, if possible, else read from live memory.
But it was changed to force reading from live memory unconditionally.
This leads to an extra memory read for every function we see for the
first time in a single `lldb` process run (the UnwindTable they are
added to is part of the Module, and kept in the global Module cache).

It's not a major perf regression, but these are extra memory reads that

    [5 lines not shown]
DeltaFile
+1-2lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp
+1-21 files

FreeBSD/ports dc56ed8devel/git-repo-manager distinfo Makefile

devel/git-repo-manager: update 0.8.2 → 0.9.1
DeltaFile
+191-287devel/git-repo-manager/distinfo
+96-144devel/git-repo-manager/Makefile
+287-4312 files

FreeBSD/ports a72eff6sysutils/mise distinfo Makefile

sysutils/mise: update 2026.5.6 → 2026.5.7
DeltaFile
+5-5sysutils/mise/distinfo
+2-2sysutils/mise/Makefile
+7-72 files

FreeBSD/ports c27201emisc/lean-ctx distinfo Makefile

misc/lean-ctx: update 3.5.23 → 3.5.25
DeltaFile
+19-3misc/lean-ctx/distinfo
+9-1misc/lean-ctx/Makefile
+28-42 files

FreeBSD/ports 201e4d2audio/gigedit distinfo pkg-plist

audio/gigedit: update 1.2.2 → 1.2.4
DeltaFile
+3-3audio/gigedit/distinfo
+2-2audio/gigedit/pkg-plist
+1-1audio/gigedit/Makefile
+6-63 files

FreeBSD/ports 8e9e8afaudio/libgig distinfo pkg-plist, audio/qsampler Makefile

audio/libgig: update 4.5.0 → 4.5.2
DeltaFile
+3-3audio/libgig/distinfo
+2-2audio/libgig/pkg-plist
+1-2audio/libgig/Makefile
+1-1audio/qsampler/Makefile
+7-84 files

FreeBSD/ports 4e74793audio/gsequencer distinfo Makefile, audio/gsequencer/files patch-Makefile.am

audio/gsequencer: update 8.2.9 → 8.4.2
DeltaFile
+38-0audio/gsequencer/files/patch-Makefile.am
+3-3audio/gsequencer/distinfo
+1-1audio/gsequencer/Makefile
+2-0audio/gsequencer/pkg-plist
+44-44 files

FreeBSD/ports 1276c7daudio/jamulus distinfo Makefile

audio/jamulus: update 3_11_0 → 3.12.0
DeltaFile
+3-3audio/jamulus/distinfo
+1-1audio/jamulus/Makefile
+4-42 files

FreeBSD/ports f982988math/highs pkg-plist Makefile

math/highs: update 1.13.0 → 1.14.0
DeltaFile
+10-2math/highs/pkg-plist
+3-6math/highs/Makefile
+3-3math/highs/distinfo
+16-113 files

FreeBSD/ports b81bc7alang/bun Makefile, lang/bun/files patch-src_jsc_bindings_BunCPUProfiler.cpp patch-scripts_build_deps_lolhtml.ts

lang/bun: update 1.3.13-93 → 1.3.14
DeltaFile
+40-0lang/bun/files/patch-src_jsc_bindings_BunCPUProfiler.cpp
+22-0lang/bun/files/patch-scripts_build_deps_lolhtml.ts
+22-0lang/bun/files/patch-src_jsc_bindings_NodeVMSourceTextModule.cpp
+14-6lang/bun/Makefile
+13-0lang/bun/files/patch-src_jsc_bindings_BunAnalyzeTranspiledModule.cpp
+13-0lang/bun/files/patch-scripts_build_depVersionsHeader.ts
+124-64 files not shown
+161-1110 files

FreeBSD/ports de9a043audio/linuxsampler distinfo Makefile, audio/linuxsampler/files patch-configure

audio/linuxsampler: update 2.4.0 → 2.4.2
DeltaFile
+28-28audio/linuxsampler/files/patch-configure
+3-3audio/linuxsampler/distinfo
+1-2audio/linuxsampler/Makefile
+32-333 files