LLVM/project 3b057c3mlir/include/mlir-c Rewrite.h, mlir/lib/Bindings/Python Rewrite.cpp

[mlir-c] Add 1:N TypeConverter conversion and materialization bindings (#208935)

Builds on the source/target materialization C bindings (#208934) to
expose the 1:N dialect-conversion functionality through the MLIR C API.
Continues the buildout of the dialect-conversion C bindings (follows
#206146 and #206161).

Assisted by: Claude
DeltaFile
+808-3mlir/test/CAPI/rewrite.c
+151-14mlir/lib/CAPI/Transforms/Rewrite.cpp
+91-5mlir/include/mlir-c/Rewrite.h
+3-1mlir/lib/Bindings/Python/Rewrite.cpp
+1,053-234 files

LLVM/project f66306allvm/lib/Transforms/Scalar LowerMatrixIntrinsics.cpp, llvm/test/Transforms/LowerMatrixIntrinsics no-tiling-remark.ll double-transpose-asserts-shape.ll

[Matrix] Introduce LoadInfo/StoreInfo to add tiling with remainder support
DeltaFile
+6,436-0llvm/test/Transforms/LowerMatrixIntrinsics/no-tiling-remark.ll
+859-88llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
+163-0llvm/test/Transforms/LowerMatrixIntrinsics/double-transpose-asserts-shape.ll
+38-35llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-loops.ll
+17-0llvm/test/Transforms/LowerMatrixIntrinsics/alias-check-remark.ll
+7,513-1235 files

LLVM/project d0ec2ecclang-tools-extra/clang-tidy/readability NamedParameterCheck.cpp NamedParameterCheck.h, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy] Ignore standard tag dispatch types in readability-named-parameter (#208730)

Parameters whose type is a standard tag type (e.g. std::in_place_t,
std::nothrow_t,
iterator tags, lock tags) are used purely for overload resolution and
don't need
a name. This patch skips them.

Added an IgnoredTypes option so users can customize the list. Default
covers 24
standard tag types.

Fixes #208448.

AI Usage: This commit is AI-assisted, reviewed and verified by me.
DeltaFile
+58-0clang-tools-extra/test/clang-tidy/checkers/readability/named-parameter.cpp
+43-1clang-tools-extra/clang-tidy/readability/NamedParameterCheck.cpp
+38-0clang-tools-extra/docs/clang-tidy/checks/readability/named-parameter.rst
+24-0clang-tools-extra/test/clang-tidy/checkers/readability/named-parameter-ignored-types.cpp
+7-0clang-tools-extra/docs/ReleaseNotes.rst
+1-0clang-tools-extra/clang-tidy/readability/NamedParameterCheck.h
+171-16 files

LLVM/project 5fad72bclang/test/Analysis/Scalable/source-edit-generation/Plugins/TestTransformationPlugin TestTransformation.cpp

[SSAF] Fix a stage2 test failure with ASan-instrumented clang

ASan emits a symbol for a static global in
`Analysis/Scalable/source-edit-generation/Plugins/TestTransformationPlugin/TestTransformation.cpp`
that causes link issues in green dragon.

Added `__attribute__((no_sanitize("address")))` to that static global to fix
the test.

rdar://182623740
DeltaFile
+3-0clang/test/Analysis/Scalable/source-edit-generation/Plugins/TestTransformationPlugin/TestTransformation.cpp
+3-01 files

LLVM/project 8eca60bclang-tools-extra/clang-tidy add_new_check.py

[clang-tidy] Generate Markdown documentation for new checks (#210574)

Update `add_new_check.py` to generate MyST Markdown documentation for
new checks.

Part of https://github.com/llvm/llvm-project/issues/201242
DeltaFile
+34-26clang-tools-extra/clang-tidy/add_new_check.py
+34-261 files

LLVM/project e278418llvm/lib/Transforms/Scalar LowerMatrixIntrinsics.cpp, llvm/test/Transforms/LowerMatrixIntrinsics matrix-row-vector-transpose.ll transpose-opts-lifting.ll

[Matrix] Add/remove transposes to row vectors to see them as column vectors

In column-major, add or remove transposes to row vectors in order to see
them as column vector during the rest of the lowering.
DeltaFile
+143-0llvm/test/Transforms/LowerMatrixIntrinsics/matrix-row-vector-transpose.ll
+140-0llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
+57-46llvm/test/Transforms/LowerMatrixIntrinsics/transpose-opts-lifting.ll
+5-26llvm/test/Transforms/LowerMatrixIntrinsics/dot-product-int-also-fusable-multiply.ll
+5-6llvm/test/Transforms/LowerMatrixIntrinsics/multiply-double.ll
+5-6llvm/test/Transforms/LowerMatrixIntrinsics/multiply-i32.ll
+355-841 files not shown
+360-907 files

LLVM/project f90fca7flang/docs/MeetingNotes/2026 2026-07-01.md

[flang] Add Flang Community Call Notes for July 1 (#207055)
DeltaFile
+76-0flang/docs/MeetingNotes/2026/2026-07-01.md
+76-01 files

Illumos/gate ac45d71usr/src/cmd/perl/contrib/Sun/Solaris/Pg Pg.pm

18156 Sun::Solaris::Pg::Pg.pm produces warnings under perl 5.42
Reviewed by: Andrew Stormont <andyjstormont at gmail.com>
Reviewed by: Bill Sommerfeld <sommerfeld at hamachi.org>
Reviewed by: Dominik Hassler <hadfl at omnios.org>
Approved by: Dan McDonald <danmcd at edgecast.io>
DeltaFile
+6-6usr/src/cmd/perl/contrib/Sun/Solaris/Pg/Pg.pm
+6-61 files

LLVM/project 52a6c35llvm/include/llvm/Transforms/Utils MatrixUtils.h, llvm/lib/Transforms/Scalar LowerMatrixIntrinsics.cpp

[Matrix] Split TileSize into per-dimension fields; add remainder loop infrastructure

Split the single TileSize field in TileInfo into TileNumRows,
TileNumInner, and TileNumColumns to enable non-square tiles.

Add CreateTiledLoopsWithRemainder() which generates a full loop
nest covering remainder rows and columns that don't evenly divide
the tile size.

Expose asIndex()/indexType() helpers from MatrixUtils.cpp for use
by callers building the tiled loop bodies.

In LowerMatrixIntrinsics, replace the old TileSize/TileLoopsThreshold
cl::opts with per-dimension TileSizeRows/Inner/Columns and add
TileUseLoops (default false) as the explicit opt-in for loop-based
tiling. Add isTilingLoopProfitable() to gate when loops are
worthwhile vs. inlining the tile computation.
DeltaFile
+2,188-60llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-loops-large-matrixes.ll
+37-201llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-volatile.ll
+158-20llvm/lib/Transforms/Utils/MatrixUtils.cpp
+55-119llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-loops.ll
+87-18llvm/include/llvm/Transforms/Utils/MatrixUtils.h
+69-28llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
+2,594-4467 files not shown
+2,602-45413 files

LLVM/project 04f124f.github CODEOWNERS

[github] Move BOLT reviewers to team (#211422)

Use https://github.com/orgs/llvm/teams/reviewers-bolt in place of
reviewers list, similar to runtimes.
DeltaFile
+1-3.github/CODEOWNERS
+1-31 files

LLVM/project f5f64f8llvm/test/tools/llvm-profgen/X86 invalid-short-lbr.test, llvm/test/tools/llvm-profgen/X86/Inputs invalid-short-lbr.perfscript

[llvm-profgen] Fix isLBRSample check for 1-deep brstack (#211182)

`isLBRSample` in `checkPerfScriptType` currently don't differentiate the
LBR records in hybrid sample (LBR+Stack) or an LBR sample. It checks
"0x" and "/" for the second pair as a unified way to tell whether the
record is an LBR pair. However, this requires a minimal of 2 pairs of
hybrid LBR samples, otherwise, even a valid LBR record will fail the
`isLBRSample` check. This fix adds an initial check for "0x" and "/" for
the first LBR record so we can handle the case where only 1 pair of LBR
record exists in the hybrid sample.
DeltaFile
+5-4llvm/tools/llvm-profgen/PerfReader.cpp
+3-0llvm/test/tools/llvm-profgen/X86/Inputs/invalid-short-lbr.perfscript
+3-0llvm/test/tools/llvm-profgen/X86/invalid-short-lbr.test
+11-43 files

NetBSD/pkgsrc-wip e7a1e00bup-snapshot distinfo Makefile

bup-snapshot: Updat to 0.33.71.883

This is more or less 0.34alpha1, not formally named.  Upstream said:

  It's time.  Please test main in preparation for a 0.34 release.  This is
  a substantial release with a lot of change, so closer scrutiny is
  warranted.  See note/main.md for an overview, which may suggest changes
  relevant to you that warrant closer scrutiny.
DeltaFile
+3-3bup-snapshot/distinfo
+2-2bup-snapshot/Makefile
+1-1bup-snapshot/COMMIT_MSG
+6-63 files

LLVM/project b66aac6clang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/Lowering/DirectToLLVM LowerToLLVM.cpp

[CIR][NFC] Remove unused LLVM lowering for cir.await (#211143)

`cir.await` is always eliminated by the FlattenCFG pass before the
DirectToLLVM conversion. Since the operation never reaches LLVM
lowering, remove the unused lowering implementation.
DeltaFile
+0-6clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+1-0clang/include/clang/CIR/Dialect/IR/CIROps.td
+1-62 files

LLVM/project 9521d0cclang/bindings/python/clang cindex.py, clang/bindings/python/tests/cindex test_code_completion.py

[libclang/python] Unify CompletionChunkKind.__str__ representation (#210676)

This completes the first step of
https://github.com/llvm/llvm-project/issues/156680
This change is a follow-up to
https://github.com/llvm/llvm-project/pull/176631, following the release
branching, to ensure a one release-cycle deprecation period.
DeltaFile
+17-58clang/bindings/python/tests/cindex/test_code_completion.py
+0-20clang/bindings/python/clang/cindex.py
+3-0clang/docs/ReleaseNotes.md
+20-783 files

LLVM/project 79d5781llvm/lib/Target/AMDGPU SIInstrInfo.cpp

[AMDGPU] Simplify check for packed fp32/64 opsel bits. NFCI

Call isLegalGFX12PlusPackedMathFP32or64BitOperand directly instead
of the whole isLegalOperand.
DeltaFile
+23-14llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+23-141 files

LLVM/project 9bdf7b6llvm/lib/Target/AMDGPU SIInstrInfo.cpp, llvm/test/CodeGen/AMDGPU packed-fp64.ll

[AMDGPU] Fix legalization of V_PK_*64 SGPR to VGPR change (#211357)

Special case for V_PK_*64 instructions: these do not have OPSEL but SGPR
sources behave like OPSEL is set replicating low 64-bits into high. VGPR
sources in turn read actual 4 registers. To move operand from an SGPR to
a VGPR we need to replicate low half.
DeltaFile
+122-0llvm/test/CodeGen/AMDGPU/packed-fp64.ll
+26-1llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+148-12 files

LLVM/project f075003clang/include/clang/DependencyScanning DependencyScannerImpl.h DependencyScanningWorker.h, clang/include/clang/Tooling DependencyScanningTool.h

Move implementation details to DependencyScanningWorker.cpp and dissolve DependencyScannerImpl.h/cpp.
DeltaFile
+0-678clang/lib/DependencyScanning/DependencyScannerImpl.cpp
+671-1clang/lib/DependencyScanning/DependencyScanningWorker.cpp
+0-122clang/include/clang/DependencyScanning/DependencyScannerImpl.h
+12-2clang/include/clang/DependencyScanning/DependencyScanningWorker.h
+0-1clang/include/clang/Tooling/DependencyScanningTool.h
+0-1clang/lib/DependencyScanning/CMakeLists.txt
+683-8053 files not shown
+684-8079 files

LLVM/project e323020clang/include/clang/DependencyScanning DependencyScannerImpl.h, clang/lib/DependencyScanning DependencyScanningWorker.cpp DependencyScannerImpl.cpp

Use CompilerInstanceWithContext for TU scanning.
DeltaFile
+132-38clang/lib/DependencyScanning/DependencyScanningWorker.cpp
+6-146clang/lib/DependencyScanning/DependencyScannerImpl.cpp
+33-27clang/include/clang/DependencyScanning/DependencyScannerImpl.h
+35-0clang/unittests/Tooling/DependencyScannerTest.cpp
+1-0clang/test/ClangScanDeps/logging-simple.c
+207-2115 files

LLVM/project 10491f5clang/include/clang/DependencyScanning DependencyScanningWorker.h, clang/include/clang/Tooling DependencyScanningTool.h

Relocate CompilerInstanceWithContext to DependencyScanningWorker.cpp and hide it as an implementation detail.
DeltaFile
+250-0clang/lib/DependencyScanning/DependencyScanningWorker.cpp
+4-208clang/lib/Tooling/DependencyScanningTool.cpp
+0-75clang/include/clang/Tooling/DependencyScanningTool.h
+22-5clang/include/clang/DependencyScanning/DependencyScanningWorker.h
+276-2884 files

LLVM/project eda590eclang/include/clang/DependencyScanning DependencyScannerImpl.h DependencyConsumer.h, clang/include/clang/Tooling DependencyScanningTool.h

Implement the streaming style by-name scanning API.
DeltaFile
+42-88clang/lib/Tooling/DependencyScanningTool.cpp
+42-56clang/tools/clang-scan-deps/ClangScanDeps.cpp
+15-59clang/include/clang/Tooling/DependencyScanningTool.h
+0-14clang/include/clang/DependencyScanning/DependencyScannerImpl.h
+1-3clang/test/ClangScanDeps/modules-full-by-mult-mod-names-diagnostics.c
+2-0clang/include/clang/DependencyScanning/DependencyConsumer.h
+102-2206 files

LLVM/project ac3bc89clang/include/clang/Tooling DependencyScanningTool.h, clang/lib/Tooling DependencyScanningTool.cpp

Extracting a driver-free CompilerInstaneWithContext initializer.
DeltaFile
+20-12clang/lib/Tooling/DependencyScanningTool.cpp
+21-3clang/include/clang/Tooling/DependencyScanningTool.h
+41-152 files

LLVM/project 48df76dclang/test/ClangScanDeps canonicalize-macros-multiarch.c

Adding a multiarch clang-scan-deps test
DeltaFile
+28-0clang/test/ClangScanDeps/canonicalize-macros-multiarch.c
+28-01 files

LLVM/project c832c38llvm/lib/Target/NVPTX NVPTXISelDAGToDAG.cpp NVPTXIntrinsics.td, llvm/test/CodeGen/NVPTX lower-byval-args.ll

[NVPTX] Move addrspacecast Isel to TableGen (#211306)
DeltaFile
+63-51llvm/test/DebugInfo/NVPTX/debug-info.ll
+0-93llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
+49-19llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
+15-0llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
+4-5llvm/test/CodeGen/NVPTX/lower-byval-args.ll
+2-2llvm/lib/Target/NVPTX/NVPTXForwardParams.cpp
+133-1704 files not shown
+136-17410 files

LLVM/project da04ce1clang/docs ClangFormatStyleOptions.md ClangFormat.md, clang/docs/tools dump_format_style.py dump_format_help.py

[docs][clang-format] Migrate generated clang-format docs to markdown

The challenge here is that the documentation is generated from Doxygen
comments in headers, `Format.h` and `IncludeStyle.h`.

First, the generator was updated to generate markdown constructs, and
then the Doxygen comments were also modified to use markdown constructs.
Mostly this means using single backticks instead of double backticks,
which is the Doxygen-native way of expressing code font blocks anyway,
so that's good.

To validate, I built the Sphinx docs and the doxygen, and I confirmed
that the generator script is idempotent, meaning it doesn't change the
markdown output. When I add a new option to clang-format, it shows up in
the help text block, so it works.

Before/after validation links:
| Source file | Before HTML | After HTML |
| --- | --- | --- |

    [4 lines not shown]
DeltaFile
+5,564-5,805clang/docs/ClangFormatStyleOptions.md
+383-383clang/include/clang/Format/Format.h
+236-259clang/docs/ClangFormat.md
+120-27clang/docs/tools/dump_format_style.py
+28-28clang/include/clang/Tooling/Inclusions/IncludeStyle.h
+3-11clang/docs/tools/dump_format_help.py
+6,334-6,5136 files

NetBSD/pkgsrc-wip 0f9b323callcc PLIST Makefile, callcc/patches patch-Makefile patch-compiler_bc.scm

wip/callcc: import callcc-0.3 as wip/callcc

An r7rs scheme compiler with an LLVM backend.
DeltaFile
+61-0callcc/PLIST
+37-0callcc/patches/patch-Makefile
+29-0callcc/Makefile
+23-0callcc/patches/patch-compiler_bc.scm
+19-0callcc/patches/patch-c_runtime.c
+8-0callcc/distinfo
+177-02 files not shown
+179-08 files

LLVM/project d1c5983mlir/lib/Dialect/OpenACC/Transforms ACCCGToGPU.cpp, mlir/test/Dialect/OpenACC acc-cg-to-gpu-reduction-array.mlir

[mlir][OpenACC] Support dynamic multi-rank array reductions (#211336)

Example:
```fortran
integer :: r(:,:)
!$acc parallel loop reduction(+:r)
```

In this code, the reduction accumulator has dynamic dimensions and rank
greater than one.

Fix: use runtime dimension sizes to delinearize flattened
array-reduction indices.
DeltaFile
+18-9mlir/test/Dialect/OpenACC/acc-cg-to-gpu-reduction-array.mlir
+6-10mlir/lib/Dialect/OpenACC/Transforms/ACCCGToGPU.cpp
+24-192 files

LLVM/project 9ad7769clang/docs ClangFormatStyleOptions.md ClangFormat.md, clang/docs/tools dump_format_style.py dump_format_help.py

[docs][clang-format] Migrate generated clang-format docs to markdown

The challenge here is that the documentation is generated from Doxygen
comments in headers, `Format.h` and `IncludeStyle.h`.

First, the generator was updated to generate markdown constructs, and
then the Doxygen comments were also modified to use markdown constructs.
Mostly this means using single backticks instead of double backticks,
which is the Doxygen-native way of expressing code font blocks anyway,
so that's good.

To validate, I built the Sphinx docs and the doxygen, and I confirmed
that the generator script is idempotent, meaning it doesn't change the
markdown output. When I add a new option to clang-format, it shows up in
the help text block, so it works.

Before/after validation links:
| Source file | Before HTML | After HTML |
| --- | --- | --- |

    [4 lines not shown]
DeltaFile
+5,406-5,647clang/docs/ClangFormatStyleOptions.md
+383-383clang/include/clang/Format/Format.h
+236-259clang/docs/ClangFormat.md
+93-27clang/docs/tools/dump_format_style.py
+28-28clang/include/clang/Tooling/Inclusions/IncludeStyle.h
+3-11clang/docs/tools/dump_format_help.py
+6,149-6,3556 files

LLVM/project 70cfbd5llvm/lib/Transforms/Scalar LowerMatrixIntrinsics.cpp, llvm/test/Transforms/LowerMatrixIntrinsics memory-remarks.ll

[Matrix] Add remarks for matrix loads and stores

Emit remarks for loads and stores over 128B (configurable via
-memop-remark-size-threshold). Also emit remarks for each step in
the inlining chain so callers can be identified.
DeltaFile
+45-0llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
+11-0llvm/test/Transforms/LowerMatrixIntrinsics/memory-remarks.ll
+56-02 files

LLVM/project c1cd7d1flang/lib/Semantics resolve-directives.cpp, flang/test/Semantics/OpenACC acc-routine-generic.f90

[flang][acc] Permit acc routine for specific name (#211386)

After https://github.com/llvm/llvm-project/pull/211269 a generic
interface name is rejected in acc routine. This PR relaxes this by
allowing it when the interface name and the specific are the same - and
attaches the information to the specific itself.
DeltaFile
+15-9flang/lib/Semantics/resolve-directives.cpp
+17-1flang/test/Semantics/OpenACC/acc-routine-generic.f90
+32-102 files

LLVM/project 8240753clang/docs ClangFormatStyleOptions.md ClangFormat.md, clang/docs/tools dump_format_style.py dump_format_help.py

[docs][clang-format] Migrate generated clang-format docs to markdown

The challenge here is that the documentation is generated from Doxygen
comments in headers, `Format.h` and `IncludeStyle.h`.

First, the generator was updated to generate markdown constructs, and
then the Doxygen comments were also modified to use markdown constructs.
Mostly this means using single backticks instead of double backticks,
which is the Doxygen-native way of expressing code font blocks anyway,
so that's good.

To validate, I built the Sphinx docs and the doxygen, and I confirmed
that the generator script is idempotent, meaning it doesn't change the
markdown output. When I add a new option to clang-format, it shows up in
the help text block, so it works.

Before/after validation links:
| Source file | Before HTML | After HTML |
| --- | --- | --- |

    [4 lines not shown]
DeltaFile
+5,406-5,647clang/docs/ClangFormatStyleOptions.md
+383-383clang/include/clang/Format/Format.h
+236-259clang/docs/ClangFormat.md
+93-27clang/docs/tools/dump_format_style.py
+28-28clang/include/clang/Tooling/Inclusions/IncludeStyle.h
+3-11clang/docs/tools/dump_format_help.py
+6,149-6,3556 files