LLVM/project efb184e — clang/lib/Driver/ToolChains/Arch AArch64.cpp, clang/test/Driver aarch64-mtune-apple-macos.c

[Clang][AArch64] Set macOS default tune-cpu to apple-m6 (#243434)
DeltaFile
+1-1clang/test/Driver/aarch64-mtune-apple-macos.c
+1-1clang/lib/Driver/ToolChains/Arch/AArch64.cpp
+2-22 files

LLVM/project e5b98e0 — clang/include/clang/CIR/Dialect Passes.td, clang/lib/CIR/Dialect/IR CIRDialect.cpp

[CIR] Make cir-canonicalize a full canonicalizer

cir-canonicalize applied the CIR canonicalization patterns and folders
only to a hand-written list of operations. It now builds the pattern set
once in initialize() and runs the greedy driver over every operation, so
every pattern and folder applies everywhere. Only operations that
rewriting left dead are erased, such as the inputs of a folded
operation: CIR stays close to the source, so unused locals and ignored
expressions are kept as in classic codegen. Empty scopes and switches
were removed only because they were dead, so they get explicit
canonicalization patterns.

The pass uses the multi-op driver because the region driver always
erases blocks without a CFG predecessor, and a block that starts with
cir.label is reached only through cir.goto until the goto solver runs.
Region simplification stays off for the same reason. The new
test-convergence option fails the pass when the driver does not reach a
fixpoint, as in the upstream canonicalizer.

Assisted-by: Claude Code (claude-opus-5-5).
DeltaFile
+52-58clang/lib/CIR/Dialect/Transforms/CIRCanonicalize.cpp
+32-24clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+51-0clang/test/CIR/Transforms/canonicalize-dead-code.cir
+8-8clang/test/CIR/CodeGen/fold-during-cg.c
+10-2clang/include/clang/CIR/Dialect/Passes.td
+9-1clang/test/CIR/CodeGen/vla.c
+162-9314 files not shown
+202-9620 files

LLVM/project fcf5e62 — mlir/include/mlir/Transforms Passes.td GreedyPatternRewriteDriver.h, mlir/lib/Interfaces SideEffectInterfaces.cpp

[mlir] Add a dead code elimination mode to the greedy rewriter

The greedy pattern rewrite driver always erases trivially dead
operations, so a client that wants canonicalization patterns and
folders without dead code elimination has no way to get it. Add
GreedyRewriteConfig::setDeadCodeElimination and the matching
dead-code-elimination option of the canonicalizer pass, with three
modes:

- all, the default, erases every trivially dead operation as before.
- newly-dead keeps the operations whose results are unused when
  rewriting starts and erases any other operation once it is dead, so
  what a fold or pattern leaves unused goes away.
- disabled erases an operation only by a pattern or by folding.

Region simplification is separate and still removes dead values unless
it is disabled too. The deadness cache skips invalidation while it is
empty, so a run that never queries it pays nothing for its tracking.

Assisted-by: Claude Code (claude-opus-5-5).
DeltaFile
+49-0mlir/test/Transforms/canonicalize-dead-code-elimination.mlir
+36-1mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp
+27-0mlir/include/mlir/Transforms/GreedyPatternRewriteDriver.h
+14-0mlir/include/mlir/Transforms/Passes.td
+6-0mlir/lib/Interfaces/SideEffectInterfaces.cpp
+2-0mlir/lib/Transforms/Canonicalizer.cpp
+134-13 files not shown
+137-49 files

LLVM/project 509cf57 — flang/lib/Semantics resolve-directives.cpp, libc/test/src/wchar swprintf_test.cpp

Merge branch 'main' into users/mrsidims/aarch64-narrow-two-source-shuffle-tests
DeltaFile
+2,239-2,237llvm/test/tools/llvm-mca/AArch64/Cortex/A53-neon-instructions.s
+3,137-5libc/test/src/wchar/swprintf_test.cpp
+1,538-1,476llvm/test/CodeGen/X86/clmul-vector.ll
+1,495-1,493llvm/test/tools/llvm-mca/AArch64/Cortex/A53-basic-instructions.s
+1,434-1,362flang/lib/Semantics/resolve-directives.cpp
+2,496-0offload/libomptarget/src/omptarget.cpp
+12,339-6,5732,670 files not shown
+100,565-55,2642,676 files

LLVM/project 7ccedd6 — llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp

Inline nneg flag
DeltaFile
+3-5llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+3-51 files

LLVM/project dd4917e — llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/test/CodeGen/X86 avx512fp16-int-to-fp-trunc.ll combine-uitofp.ll

[DAGCombiner] Mark uint_to_fp widened through trunc nuw as nneg

The source of a trunc nuw fits in a strictly narrower type, so it is
non-negative. Without nneg x86 lowers the widened conversion through the
unsigned i64 expansion.

Assisted-by: Claude Code Opus 5.5
DeltaFile
+12-74llvm/test/CodeGen/X86/combine-uitofp.ll
+6-3llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+1-1llvm/test/CodeGen/X86/avx512fp16-int-to-fp-trunc.ll
+19-783 files

LLVM/project 92b0cae — llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/lib/Target/X86 X86ISelLowering.h X86ISelLowering.cpp

[X86] Mark vXi64 int to fp undesirable without AVX512DQ

Without avx512dq there is no vector conversion from i64 elements to f32
or f64, so widening the conversion of a source truncated with nsw or nuw
back to i64 makes it slower.

avx512fp16 converts i64 elements to f16 directly, so the widening folds
now pass the node and the check sees the result type.

Assisted-by: Claude Code Opus 5.5
DeltaFile
+63-128llvm/test/CodeGen/X86/combine-uitofp.ll
+32-130llvm/test/CodeGen/X86/combine-sitofp.ll
+10-76llvm/test/CodeGen/X86/avx512fp16-int-to-fp-trunc.ll
+10-0llvm/lib/Target/X86/X86ISelLowering.cpp
+2-4llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+1-0llvm/lib/Target/X86/X86ISelLowering.h
+118-3386 files

LLVM/project 9f4c054 — clang/lib/Sema SemaOpenMP.cpp, clang/test/OpenMP target_no_loop.cpp

Fix check for loop promotion to parallel for

A teams loop with calls to non API routines cannot be promoted to
parallel for. The visitor overrode such a case when there was a later
call to an API routine.
DeltaFile
+42-24clang/test/OpenMP/target_no_loop.cpp
+1-1clang/lib/Sema/SemaOpenMP.cpp
+43-252 files

LLVM/project 67829d7 — lldb/include/lldb/Utility StringExtractorGDBRemote.h, lldb/source/Plugins/Process/gdb-remote GDBRemoteCommunicationClient.cpp ProcessGDBRemote.cpp

[lldb][gdb-remote] Preserve the initial vRun stop reply (#239671)

Return the server's launch response from the gdb-remote client and preserve the initial vRun stop, exit, or termination reply. Legacy A launches continue to query the stop reason after qLaunchSuccess.

Preserve exit status and descriptions when the process exits during launch, and deliver the exit event after restoring the outer launch listener.

Add packet classification and regression coverage for initial signal replies, immediate exits, and the legacy launch fallback.
DeltaFile
+63-5lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteClient.py
+32-20lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+46-0lldb/unittests/Utility/StringExtractorGDBRemoteTest.cpp
+20-0lldb/source/Utility/StringExtractorGDBRemote.cpp
+16-0lldb/include/lldb/Utility/StringExtractorGDBRemote.h
+7-8lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
+184-334 files not shown
+204-3910 files

LLVM/project 4347f7f — clang/lib/CodeGen CGStmtOpenMP.cpp

Add entry to local declarations for split target / teams loop

Add missing entry to declaration map for split spelling target teamsloop
missing after #233539
DeltaFile
+7-3clang/lib/CodeGen/CGStmtOpenMP.cpp
+7-31 files

LLVM/project 941f2be — llvm/lib/Target/AArch64 AArch64IntrinsicsVerifier.cpp, llvm/test/TableGen AArch64IntrinsicFeatureChecks.td

fixup! [AArch64] Add feature guards to SVE and SME intrinsics
DeltaFile
+46-68llvm/lib/Target/AArch64/AArch64IntrinsicsVerifier.cpp
+21-13llvm/test/TableGen/AArch64IntrinsicFeatureChecks.td
+67-812 files

LLVM/project b9a63e4 — clang/include/clang/AST StmtOpenMP.h, clang/lib/AST StmtOpenMP.cpp

[clang][OpenMP] Extend no-loop promotion to the split teams loop

Widen the no-loop promotion to apply not only to the fused target teams
distribute parallel for but include the same region written as separate
directives, other directives promotable to parallel for, and regions
carrying a schedule clause that asks for a mapping a no-loop kernel
already provides.

Use the SPMD_NO_LOOP kernel tag to carry the promotion decision, based
on whether the kernel can get fully promoted to a no-loop kernel. This
eliminates the previous discrepancy where a clause got the tag but not
the promotion.
DeltaFile
+95-24clang/test/OpenMP/target_no_loop.cpp
+63-13clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
+39-28clang/lib/CodeGen/CGStmtOpenMP.cpp
+10-1clang/include/clang/AST/StmtOpenMP.h
+2-1clang/lib/Sema/SemaOpenMP.cpp
+2-1clang/lib/AST/StmtOpenMP.cpp
+211-682 files not shown
+213-688 files

LLVM/project fcf914f — clang/utils/TableGen SveEmitter.cpp, llvm/include/llvm/IR IntrinsicsAArch64.td

[AArch64] Add feature guards to SVE and SME intrinsics

This PR adds streaming/non-streaming feature guards to the SVE and SME
intrinsics. A new verifier pass is added to rejects calls to intrinsics
whose type signature is unavailable for the function's mode and feature
flags.

Some codegen tests needed updating to avoid using types that don't
map to any legal ACLE types.

More as an optional feature; this PR adds a check to Clang's SveEmitter
to ensure that a builtin's type/target maps to a compatible LLVM intrinsic
variant, under the compatible feature flags so that incorrect mappings
are caught during TableGen generation.

I'm happy to split this PR up, but I wasn't sure that was necessarily
going to be more helpful.
DeltaFile
+2,534-1,638llvm/include/llvm/IR/IntrinsicsAArch64.td
+0-2,461llvm/test/CodeGen/AArch64/zeroing-forms-frint-frecpx-fsqrt.ll
+0-448llvm/test/CodeGen/AArch64/sve-intrinsics-perm-select.ll
+236-0llvm/lib/Target/AArch64/AArch64IntrinsicsVerifier.cpp
+229-1clang/utils/TableGen/SveEmitter.cpp
+0-146llvm/test/CodeGen/AArch64/sve-ptest-removal-cmple.ll
+2,999-4,69434 files not shown
+3,445-5,03140 files

LLVM/project 21d293d — clang/test/CodeGen memprof-mempgo.cpp, clang/test/CodeGen/distributed-thin-lto memprof-mempgo.cpp

SimplifyLibCalls: preserve allocation attributes in optimizeNew

When `LibCallSimplifier::optimizeNew` rewrites an `operator new` call into a
`__hot_cold_t` allocation call, forward the allocation attributes
(`allockind`, `allocsize`, `"alloc-family"`, and parameter `allocalign`) from
the original call onto the synthesized call instruction alongside its metadata.

This is a new patch since 2023 (unlike most of the rest of the stack)
and allows the next patch to remove more specialized C++ knowledge
from the LLVM layer, instead leaving it in clang where it seems more
sensible.

This patch was authored with the assistance of an LLM and was reviewed
by me before posting.
DeltaFile
+90-0llvm/test/Transforms/InstCombine/simplify-libcalls-new-attrs.ll
+13-1llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
+2-2clang/test/CodeGen/memprof-mempgo.cpp
+2-2clang/test/CodeGen/distributed-thin-lto/memprof-mempgo.cpp
+1-1llvm/test/Transforms/InstCombine/simplify-libcalls-new.ll
+108-65 files

LLVM/project 2ae3bd1 — clang/lib/CodeGen CGExprCXX.cpp, clang/test/CodeGenCXX cxx1z-aligned-allocation.cpp

CGExprCXX: emit family and allockind attributes

This allows us to remove the special knowledge about C++ allocation from
LLVM's MemoryBuiltins.cpp, instead trusting attributes to communicate
the important properties.

Annoyingly, clang has to grow a little bit of hard-coded knowledge about
mangled symbol names in order to actually get the most-basic-matching
::operator::new when working out the alloc-family attribute. I spent
some time trying to do this "right" by looking up the available
operators new and finding the best one, but that's super tricky and this
has the virtue of working and being pretty obviously correct when
compared to the old code.

Happily, clang now emits allocator family attributes for custom
allocators like the `__hot_cold_t` overloads in `new_hot_cold.cpp`
(which `isReplaceableGlobalAllocationFunction` in clang recognizes),
allowing us to remove that special knowledge from LLVM.


    [7 lines not shown]
DeltaFile
+2-120llvm/lib/Analysis/MemoryBuiltins.cpp
+51-51llvm/test/Transforms/InstCombine/new-delete-itanium.ll
+34-10clang/test/CodeGenCXX/cxx1z-aligned-allocation.cpp
+38-3clang/lib/CodeGen/CGExprCXX.cpp
+10-22clang/test/Headers/openmp_new_nothrow.cpp
+14-14llvm/test/Transforms/InstCombine/new-delete-itanium-32.ll
+149-22018 files not shown
+198-26024 files

LLVM/project c03c457 — clang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/CodeGen CIRGenItaniumCXXABI.cpp

[CIR] Introduce cir.vtable.get_offset to handle offset mechanism (#242032)

In anticipation of the relative-vtable implementation, this patch
replaces the vtable pointer offset math with its own operation that
replaces all of the offset calculations, and re-introduces them during
LowerToLLVM.

Eventually, this will unify the two 'types' (pointer vs diff) that comes
out when using relative vtable lowering.

Additionally, this patch converts the dyn-cast operation to remove its
relative-flag and just use this get_offset functionality instead.
DeltaFile
+15-42clang/lib/CIR/Dialect/Transforms/TargetLowering/LowerItaniumCXXABI.cpp
+40-10clang/include/clang/CIR/Dialect/IR/CIROps.td
+14-33clang/lib/CIR/CodeGen/CIRGenItaniumCXXABI.cpp
+28-7clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+3-15clang/test/CIR/CodeGen/vtt.cpp
+15-0clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+115-1079 files not shown
+148-15515 files

LLVM/project cbd4e28 — lld/test/ELF mips-npic-call-pic.s, llvm/lib/Target/Mips MipsInstrInfo.td Mips32r6InstrInfo.td

[Mips] Fix MipsJmpLink and MipsTailCall to use compact branch instructions on MIPS32/64 R6 (#241162)

MIPS32/64 R6 should emit the BALC instruction for MipsJmpLink instead of
JAL. Currently LLVM emits JAL regardless of the option, while GCC
correctly emits BALC.

This patch adds R6-specific pseudo instructions JAL_R6 and TAILCALL_R6
that expand to BALC and BC. The JAL and TAILCALL patterns are restricted
to pre-R6 targets.

PR #232578 restricted JAL instruction predicates to pre-R6, which broke
Linux kernel builds for mips32r6 when inline assembly contains `jal`:
error: instruction requires a CPU feature not currently enabled. Fix
this by restoring JAL to ISA_MIPS1, adding mipspat for MipsJmpLink
tglobaladdr and removing the embedded MipsJmpLink pattern from the
JumpLink base class.

Fix #165634.
DeltaFile
+116-638llvm/test/CodeGen/Mips/fp-intrinsics.ll
+48-24lld/test/ELF/mips-npic-call-pic.s
+21-23llvm/test/CodeGen/Mips/fma-r6.ll
+38-0llvm/lib/Target/Mips/Mips32r6InstrInfo.td
+8-8llvm/test/CodeGen/Mips/rint-r6-features.ll
+8-7llvm/lib/Target/Mips/MipsInstrInfo.td
+239-70014 files not shown
+281-74620 files

LLVM/project 52b2ba4 — clang/lib/CIR/CodeGen CIRGenStmtOpenMP.cpp, clang/test/CIR/CodeGenOpenMP not-yet-implemented.c teams-distribute.c

[CIR][OpenMP] Add initial support for distribute

This patch adds initial support for the OpenMP 'distribute' directive. Basic
code generation for the standalone and combined cases is introduced. Support
for clauses will be added in the future. The composite 'teams distribute
parallel for' form will be added in a subsequent patch.

Assisted-by: Cursor / Claude Sonnet 5 High
DeltaFile
+756-0clang/test/CIR/CodeGenOpenMP/target-teams-distribute.c
+203-0clang/test/CIR/CodeGenOpenMP/teams-distribute.c
+142-26clang/lib/CIR/CodeGen/CIRGenStmtOpenMP.cpp
+18-0clang/test/CIR/CodeGenOpenMP/not-yet-implemented.c
+1,119-264 files

LLVM/project 6ee6295 — clang/lib/CIR/CodeGen CIRGenStmtOpenMP.cpp, clang/test/CIR/CodeGenOpenMP not-yet-implemented.c region-cleanups-O2.c

[CIR][OpenMP] Add support for 'distribute parallel for' with 'target teams'

Adds support for handling the full '[target] teams distribute parallel for'.
Introduces setting the omp.composite attibute for the 'distribute parallel for'
composite construct.

Assisted-by: Cursor / Claude Sonnet 5 High
DeltaFile
+924-0clang/test/CIR/CodeGenOpenMP/target-teams-distribute-parallel-for.c
+303-40clang/lib/CIR/CodeGen/CIRGenStmtOpenMP.cpp
+278-0clang/test/CIR/CodeGenOpenMP/distribute-parallel-for.c
+27-0clang/test/CIR/CodeGenOpenMP/region-cleanups-O2.c
+19-0clang/test/CIR/CodeGenOpenMP/not-yet-implemented.c
+1,551-405 files

LLVM/project fe76acb — clang/lib/CIR/CodeGen CIRGenStmtOpenMP.cpp, clang/test/CIR/CodeGenOpenMP not-yet-implemented.c region-cleanups-O2.c

[CIR][OpenMP] Add support for omp teams

This patch adds support for the OpenMP 'teams' directive, both standalone
and as the combined `target teams` construct. isCombinableLeaf now also
recognizes teams, so an explicitly-nested `target` + `teams` pair gets
the same omp.combined marking as the combined case.

Assisted-by: Cursor / Claude Sonnet 5 High
DeltaFile
+179-0clang/test/CIR/CodeGenOpenMP/target-teams.c
+139-0clang/test/CIR/CodeGenOpenMP/teams.c
+94-5clang/lib/CIR/CodeGen/CIRGenStmtOpenMP.cpp
+24-0clang/test/CIR/CodeGenOpenMP/region-cleanups-O2.c
+13-3clang/test/CIR/CodeGenOpenMP/not-yet-implemented.c
+449-85 files

LLVM/project a02f862 — clang/lib/CIR/CodeGen CIRGenFunction.h CIRGenStmtOpenMP.cpp, clang/test/CIR/CodeGenOpenMP not-yet-implemented.c target-parallel-for.c

[CIR][OpenMP] Add support for host_eval so that SPMD kernels can be used

This patch adds support for host_eval so that SPMD kernels and in the future
num_threads and other clauses can be implemented correctly.

Assisted-by: Cursor / Claude Sonnet 5 High
DeltaFile
+186-31clang/lib/CIR/CodeGen/CIRGenStmtOpenMP.cpp
+53-33clang/test/CIR/CodeGenOpenMP/target-parallel-for.c
+26-0clang/lib/CIR/CodeGen/CIRGenFunction.h
+9-0clang/test/CIR/CodeGenOpenMP/not-yet-implemented.c
+274-644 files

LLVM/project e453499 — compiler-rt/lib/scudo/standalone fuchsia.cpp

[scudo] Ensure unique backtrace in Fuchsia's die() (#243216)

Materialize the address of a unique static variable in a register so
compiler/linker optimizations (LTO, ICF) cannot fold die() together with
unrelated __builtin_trap() functions.

Assisted-by: Gemini
DeltaFile
+6-1compiler-rt/lib/scudo/standalone/fuchsia.cpp
+6-11 files

LLVM/project 48a72bd — clang/lib/CodeGen CGExprCXX.cpp, clang/test/CodeGenCXX cxx1z-aligned-allocation.cpp

CGExprCXX: emit family and allockind attributes

This allows us to remove the special knowledge about C++ allocation from
LLVM's MemoryBuiltins.cpp, instead trusting attributes to communicate
the important properties.

Annoyingly, clang has to grow a little bit of hard-coded knowledge about
mangled symbol names in order to actually get the most-basic-matching
::operator::new when working out the alloc-family attribute. I spent
some time trying to do this "right" by looking up the available
operators new and finding the best one, but that's super tricky and this
has the virtue of working and being pretty obviously correct when
compared to the old code.

Happily, clang now emits allocator family attributes for custom
allocators like the `__hot_cold_t` overloads in `new_hot_cold.cpp`
(which `isReplaceableGlobalAllocationFunction` in clang recognizes),
allowing us to remove that special knowledge from LLVM.


    [7 lines not shown]
DeltaFile
+2-120llvm/lib/Analysis/MemoryBuiltins.cpp
+51-51llvm/test/Transforms/InstCombine/new-delete-itanium.ll
+34-10clang/test/CodeGenCXX/cxx1z-aligned-allocation.cpp
+38-3clang/lib/CodeGen/CGExprCXX.cpp
+10-22clang/test/Headers/openmp_new_nothrow.cpp
+14-14llvm/test/Transforms/InstCombine/new-delete-itanium-32.ll
+149-22018 files not shown
+198-26024 files

LLVM/project e019eeb — clang/test/CodeGen memprof-mempgo.cpp, clang/test/CodeGen/distributed-thin-lto memprof-mempgo.cpp

SimplifyLibCalls: preserve allocation attributes in optimizeNew

When `LibCallSimplifier::optimizeNew` rewrites an `operator new` call into a
`__hot_cold_t` allocation call, forward the allocation attributes
(`allockind`, `allocsize`, `"alloc-family"`, and parameter `allocalign`) from
the original call onto the synthesized call instruction alongside its metadata.

This is a new patch since 2023 (unlike most of the rest of the stack)
and allows the next patch to remove more specialized C++ knowledge
from the LLVM layer, instead leaving it in clang where it seems more
sensible.

This patch was authored with the assistance of an LLM and was reviewed
by me before posting.
DeltaFile
+90-0llvm/test/Transforms/InstCombine/simplify-libcalls-new-attrs.ll
+13-1llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
+2-2clang/test/CodeGen/memprof-mempgo.cpp
+2-2clang/test/CodeGen/distributed-thin-lto/memprof-mempgo.cpp
+1-1llvm/test/Transforms/InstCombine/simplify-libcalls-new.ll
+108-65 files

LLVM/project 454bc9d — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/lib/Transforms/Vectorize/SLPVectorizer SLPCompatibilityAnalysis.h SLPCompatibilityAnalysis.cpp

[SLP]Support i1 constant lanes in copyable compare nodes

Model i1 constant lanes of an icmp node as compares of constants, or as
a compare of a non-undef/poison splat operand with itself. Lanes share
the predicate via CmpSamePredicateHelper. Drop samesign if a copyable
lane compares different i1 constants, where 0 and 1 differ in sign.

Assisted-by: Cursor

Pull-request: https://github.com/llvm/llvm-project/pull/234367
Reviewers: RKSimon, bababuck, madhur13490
Reviewed-by: bababuck
DeltaFile
+52-114llvm/test/Transforms/SLPVectorizer/AArch64/icmp-copyable-constant-lane.ll
+103-17llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+36-10llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPCompatibilityAnalysis.cpp
+14-24llvm/test/Transforms/SLPVectorizer/AArch64/copyable-lane-external-use.ll
+14-9llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPCompatibilityAnalysis.h
+5-17llvm/test/Transforms/SLPVectorizer/X86/interchangeable-cmp-predicates.ll
+224-1911 files not shown
+226-1997 files

LLVM/project dec1c1a — llvm/lib/Analysis LoopInfo.cpp, llvm/lib/Target/X86 X86LowerAMXIntrinsics.cpp

[ProfCheck] Remove ablation flag up to 2026-03-09 (#243301)

I used the wrong cutoff date (about a month too early) for removing
ProfCheckDisableMetadataFixes checks. Remove any that I forgot to remove
previously up to the new date where we have not ablated any of the
flags.
DeltaFile
+16-26llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
+9-15llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp
+6-13llvm/lib/Transforms/Utils/MatrixUtils.cpp
+2-7llvm/lib/Analysis/LoopInfo.cpp
+1-6llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
+1-5llvm/lib/Transforms/Vectorize/VPlan.cpp
+35-726 files

LLVM/project b433a84 — clang/lib/CIR/Dialect/IR CIRDialect.cpp, clang/lib/CIR/Dialect/Transforms CIRGreedyRewriteDriver.cpp CIRCanonicalize.cpp

[CIR] Make cir-canonicalize a full canonicalizer

cir-canonicalize applied the CIR canonicalization patterns and folders
only to a hand-written list of operations. It now builds the pattern set
once in initialize() and runs CIR's greedy driver over every operation,
top-down like MLIR's canonicalizer, so every pattern and folder applies
everywhere. Only operations that rewriting left dead are erased, such as
the inputs of a folded operation: CIR stays close to the source, so
unused locals and ignored expressions are kept as in classic codegen.
Empty scopes and switches were removed only because they were dead, so
they get explicit canonicalization patterns.

For this, cir::applyOpPatternsGreedily takes an eraseOnlyNewlyDead flag.
With it, the driver records which of the given operations are unused
when rewriting starts and never erases those for being dead; a pattern
or a fold still can. The default still erases every trivially dead
operation.

The label tests used unused constants to show which code the driver

    [7 lines not shown]
DeltaFile
+46-59clang/lib/CIR/Dialect/Transforms/CIRCanonicalize.cpp
+62-0clang/test/CIR/Transforms/canonicalize-dead-code.cir
+37-22clang/test/CIR/Transforms/canonicalize-label.cir
+32-24clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+14-11clang/test/CIR/Transforms/canonicalize.cir
+17-8clang/lib/CIR/Dialect/Transforms/CIRGreedyRewriteDriver.cpp
+208-12418 files not shown
+280-13924 files

LLVM/project 544b2ef — libc/src/__support endian_internal.h, libc/src/__support/net byte_order.h

Reapply "[libc] Add network byte-order helpers to __support/net" (#243396)

Reverts llvm/llvm-project#243187, re-applying #243122.

Dropping libc.src.arpa.inet.htons from udp_test removed the entrypoint
gating that had been keeping it disabled on non-Linux targets. Move
udp_test into test/src/netinet/linux/ so it only builds on Linux.

The original commit message was:

In overlay mode, system headers (<netinet/in.h>, <arpa/inet.h>) may
define htons/htonl/ntohs/ntohl as macros. Including our entrypoint
headers after those system headers or calling LIBC_NAMESPACE::htons(...)
without extra parentheses runs into macro expansion issues.

Add templated net::hton<T> and net::ntoh<T> helpers in
__support/net/byte_order.h (along with making Endian conversions
constexpr), and use them across internal networking code, the
hton*/ntoh* entrypoints, and unit tests instead of the htons-family

    [2 lines not shown]
DeltaFile
+53-0libc/test/src/__support/net/byte_order_test.cpp
+0-43libc/test/src/netinet/udp_test.cpp
+23-20libc/src/__support/endian_internal.h
+43-0libc/test/src/netinet/linux/udp_test.cpp
+35-0libc/src/__support/net/byte_order.h
+15-18libc/test/src/netinet/in_test.cpp
+169-8123 files not shown
+306-16629 files

LLVM/project 2f5333b — llvm/include/llvm/IR IntrinsicFeatureGuard.h, llvm/include/llvm/TableGen FeatureGuardParser.h

fixup! [TableGen] Add target feature guards for types and runtime modes
DeltaFile
+78-210llvm/utils/TableGen/IntrinsicFeatureEmitter.cpp
+78-39llvm/unittests/TableGen/IntrinsicFeatureEmitterTest.cpp
+72-0llvm/test/TableGen/IntrinsicFeatureChecksGuards.td
+23-14llvm/include/llvm/TableGen/FeatureGuardParser.h
+0-34llvm/test/TableGen/IntrinsicFeatureChecksSingleGuard.td
+30-0llvm/include/llvm/IR/IntrinsicFeatureGuard.h
+281-2974 files not shown
+302-30810 files

LLVM/project 60b2c50 — lldb/include/lldb/Target StackID.h Process.h, lldb/source/Target StackID.cpp

[lldb] Let the process compare call frame addresses

StackID::IsYoungerThan asks Process::CompareCFAs before it assumes a stack that
grows down; the default has no opinion.
DeltaFile
+16-1lldb/unittests/Target/StackIDTest.cpp
+10-0lldb/include/lldb/Target/Process.h
+9-0lldb/source/Target/StackID.cpp
+3-0lldb/include/lldb/Target/StackID.h
+38-14 files