LLVM/project d53f126 — mlir/test/lib/Dialect/Test TestOpsSyntax.td, mlir/test/mlir-tblgen op-registration.td op-partitions.td

[mlir][ODS] Register the operations of a dialect by default

Dialects registered their ODS operations by expanding `GET_OP_LIST` into
`addOperations` in `initialize`, while sharded and partitioned dialects
had to call the generated `register<Dialect>Operations` themselves.
This was not only an inconsistent interface but also boilerplate for every dialect definition.

Like attributes and types do since https://github.com/llvm/llvm-project/pull/243481, operations are now only registered by a generated
`register<Dialect>Operations` hook that the generated dialect
constructor calls, for all generated files whether sharded, partitioned
or neither (i.e., we are consistent again!).

Contrary to attributes and types, this is the default, as
almost every dialect defines operations in ODS. Dialects without
operations, or that register them manually, set
`useDefaultOperationRegistration` to 0. `-op-registration-name` names the
hooks of dialects whose operations are generated from several files.
Dialects whose `initialize` would now be empty can set `hasInitializer`
to 0 instead of defining an empty one.

    [9 lines not shown]
DeltaFile
+96-149mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
+91-89mlir/test/lib/Dialect/Test/TestOpsSyntax.td
+22-103mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
+109-16mlir/tools/mlir-tblgen/DialectGen.cpp
+38-19mlir/test/mlir-tblgen/op-partitions.td
+55-0mlir/test/mlir-tblgen/op-registration.td
+411-376118 files not shown
+765-851124 files

LLVM/project 8e8d71a — mlir/tools/mlir-tblgen OpGenHelpers.cpp OpGenHelpers.h

address review comments
DeltaFile
+11-7mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
+4-3mlir/tools/mlir-tblgen/OpGenHelpers.h
+3-1mlir/tools/mlir-tblgen/OpGenHelpers.cpp
+18-113 files

LLVM/project 39391d9 — mlir/test/lib/Dialect/Test TestAttributesSyntax.cpp TestAttributesCore.cpp, mlir/tools/mlir-tblgen AttrOrTypeDefGen.cpp

[mlir][ODS] Add partitions for attributes and types (#241935)

Allow attributes and types to be grouped into named partitions, like
ops. Each def can set `partition` to a `Partition` record. Passing
`-attrdefs-partition=<name>` or `-typedefs-partition=<name>` to the
attrdef/typedef decls and defs generators then emits only the defs of
that partition. A large dialect can thus split its attributes and types
over several compilation units with narrower headers.

The implementation mirrors the approach used in op partitioning with a
`register<DialectClass>Attributes` function (or Types) is used to
register every attribute (or type) of the dialect and dispatches to
partition specific functions.
The `generated{Parser,Printer}` function saw the biggest change. It is
now generated as
`generated<DialectClass>{Attribute,Type}{Parser,Printer}` which is a
method with public linkage. This method is also generated for
non-partitioned dialects and the old `generated{Parser,Printer}`
function soft-deprecated (but for now retained for migration purposes).

    [14 lines not shown]
DeltaFile
+0-645mlir/test/lib/Dialect/Test/TestTypes.cpp
+0-610mlir/test/lib/Dialect/Test/TestAttributes.cpp
+501-0mlir/test/lib/Dialect/Test/TestTypesCore.cpp
+336-74mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
+374-0mlir/test/lib/Dialect/Test/TestAttributesCore.cpp
+260-0mlir/test/lib/Dialect/Test/TestAttributesSyntax.cpp
+1,471-1,32949 files not shown
+2,469-1,73255 files

LLVM/project 9095cea — llvm/lib/Target/AMDGPU SIInstrInfo.h AMDGPUAsmPrinter.cpp, llvm/test/CodeGen/AMDGPU vgpr-lowering-gfx1250.mir inline-mem-constraints.ll

Revert "Reapply "[AMDGPU] Support the RF and m inline asm constraints (#195123)" (#241996)" (#245558)

This reverts commit 510874d1f795996f948a21ee1820acfd5fbec63c.

EXPENSIVE_CHECKS builds were failing several AMDGPU CodeGen tests with
"Bad machine code: inlineasm operand has incorrect register class."
DeltaFile
+0-295llvm/test/CodeGen/AMDGPU/inline-mem-constraints.ll
+0-27llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
+0-12llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+0-10llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
+1-8llvm/lib/Target/AMDGPU/SIInstrInfo.h
+4-4llvm/test/CodeGen/AMDGPU/vgpr-lowering-gfx1250.mir
+5-3569 files not shown
+10-38115 files

LLVM/project ce0ecac — clang/test/OpenMP atomic_compare_codegen.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.av.store.b128.ll llvm.amdgcn.av.load.b128.ll

Merge branch 'main' into users/gandhi56/globalisel/amdgpu-ignore-copies
DeltaFile
+440-1,358clang/test/OpenMP/atomic_compare_codegen.cpp
+745-0llvm/test/CodeGen/AMDGPU/memory-legalizer-atomic-nontemporal.ll
+390-1llvm/test/CodeGen/AMDGPU/llvm.amdgcn.av.load.b128.ll
+358-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.av.store.b128.ll
+210-131llvm/test/tools/llvm-objcopy/MachO/add-multiple-sections.test
+130-173llvm/test/CodeGen/AMDGPU/GlobalISel/divergence-structurizer.mir
+2,273-1,663107 files not shown
+5,955-3,234113 files

LLVM/project c4e73e3 — llvm/docs AMDGPUUsage.md AMDGPUMemoryModel.md, llvm/lib/Target/AMDGPU SIMemoryLegalizer.cpp

[AMDGPU] Honor !nontemporal on atomic load/store and AV ops intrinsics. (#234494)

LangRef currently states that !nontemporal "does not have any defined
semantics" for atomic load and store, and the AMDGPU backend follows
that. The hint is silently dropped on load atomic / store atomic and
similarly for AV ops which are lowered as monotonic atomics.
Atomicity and temporality are two orthogonal components, where atomics
atomicity is correctness property and !nontemporal is a performance
hint. Neither affects the other, and the hardware encodes them as
separate fields.
This patch sets the target's nontemporal cache-policy bits on atomic
loads and stores, in addition to the bits selected by the syncscope.

Fixes: LCOMPILER-2932
DeltaFile
+745-0llvm/test/CodeGen/AMDGPU/memory-legalizer-atomic-nontemporal.ll
+390-1llvm/test/CodeGen/AMDGPU/llvm.amdgcn.av.load.b128.ll
+358-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.av.store.b128.ll
+18-0llvm/docs/AMDGPUMemoryModel.md
+10-0llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
+7-0llvm/docs/AMDGPUUsage.md
+1,528-11 files not shown
+1,529-17 files

LLVM/project c6c2833 — llvm/lib/Transforms/Vectorize LoopVectorize.cpp, llvm/test/Transforms/LoopVectorize fractional_cost_prevents_interleave.ll

[LV] Keep costs in InstructionCost form as long as possible (#245275)

There are a few places in LoopVectorize.cpp where we call
InstructionCost::getValue() too early and in doing so lose precision. We
should be minimising calls to getValue() where possible and doing as
much arithmetic as we can using the InstructionCost class itself.

I have deliberately left isOutsideLoopWorkProfitable alone in this PR
since it's more complicated, but would like to handle in a follow-on PR.
DeltaFile
+85-0llvm/test/Transforms/LoopVectorize/fractional_cost_prevents_interleave.ll
+5-6llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+90-62 files

LLVM/project a3419ec — clang/lib/CodeGen CGStmtOpenMP.cpp, clang/test/OpenMP atomic_no_flush_codegen.c atomic_compare_codegen.cpp

[OpenMP] Don't emit explicit flushes for atomic constructs (#245222)

Clang and the OpenMPIRBuilder followed every atomic construct that has a
memory ordering other than relaxed with a call to `__kmpc_flush`, which
is a full memory barrier. However the LLVM LangRef specifies that an
atomic operation itself can provide the ordering "rather than an
explicit fence", so this isn't actually necessary.

It seems the calls are emitted based on a reading of the spec describing
*implied* flushes to mean that flushes should be literally emitted; an
alternative reading (here) is that the flushes are implied by the atomic
operation itself. See e.g. OpenMP 6.0 "17.8.5 atomic Construct" or
equivalent passages in 5.0 through 5.2. The flushes in question are the
"with a list" type for seq_cst, i.e. relating only to the memory
locations used in the atomic. For acquire/release atomics,
synchronization happens through the atomic's variable.

The `__kmpc_flush` call was also only emitted after the atomic
operation, so in some cases we're *already* relying on the ordering

    [28 lines not shown]
DeltaFile
+440-1,358clang/test/OpenMP/atomic_compare_codegen.cpp
+22-88clang/lib/CodeGen/CGStmtOpenMP.cpp
+86-0clang/test/OpenMP/atomic_no_flush_codegen.c
+0-67llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+15-15mlir/test/Target/LLVMIR/openmp-llvm.mlir
+10-10flang/test/Integration/OpenMP/atomic-compare.f90
+573-1,53811 files not shown
+631-1,59617 files

LLVM/project 08d2113 — llvm/lib/AsmParser LLParser.cpp

clang-format
DeltaFile
+1-2llvm/lib/AsmParser/LLParser.cpp
+1-21 files

LLVM/project 7394ab0 — llvm/test/CodeGen/AMDGPU sgpr-scavenge-fi-stack-id.ll wave32.ll, llvm/test/CodeGen/AMDGPU/GlobalISel divergence-divergent-i1-used-outside-loop.ll divergence-divergent-i1-used-outside-loop.mir

[AMDGPU] Ignore edges from the def block in PhiIncomingAnalysis (#232297)

PhiIncomingAnalysis inserts the def block into the set of reachable
blocks so that it acts as an end point for the traversal, but it also
counted it as a reachable predecessor when deciding whether an incoming
block is a source. An edge from the def block to an incoming block
starts a new trip around a loop through the def block, so it does not
mean that some lanes may have taken their value from an earlier incoming
block.

This affects lane mask phis in loops where the header has a divergent
branch to the latch: the header phi merged the value from the latch, and
the latch phi merged the value from the header, even though EXEC is the
same at the end of the header and at the end of the latch, so the merged
bits could only belong to lanes that had already left the loop.

This relies on the incoming block's terminator not enabling any lanes
that were inactive in the block. The only terminator that could do that
is SI_ELSE, and a structurized CFG never puts an SI_ELSE block in a cycle

    [2 lines not shown]
DeltaFile
+130-173llvm/test/CodeGen/AMDGPU/GlobalISel/divergence-structurizer.mir
+108-150llvm/test/CodeGen/AMDGPU/GlobalISel/divergence-divergent-i1-used-outside-loop.mir
+182-0llvm/test/CodeGen/AMDGPU/si-lower-i1-copies-loop-phis.mir
+54-68llvm/test/CodeGen/AMDGPU/wave32.ll
+43-56llvm/test/CodeGen/AMDGPU/sgpr-scavenge-fi-stack-id.ll
+27-46llvm/test/CodeGen/AMDGPU/GlobalISel/divergence-divergent-i1-used-outside-loop.ll
+544-49320 files not shown
+805-82726 files

LLVM/project 048c8b2 — mlir/include/mlir/Dialect/Vector/TransformOps VectorTransformOps.td, mlir/include/mlir/Dialect/Vector/Transforms LoweringPatterns.h

[MLIR][Vector] Lower fixed two-stream transposes to interleave ops (#237937)

Lower fixed-size rank-2 `vector.transpose` operations with a dimension
of size two to fixed-size `vector.interleave` or `vector.deinterleave`
operations. This keeps the lowering entirely VLS: it introduces no
scalable vectors, `vscale`, runtime loops, masks, or scratch buffers.

Preserving the transpose as structured vector operations avoids
elementwise expansion. For `vector<64x2xf32>`, this eliminates 128
`extractelement` and 128 `insertelement` operations. In an end-to-end
load–transpose–store benchmark on Neoverse N2, the generated assembly
decreased from 78 to 54 instructions, stack usage from 128 to 64 bytes,
compilation improved by 10.9× in MLIR and 2.1× in `llc`

The transformation remains opt-in because profitability depends on the
shape and target. It is exposed through the Transform dialect and tested
in both transpose directions, including unsupported and scalable-vector
cases.

Assisted by: GPT-5.6 Sol
DeltaFile
+73-0mlir/lib/Dialect/Vector/Transforms/LowerVectorTranspose.cpp
+71-0mlir/test/Dialect/Vector/vector-transpose-interleave-lowering.mlir
+11-0mlir/include/mlir/Dialect/Vector/TransformOps/VectorTransformOps.td
+10-0mlir/include/mlir/Dialect/Vector/Transforms/LoweringPatterns.h
+5-0mlir/lib/Dialect/Vector/TransformOps/VectorTransformOps.cpp
+3-0mlir/test/python/dialects/transform_vector_ext.py
+173-06 files

LLVM/project b9f4384 — llvm/include/llvm/Analysis LazyValueInfo.h, llvm/lib/Analysis LazyValueInfo.cpp

[LVI][CVP] Consider pointer provenance when pointer equality is assumed (#239218)

Similarly to what GVN and SCCP already account for, make sure pointer
substitutions pass through canReplacePointersIfEqual(), subject to its
approximations. When LVI derives a pointer constant from an equality
predicate, such a constant may have different or non-existent pointer
provenance than the original value, and may therefore not be freely
substituted for it.

Fixes: https://github.com/llvm/llvm-project/issues/163144.
DeltaFile
+42-24llvm/lib/Analysis/LazyValueInfo.cpp
+53-0llvm/test/Transforms/CorrelatedValuePropagation/phi-common-val.ll
+27-14llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
+8-8llvm/test/Transforms/CorrelatedValuePropagation/assume-equality-pointers.ll
+10-6llvm/lib/Transforms/Scalar/JumpThreading.cpp
+8-3llvm/include/llvm/Analysis/LazyValueInfo.h
+148-551 files not shown
+152-587 files

LLVM/project 3c0f02c — llvm/lib/AsmParser LLParser.cpp

Always add forward-reference tracking
DeltaFile
+4-7llvm/lib/AsmParser/LLParser.cpp
+4-71 files

LLVM/project f877909 — mlir/tools/mlir-tblgen OpGenHelpers.cpp OpGenHelpers.h

address review comments
DeltaFile
+11-7mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
+4-3mlir/tools/mlir-tblgen/OpGenHelpers.h
+3-1mlir/tools/mlir-tblgen/OpGenHelpers.cpp
+18-113 files

LLVM/project 3657ebb — mlir/include/mlir/Interfaces VectorInterfaces.td, mlir/lib/Dialect/Vector/Transforms VectorUnroll.cpp

[mlir][vector] Add `getUnrollOrder` to `VectorUnrollOpInterface` (#243527)

In essence, the unrolling order depends on the underlying Op, so it is
natural to add `getUnrollOrder` to `VectorUnrollOpInterface`. This
change helps us unify unrolling patterns in `VectorUnroll.cpp`.

In addition, `UnrollVectorOptions` gains two new fields:
  1) `bool reverseDefaultTraversalOrder = false;`
  2) `SmallVector<int64_t> unrollOrderForContractOp`

The first one is self-explanatory. The second one is currently driven by
the test pipeline option, e.g.:
* `-test-vector-unrolling-patterns="unroll-based-on-type
unroll-order=2,0,1"`

The provided unrolling order is only used when unrolling ContractionOp,
hence `unrollOrderForContractOp` rather than some more generic name. It
effectively replaces `traversalOrderCallback`, which was mostly used in
TestVectorTransforms.cpp (the remaining user in `GPUTransformOps.cpp`

    [16 lines not shown]
DeltaFile
+209-0mlir/test/Dialect/Vector/vector-unroll-contract.mlir
+1-183mlir/test/Dialect/Vector/vector-unroll-options.mlir
+8-94mlir/test/lib/Dialect/Vector/TestVectorTransforms.cpp
+14-22mlir/lib/Dialect/Vector/Transforms/VectorUnroll.cpp
+20-0mlir/include/mlir/Interfaces/VectorInterfaces.td
+17-0mlir/test/Dialect/Vector/vector-unroll-contract-batched.mlir
+269-2991 files not shown
+277-2997 files

LLVM/project 318a5c4 — clang/test/CodeGenOpenCL fpmath.cl

Update for comments
DeltaFile
+0-1clang/test/CodeGenOpenCL/fpmath.cl
+0-11 files

LLVM/project 7c767a2 — llvm/lib/Transforms/Utils RelLookupTableConverter.cpp, llvm/test/Transforms/RelLookupTableConverter/X86 relative_lookup_table.ll

[RelLookupTableConverter] Add support for multiple uses (#244625)

This adds support for uses of the lookup table in multiple gep+load
pairs (including in different functions), as long as *all* of them can
be converted.

I've factored out the use analysis logic to make it easier to extend
this to support uses through phis/selects in the future.
DeltaFile
+111-73llvm/lib/Transforms/Utils/RelLookupTableConverter.cpp
+116-0llvm/test/Transforms/RelLookupTableConverter/X86/relative_lookup_table.ll
+227-732 files

LLVM/project ec0d20b — mlir/test/lib/Dialect/Test TestOpsSyntax.td, mlir/test/mlir-tblgen op-registration.td op-partitions.td

[mlir][ODS] Register the operations of a dialect by default

Dialects registered their ODS operations by expanding `GET_OP_LIST` into
`addOperations` in `initialize`, while sharded and partitioned dialects
had to call the generated `register<Dialect>Operations` themselves.
This was not only an inconsistent interface but also boilerplate for every dialect definition.

Like attributes and types do since https://github.com/llvm/llvm-project/pull/243481, operations are now only registered by a generated
`register<Dialect>Operations` hook that the generated dialect
constructor calls, for all generated files whether sharded, partitioned
or neither (i.e., we are consistent again!).

Contrary to attributes and types, this is the default, as
almost every dialect defines operations in ODS. Dialects without
operations, or that register them manually, set
`useDefaultOperationRegistration` to 0. `-op-registration-name` names the
hooks of dialects whose operations are generated from several files.
Dialects whose `initialize` would now be empty can set `hasInitializer`
to 0 instead of defining an empty one.

    [9 lines not shown]
DeltaFile
+96-149mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
+91-89mlir/test/lib/Dialect/Test/TestOpsSyntax.td
+22-103mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
+109-16mlir/tools/mlir-tblgen/DialectGen.cpp
+38-19mlir/test/mlir-tblgen/op-partitions.td
+55-0mlir/test/mlir-tblgen/op-registration.td
+411-376118 files not shown
+765-851124 files

LLVM/project 0c7ebff — mlir/docs/DefiningDialects AttributesAndTypes.md, mlir/test/lib/Dialect/Test TestOps.td TestAttrDefs.td

rebase
DeltaFile
+36-34mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
+13-16mlir/test/lib/Dialect/Test/TestAttrDefs.td
+11-12mlir/test/lib/Dialect/Test/TestOps.td
+7-6mlir/test/mlir-tblgen/attr-type-partitions.td
+4-2mlir/docs/DefiningDialects/AttributesAndTypes.md
+71-705 files

LLVM/project 2020d7d — mlir/test/mlir-tblgen attr-type-partitions.td, mlir/tools/mlir-tblgen AttrOrTypeDefGen.cpp

Emit partition functions in the dialect namespace like ops

Co-authored-by: Claude <noreply at anthropic.com>
DeltaFile
+12-17mlir/test/mlir-tblgen/attr-type-partitions.td
+9-14mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
+21-312 files

LLVM/project b928ac7 — mlir/docs/DefiningDialects AttributesAndTypes.md, mlir/include/mlir/IR AttrTypeBase.td

Address review comments

Co-authored-by: Claude <noreply at anthropic.com>
DeltaFile
+17-14mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
+5-5mlir/test/mlir-tblgen/attr-type-partitions.td
+4-4mlir/test/mlir-tblgen/attr-type-partitions-error.td
+4-4mlir/test/lib/Dialect/Test/CMakeLists.txt
+2-2mlir/include/mlir/IR/AttrTypeBase.td
+1-1mlir/docs/DefiningDialects/AttributesAndTypes.md
+33-306 files

LLVM/project aeadb78 — mlir/docs/DefiningDialects AttributesAndTypes.md

remove useless docs
DeltaFile
+0-12mlir/docs/DefiningDialects/AttributesAndTypes.md
+0-121 files

LLVM/project 0eab853 — mlir/test/lib/Dialect/Test TestAttributesSyntax.cpp TestAttributesCore.cpp, mlir/tools/mlir-tblgen AttrOrTypeDefGen.cpp

[mlir][ODS] Add partitions for attributes and types

Allow attributes and types to be grouped into named partitions, like
ops. Each def can set `partition` to a `Partition` record. Passing
`-attrdefs-partition=<name>` or `-typedefs-partition=<name>` to the
attrdef/typedef decls and defs generators then emits only the defs of
that partition. A large dialect can thus split its attributes and types
over several compilation units with narrower headers.

The implementation mirrors the approach used in op partitioning
with a `register<DialectClass>Attributes` function (or Types) is used to register every attribute (or type) of the dialect and dispatches to partition specific functions.
The `generated{Parser,Printer}` function saw the biggest change.
It is not generated as `generated<DialectClass>{Attribute,Type}{Parser,Printer}` which is a method with public linkage.
This method is also generated for non-partitioned dialects and the old `generated{Parser,Printer}` function soft-deprecated (but for now retained for migration purposes).

The additional testing, the test dialect's attributes and types are split into the
partitions `Core` and `Syntax`.
This roughly halves the compile time (15.1s -> 6.7s + 6.9s) and peak memory (721 MiB -> 385 and
376 MiB) of the largest test dialect attribute compilation unit.

    [2 lines not shown]
DeltaFile
+0-645mlir/test/lib/Dialect/Test/TestTypes.cpp
+0-610mlir/test/lib/Dialect/Test/TestAttributes.cpp
+501-0mlir/test/lib/Dialect/Test/TestTypesCore.cpp
+330-68mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
+374-0mlir/test/lib/Dialect/Test/TestAttributesCore.cpp
+260-0mlir/test/lib/Dialect/Test/TestAttributesSyntax.cpp
+1,465-1,32348 files not shown
+2,458-1,70754 files

LLVM/project 8a29d3d — llvm/include/llvm/Support FormatVariadic.h, mlir/tools/mlir-tblgen AttrOrTypeDefGen.cpp

add `StringLiteral` overload to `formatv`
DeltaFile
+4-4mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
+4-0llvm/include/llvm/Support/FormatVariadic.h
+8-42 files

LLVM/project 233ea5c — mlir/lib/Dialect/Linalg/TransformOps LinalgTransformOps.cpp, mlir/test/Dialect/Linalg transform-ops.mlir tile-to-forall-scalable-failures.mlir

[mlir] Fix scalable index handling and support scalable forall tiling (#235596)

Fixes https://github.com/llvm/llvm-project/issues/150203.

`tile_using_forall` accepts `tile_sizes [[8], 1]`, but the parser drops
the scalable flag and prints it back as `[8, 1]`. At `vscale = 2`, this
requests a tile size of 8 instead of 16. The bug changes the requested
tiling even when numerical results remain correct.

Preserve the flags in `scalable_sizes` and use the SCF tile-size
callback to materialize each nonzero scalable factor times
`vector.vscale`, after checking the target's tiling interface and tensor
semantics. Materialization happens separately for each payload target to
preserve SSA dominance across functions. Zero sizes remain untiled, and
omitted flags retain fixed-size behavior.

Parser overloads that cannot return scalable flags now diagnose scalable
indices instead of discarding them. Previously accepted markers in SCF
bounds and pack/unpack inner tiles are now rejected intentionally.

    [28 lines not shown]
DeltaFile
+198-0mlir/test/Dialect/Linalg/tile-to-forall-scalable.mlir
+76-0mlir/test/Dialect/Linalg/transform-ops-invalid.mlir
+71-0mlir/test/Dialect/Linalg/tile-to-forall-scalable-failures.mlir
+41-6mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
+36-0mlir/test/Dialect/SCF/invalid.mlir
+33-0mlir/test/Dialect/Linalg/transform-ops.mlir
+455-68 files not shown
+587-3314 files

LLVM/project 7ab57b4 — bolt/lib/Core BinaryContext.cpp, bolt/test/AArch64 dwarf5-mismatched-cu-attributes.s dwarf5-duplicate-file-names.s

[BOLT][DWARF] Do not modify file name entries in CU line tables (#241862)

When rewriting a compile unit's line table, we should make sure that we
don't modify the file name list. In turn, this means that BOLT doesn't
have to update `DW_AT_decl_file` and `DW_AT_call_file` values when
rewriting debug info, as the same index should be used in both the input
and the output.

For this, we explicitly require that the same index is assigned to the
file name entries in the output table as in the input by passing a
non-zero index to `BinaryContext::getDwarfFile`.

Additionally, DWARF 5 requires that a compile unit's `DW_AT_comp_dir`
and `DW_AT_name` attributes match the corresponding directory and file
name entries in the CU's associated line table. However, input files may
not always have correct DWARF debug info.

Instead of relying on the inputs being correct, we should use the file
name from the input line table as the correct value so that we don't

    [3 lines not shown]
DeltaFile
+189-0bolt/test/AArch64/dwarf5-duplicate-file-names.s
+182-0bolt/test/AArch64/dwarf5-mismatched-cu-attributes.s
+46-11bolt/lib/Core/BinaryContext.cpp
+1-1bolt/test/X86/dwarf5-split-dwarf4-monolithic.test
+418-124 files

LLVM/project 4564c4b — llvm/include/llvm/CodeGen TargetLowering.h, llvm/test/CodeGen/X86 inline-asm-callbase.ll asm-constraints-rm-i686.ll

Fix nits in the tests and MayFoldRegister's doc

MayFoldRegister's doc didn't name the operands it leaves out. In the tests,
the FastISel RUN lines in inline-asm-callbase.ll gave the same output as the
SelectionDAG ones, asm-constraints-rm-i686.ll had an unused CHECK prefix, and
the torture test's early-clobber cases had the "=m" cases' labels. The
pressure test scrubbed the stack offsets that show two operands sharing a
slot, and it didn't print the tied inputs, which show each tie keeping its
output's location.

Assisted-by: Claude Opus 5.5
DeltaFile
+124-123llvm/test/CodeGen/X86/asm-constraints-rm-pressure.ll
+10-10llvm/test/CodeGen/X86/asm-constraints-torture.ll
+7-5llvm/include/llvm/CodeGen/TargetLowering.h
+2-4llvm/test/CodeGen/X86/asm-constraints-rm-i686.ll
+0-4llvm/test/CodeGen/X86/inline-asm-callbase.ll
+143-1465 files

LLVM/project abfe920 — llvm/include/llvm/CodeGen TargetInstrInfo.h, llvm/test/CodeGen/AArch64 inline-asm-direct-mem-output-error.ll

Merge branch 'users/void/asm-rm-4-regallocfast-fold' into users/void/asm-rm-5-prefer-reg
DeltaFile
+36-23llvm/test/CodeGen/X86/inline-asm-direct-mem-output-error.ll
+14-30llvm/test/CodeGen/X86/regallocfast-inline-asm-fold.mir
+32-0llvm/test/CodeGen/X86/regallocfast-inline-asm-fold-debug-instr-number.mir
+16-11llvm/test/CodeGen/X86/peephole-inline-asm-fold.mir
+13-8llvm/test/CodeGen/AArch64/inline-asm-direct-mem-output-error.ll
+3-2llvm/include/llvm/CodeGen/TargetInstrInfo.h
+114-741 files not shown
+115-747 files

LLVM/project a14fe3f — llvm/test/CodeGen/X86 regallocfast-inline-asm-fold-debug-instr-number.mir regallocfast-inline-asm-fold.mir

Generate the checks for the tied fold tests

update_mir_test_checks.py can't check debugValueSubstitutions, so
debug_instr_number moves to its own test, which keeps its hand-written
checks, and the tied tests' checks are generated.

Assisted-by: Claude Opus 5.5
DeltaFile
+14-30llvm/test/CodeGen/X86/regallocfast-inline-asm-fold.mir
+32-0llvm/test/CodeGen/X86/regallocfast-inline-asm-fold-debug-instr-number.mir
+46-302 files

LLVM/project 9dfb3d4 — llvm/test/CodeGen/AArch64 inline-asm-direct-mem-output-error.ll, llvm/test/CodeGen/X86 inline-asm-direct-mem-output-error.ll

Give each asm in the error tests its own srcloc

Several functions report the same error, so their CHECK lines were
identical, and a change in which of them errors would go unnoticed. With a
!srcloc, each error names its asm's line.

Assisted-by: Claude Opus 5.5
DeltaFile
+37-24llvm/test/CodeGen/X86/inline-asm-direct-mem-output-error.ll
+13-8llvm/test/CodeGen/AArch64/inline-asm-direct-mem-output-error.ll
+50-322 files