LLVM/project 97e2db8 — mlir/docs CMakeInfrastructure.md, mlir/docs/DefiningDialects AttributesAndTypes.md

[MLIR][docs] Document the CMake infrastructure

Describe MLIR's TableGen, library, visibility, aggregation,
installation, and generated-header conventions in one infrastructure
guide. Explain library owners, explicit generators, and compile-only
header requirements.

Link the guide from CreatingADialect.md. Use
add_mlir_dialect_tablegen_target in the AttributesAndTypes.md example.

Assisted-by: Codex
DeltaFile
+282-0mlir/docs/CMakeInfrastructure.md
+3-0mlir/docs/Tutorials/CreatingADialect.md
+1-1mlir/docs/DefiningDialects/AttributesAndTypes.md
+286-13 files

LLVM/project 09d1c7d — mlir/docs ReleaseNotes.md, mlir/lib/Dialect/Affine/IR CMakeLists.txt

[MLIR][CMake] Stop depending on mlir-generic-headers by default

Remove the default mlir-generic-headers dependency from ordinary and
example libraries, and migrate their generated-interface requirements to
library owners. Keep the compatibility aggregate and registrations.

MLIRIR now owns MLIRInferIntRangeInterfaceIncGen, which Matchers.h
includes. Add the Transform/Interfaces generator-to-generator
dependency. MLIRDialectUtils switches from MLIRArithOpsIncGen to
COMPILE_ONLY:MLIRArithDialect because ReshapeOpsUtils.h includes
Arith.h.

Extend the release note and aggregate regression test.

Assisted-by: Codex
DeltaFile
+9-1mlir/lib/Dialect/MemRef/IR/CMakeLists.txt
+6-1mlir/lib/Dialect/Math/IR/CMakeLists.txt
+6-1mlir/lib/Dialect/Affine/IR/CMakeLists.txt
+3-3mlir/docs/ReleaseNotes.md
+5-1mlir/lib/Dialect/GPU/CMakeLists.txt
+5-1mlir/lib/Dialect/Complex/IR/CMakeLists.txt
+34-850 files not shown
+193-5256 files

LLVM/project f4df813 — clang/include/clang/CIR/Dialect/IR CMakeLists.txt, flang/lib/Frontend CMakeLists.txt

[CMake] Migrate CIR and Flang generated-header dependencies

Replace CIR's mlir-headers dependencies and Flang's global MLIR library
lists with their actual library dependencies. Let owners provide
generated headers through the link graph, and remove duplicate ordering
dependencies on foreign IncGen targets.

Declare CIR interface and header ownership explicitly. Keep source
shards, bytecode tables and lowering tables private to their consumers.
Scope accumulated TableGen variables and keep implementation-only
lowering tables out of Clang's global TableGen aggregate.

Include only the dialects and conversion passes registered by Flang.
Preserve the supported registrations and retain MLIR_DEPS for downstream
compatibility. Use compile-only owner links for header-only
dependencies.

Assisted-by: Codex
DeltaFile
+28-12flang/lib/Optimizer/Support/CMakeLists.txt
+16-16flang/lib/Optimizer/Builder/CMakeLists.txt
+7-17flang/lib/Lower/CMakeLists.txt
+16-7clang/include/clang/CIR/Dialect/IR/CMakeLists.txt
+4-18flang/lib/Frontend/CMakeLists.txt
+0-16flang/lib/Optimizer/OpenACC/Support/CMakeLists.txt
+71-8639 files not shown
+126-26445 files

LLVM/project 7f0023f — mlir/docs ReleaseNotes.md, mlir/lib/CAPI/Dialect CMakeLists.txt

[MLIR][CMake] Stop depending on mlir-headers by default

Remove the default mlir-headers dependency from the dialect, conversion,
extension, and translation library helpers. Keep the aggregate target,
its registrations, and explicit compatibility dependencies available.

Replace redundant foreign generator edges with actual library links or
compile-only header owners. Add generator-to-generator add_dependencies
edges when one generated header includes another. Add regression
coverage that rejects an implicit dependency on the aggregate.

Add a release note explaining downstream migration, the temporary
DEPENDS mlir-headers fallback, and clean generated-file dependency
audits.

Assisted-by: Codex
DeltaFile
+0-32mlir/lib/CAPI/Dialect/CMakeLists.txt
+16-7mlir/lib/Dialect/LLVMIR/CMakeLists.txt
+20-0mlir/docs/ReleaseNotes.md
+13-1mlir/lib/Dialect/Arith/IR/CMakeLists.txt
+10-1mlir/lib/Dialect/Tensor/IR/CMakeLists.txt
+7-3mlir/lib/Dialect/Vector/IR/CMakeLists.txt
+66-4453 files not shown
+140-17359 files

LLVM/project 8191f38 — mlir/lib/Dialect/Vector/IR VectorOps.cpp, mlir/test/Dialect/Vector vector-transfer-permutation-lowering.mlir invalid.mlir

[mlir][vector] Require matching element types for vector xfers (#239164)

`vector.transfer_read` and `vector.transfer_write` currently accept
source and vector types with different elemental types when their
bitwidths are compatible. This packing behavior is not supported by the
Vector dialect.

With this PR, we require source and vector elemental types to match, and
update the affected tests to reject unsupported transfers.

This also removes outdated packing cases from:

- `mlir/test/Dialect/Vector/ops.mlir`
- `mlir/test/Dialect/Vector/vector-transfer-permutation-lowering.mlir`

Fixes: #237545

---------

Signed-off-by: Federico Bruzzone <federico.bruzzone.i at gmail.com>
DeltaFile
+4-37mlir/test/Dialect/Vector/ops.mlir
+21-0mlir/test/Dialect/Vector/invalid.mlir
+8-8mlir/test/Dialect/Vector/vector-transfer-permutation-lowering.mlir
+8-0mlir/lib/Dialect/Vector/IR/VectorOps.cpp
+41-454 files

LLVM/project cefe2d8 — llvm/docs AIToolPolicy.md, llvm/utils/git github-automation.py

[docs] Update AI tool policy for textual communication (#243459)

Update the AI tool policy for the approved RFC:
https://discourse.llvm.org/t/rfc-forbid-ai-generated-communication/92414

The tl;dr is that PR descriptions must be human-written, and we have
stronger restrictions on LLM-generated text in other communication
channels.

I mostly tried to preserve the old text and put this into a new section.
Additionally, as the policy is getting quite long, I've added a summary
of the points that are most likely to be relevant to people. In the
interest of brevity, the summary intentionally omits the finer details,
so if someone wants to know if their use of LLM translation is allowed,
they'll just have to read the full policy.
DeltaFile
+68-14llvm/docs/AIToolPolicy.md
+1-1llvm/utils/git/github-automation.py
+69-152 files

LLVM/project 6ea48f7 — llvm/lib/Target/AArch64 AArch64Combine.td, llvm/lib/Target/AArch64/GISel AArch64PostLegalizerLowering.cpp

Revert "[AArch64][GlobalISel] Turn ANDs that keep the low bits of a vector into fmov (#243591)" (#248834)

This reverts commit d97c4a496eeaf325f5303519e747967b681c29db, which
broke check-llvm:

    FAIL: LLVM :: CodeGen/AArch64/and-keep-low-bits.ll

Commit ce6bab09e864bb4462487ebf995dd91a0dd88662 (#240841) already
rewrites the single-lane zero mask in and_v2i64_keep_low_64 into
G_INSERT_VECTOR_ELT during AArch64PostLegalizerCombiner.  That pass
runs before AArch64PostLegalizerLowering.  As a result, GlobalISel
emits:

    mov v0.d[1], xzr

The test expects:

    fmov d0, d0


    [4 lines not shown]
DeltaFile
+0-209llvm/test/CodeGen/AArch64/and-keep-low-bits.ll
+0-201llvm/test/CodeGen/AArch64/GlobalISel/postlegalizer-lowering-and-keep-low-bits.mir
+1-43llvm/lib/Target/AArch64/AArch64Combine.td
+0-27llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerLowering.cpp
+1-4804 files

OPNSense/core a3565af — src/opnsense/scripts/ipsec list_sad.py

VPN: IPsec: Security Association Database - only list entries with an SPI (#11378)
DeltaFile
+4-0src/opnsense/scripts/ipsec/list_sad.py
+4-01 files

LLVM/project 87a99c5 — llvm/lib/Target/LoongArch LoongArchISelLowering.cpp, llvm/test/CodeGen/LoongArch expandmemcmp-optsize.ll expandmemcmp.ll

address lrzlin's comments
DeltaFile
+56-160llvm/test/CodeGen/LoongArch/expandmemcmp.ll
+40-120llvm/test/CodeGen/LoongArch/expandmemcmp-optsize.ll
+8-9llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
+104-2893 files

LLVM/project 3303bac — llvm/lib/Target/LoongArch LoongArchTargetTransformInfo.cpp LoongArchISelLowering.cpp

[LoongArch] Support memcmp expansion for vectors and combine for i128/i256 setcc

This commit enables memcmp expansion for lsx/lasx. After doing
this, i128 and i256 loads which are illegal types on LoongArch
will be generated. Without process, they will be splited to
legal scalar type.

So this commit also enable combination for `setcc` to bitcast
i128/i256 types to vector types before type legalization and
generate vector instructions.

Inspired by x86 and riscv.
DeltaFile
+119-13llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
+8-3llvm/lib/Target/LoongArch/LoongArchTargetTransformInfo.cpp
+127-162 files

LLVM/project 71b1f46 — llvm/test/CodeGen/LoongArch expandmemcmp-optsize.ll expandmemcmp.ll

update tests
DeltaFile
+670-297llvm/test/CodeGen/LoongArch/expandmemcmp.ll
+612-155llvm/test/CodeGen/LoongArch/expandmemcmp-optsize.ll
+1,282-4522 files

NetBSD/pkgsrc-wip f7c36e6 — snd log Makefile, snd/patches patch-clm.c patch-audio.c

snd: remove, used for updating pkgsrc
DeltaFile
+0-485snd/PLIST
+0-59snd/options.mk
+0-43snd/patches/patch-audio.c
+0-42snd/Makefile
+0-19snd/patches/patch-clm.c
+0-9snd/log
+0-6573 files not shown
+0-6699 files

NetBSD/pkgsrc-wip 2789ac8 — snd TODO distinfo, snd/patches patch-clm.c

snd: Finish update
DeltaFile
+322-6snd/PLIST
+19-0snd/patches/patch-clm.c
+9-0snd/log
+0-1snd/TODO
+1-0snd/distinfo
+351-75 files

LLVM/project c0200bc — mlir/lib/Dialect/ArmSME/Transforms VectorLegalization.cpp, mlir/test/Dialect/ArmSME vector-legalization.mlir

[mlir][ArmSME] Legalize writes in `vector.mask` (#246947)

ArmSME legalization creates new ops inside a `vector.mask` region which
is invalid IR.

A write has no passthru, so `vector.mask { transfer_write }` is
equivalent to the mask operand.
The patterns now take the mask from the _operand_ (will be deleted via
#239511) or from the enclosing `vector.mask`, and replace the
`Xfer_write` first and then the `vector.mask`.

Part of #239511 and #240114 (item 16).
RFC:
https://discourse.llvm.org/t/rfc-unify-masking-in-the-vector-dialect/92675

This supersedes the bailouts of #246463.

---------

Signed-off-by: Federico Bruzzone <federico.bruzzone.i at gmail.com>
DeltaFile
+43-19mlir/lib/Dialect/ArmSME/Transforms/VectorLegalization.cpp
+55-3mlir/test/Dialect/ArmSME/vector-legalization.mlir
+98-222 files

LLVM/project 3f6a3c9 — llvm/test/CodeGen/LoongArch expandmemcmp-optsize.ll expandmemcmp.ll

[LoongArch][NFC] Add lsx/lasx checks for memcmp expansion tests (#167678)

Add checks for lsx/lasx and check-prefixes to reduce the duplication.
DeltaFile
+1,801-193llvm/test/CodeGen/LoongArch/expandmemcmp.ll
+1,023-197llvm/test/CodeGen/LoongArch/expandmemcmp-optsize.ll
+2,824-3902 files

LLVM/project 949ca15 — .github CODEOWNERS new-prs-labeler.yml, llvm Maintainers.md

[PISA] Add maintainers, code owners, and PR labeling (#248674)

Adds maintainers, code owners, and PR labeling configuration files for
newly added PISA target.

Please see for more details:
https://discourse.llvm.org/t/rfc-upstreaming-the-pisa-backend-to-llvm/91474
DeltaFile
+11-0llvm/Maintainers.md
+6-0.github/new-prs-labeler.yml
+4-0.github/CODEOWNERS
+21-03 files

LLVM/project 2656d88 — mlir/include/mlir/Dialect/Linalg/TransformOps LinalgTransformOps.td, mlir/include/mlir/Dialect/Linalg/Transforms Transforms.h

[mlir][linalg] Add `operands_to_pack` to `structured.pack` (#241195)

`linalg.pack` packs every operand that uses a packed iterator dimension,
so there is no way to pack only some of the operands of an op.

With this PR we add an optional list of operand numbers,
`operands_to_pack`. If it is absent, all operands are packed as before.
If it is present, only the listed operands are packed. Every other
operand is not packed: its packed dimensions are split in place into
`[outer, inner]` with a `tensor.expand_shape`, and the result for an
init is collapsed back with a `tensor.collapse_shape` - i.e., no data is
moved.

The tile sizes must be constants. The packed dimensions of an unpacked
operand may be static or dynamic. A static one must be a multiple of its
tile, otherwise the pack fails. A dynamic one cannot be checked: it is
assumed to be a multiple, which the payload must guarantee, otherwise is
UB.


    [20 lines not shown]
DeltaFile
+405-0mlir/test/Dialect/Linalg/transform-op-pack.mlir
+124-0mlir/test/Integration/Dialect/Linalg/CPU/pack-keep-layout-operands.mlir
+97-3mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
+38-2mlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td
+11-3mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
+6-2mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
+681-106 files

LLVM/project f85f2d5 — clang/test/CodeGen/AArch64 fmv-resolver-emission.c, clang/test/CodeGenCXX likely-module-local.cpp

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+30-30clang/test/OpenMP/threadprivate_codegen.cpp
+25-25clang/test/OpenMP/parallel_private_codegen.cpp
+11-2clang/test/CodeGenCXX/likely-module-local.cpp
+6-6clang/test/OpenMP/parallel_firstprivate_codegen.cpp
+6-6clang/test/CodeGen/AArch64/fmv-resolver-emission.c
+5-5clang/test/OpenMP/for_lastprivate_codegen.cpp
+83-744 files not shown
+90-8110 files

LLVM/project 8d9ac86 — clang/test/CodeGenCXX likely-module-local.cpp

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+5-3clang/test/CodeGenCXX/likely-module-local.cpp
+5-31 files

LLVM/project 665c52a — clang/test/CodeGen inline-builtin-attrs.c

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+91-13clang/test/CodeGen/inline-builtin-attrs.c
+91-131 files

LLVM/project 8173fc6 — clang/test/CodeGen strlen-inline-builtin.c inline-builtin-attrs.c

[NFC][clang][test] Rename strlen-inline-builtin.c to inline-builtin-attrs.c (#248820)

The file will also test other attributes on inline builtins.

Assisted-by: Gemini
DeltaFile
+0-25clang/test/CodeGen/strlen-inline-builtin.c
+25-0clang/test/CodeGen/inline-builtin-attrs.c
+25-252 files

OPNSense/core 2ec6d4c — src/opnsense/mvc/tests/app/models/OPNsense/Base/FieldTypes HostnameFieldTest.php

mvc: add a test case for 74c3cfe959
DeltaFile
+10-0src/opnsense/mvc/tests/app/models/OPNsense/Base/FieldTypes/HostnameFieldTest.php
+10-01 files

OPNSense/core d3585d0 — src/opnsense/mvc/app/views/OPNsense/Firewall alias.volt

Firewall: Alias: clicking an optgroup in the GeoIP selectpicker selects all countries of that region
DeltaFile
+23-2src/opnsense/mvc/app/views/OPNsense/Firewall/alias.volt
+23-21 files

NetBSD/pkgsrc vgrudeU — doc CHANGES-2026

   Updated archivers/xz, devel/jj
VersionDeltaFile
1.8672+3-1doc/CHANGES-2026
+3-11 files

OPNSense/core 74c3cfe — src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes HostnameField.php

mvc: fix HostnameField AsList validation

Prevents inheriting true from a preceding entry. Spotted by @sopex
during review of https://github.com/opnsense/core/pull/11365
DeltaFile
+1-1src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes/HostnameField.php
+1-11 files

NetBSD/pkgsrc bBMlXUe — devel/jj Makefile cargo-depends.mk

   jj: updated to 0.48.0

   0.48.0

   Release highlights

   * `jj bookmark set` and `jj bookmark move` now always move bookmarks backwards
     or sideways. The `--allow-backwards` flag for `jj bookmark set` and `jj
     bookmark move` is now a no-op.

   * The graph lines in `jj log`, `jj evolog`, `jj op log`, `jj op show`, and
     `jj op diff` can now be colored. Each line uses one of the labels
     `graph line0` to `graph line11`, and keeps its label when it moves to another
     column. The labels have no color by default. Set them in the `[colors]` table
     to turn the colors on. Node symbols also receive the `graph` and line labels.

   Breaking changes

   * `jj bookmark set` and `jj bookmark move` now move bookmarks backwards or

    [110 lines not shown]
VersionDeltaFile
1.43+214-205devel/jj/distinfo
1.41+70-67devel/jj/cargo-depends.mk
1.48+2-2devel/jj/Makefile
+286-2743 files

Illumos/gate b791992 — usr/src/tools/smatch/src smatch_helper.c smatch_math.c

18822 smatch: __builtin_bswap*() is not a no-op
Reviewed by: Bill Sommerfeld <sommerfeld at hamachi.org>
Approved by: Dan McDonald <danmcd at oxide.computer>
DeltaFile
+52-3usr/src/tools/smatch/src/smatch_math.c
+6-4usr/src/tools/smatch/src/smatch_helper.c
+58-72 files

LLVM/project 5c29d68 — llvm/lib/Target/LoongArch LoongArchTargetMachine.cpp LoongArch.td, llvm/test/CodeGen/LoongArch opt-pipeline.ll selectopt-heap-down.ll

[LoongArch] Enable SelectOptimize for LA464 and LA664 (#233466)

Enable SelectOptimize for LA464/LA664 under O3 by default, which will
convert select or select-like instructions, e.g. `or(zext(icmp))`, back
to branch for better use the CPU's speculative execution. See
https://github.com/llvm/llvm-project/pull/77284 and
[D138990](https://reviews.llvm.org/D138990) for more detailed
explaination.

The up-coming [LoongArch sched-model
PR](https://github.com/llvm/llvm-project/pull/226064) has introduced
`MispredictPenalty = 14` for LA464 and LA664, which will have some
impact on the heuristic algorithm of this pass, but I didn't see any
changes in SPEC CPU2006.

Here are the SPEC CPU2006 results, running on Loongson 3B6000, with
`-mtune=la664 -O3 -mlsx -fuse-ld=lld`. Only benchmarks which codes
changed after the pass are listed:


    [31 lines not shown]
DeltaFile
+958-0llvm/test/CodeGen/LoongArch/selectopt.ll
+114-0llvm/test/CodeGen/LoongArch/selectopt-heap-down.ll
+21-0llvm/lib/Target/LoongArch/LoongArchTargetTransformInfo.cpp
+12-2llvm/test/CodeGen/LoongArch/opt-pipeline.ll
+9-2llvm/lib/Target/LoongArch/LoongArch.td
+8-0llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp
+1,122-41 files not shown
+1,128-47 files

OPNSense/core 45eb789 — src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api AliasController.php, src/opnsense/mvc/app/views/OPNsense/Firewall alias.volt

Firewall: Aliases: Use a scoped setter for GeoIP settings (PR: https://forum.opnsense.org/index.php?topic=53255.0) (#11386)
DeltaFile
+18-0src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/AliasController.php
+1-1src/opnsense/mvc/app/views/OPNsense/Firewall/alias.volt
+19-12 files

NetBSD/pkgsrc fW4yLLb — archivers/xz Makefile distinfo, archivers/xz/patches patch-src_xz_Makefile.in

   xz: updated to 5.8.5

   5.8.5 (2026-12-03)

   IMPORTANT: This includes security fixes. These and a few other fixes
   have also been committed to the old stable branches (v5.2, v5.4, and
   v5.6) in the xz Git repository. Those fixes are marked below. No new
   5.2.x, 5.4.x, or 5.6.x releases will be made.

   * liblzma:

       - Fix a data corruption bug in the LZMA2 encoder. The issue was
         found via code analysis; no one has reported actual data
         corruption. Creating a test file to trigger this bug isn't
         straightforward, and at the time of this release, no such
         files are known.

         If the bug is triggered in a debug build, an assertion will
         fail. In non-debug builds, a corrupt file is created. It

    [168 lines not shown]
VersionDeltaFile
1.24+71-1archivers/xz/PLIST
1.3+7-7archivers/xz/patches/patch-src_xz_Makefile.in
1.45+5-5archivers/xz/distinfo
1.59+2-2archivers/xz/Makefile
+85-154 files