LLVM/project cc3105b — llvm/lib/Transforms/Vectorize VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize/X86 early_exit_with_stores.ll

Address review comments
DeltaFile
+13-4llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+4-4llvm/test/Transforms/LoopVectorize/X86/early_exit_with_stores.ll
+17-82 files

LLVM/project 5552cc9 — llvm/test/tools/llubi intr_vp_strided_load.ll intr_vp_strided_store.ll, llvm/tools/llubi/lib Context.h Interpreter.cpp

[llubi] Add support for vp.strided.load and vp.strided.store (#241715)

Building on top of https://github.com/llvm/llvm-project/pull/241710,
these are defined in terms of vp.gather and vp.scatter.

The base pointer must be aligned to the align attribute/default ABI
alignment, but subsequent pointers past the first lane are unaligned.

Assisted-by: Opus 5.5
DeltaFile
+69-23llvm/tools/llubi/lib/Interpreter.cpp
+87-0llvm/test/tools/llubi/intr_vp_strided_load_ub.ll
+74-0llvm/test/tools/llubi/intr_vp_strided_store_ub.ll
+60-0llvm/test/tools/llubi/intr_vp_strided_store.ll
+55-0llvm/test/tools/llubi/intr_vp_strided_load.ll
+4-0llvm/tools/llubi/lib/Context.h
+349-231 files not shown
+351-257 files

LLVM/project b70fe9d — llvm/test/tools/llubi intr_vp_gather.ll intr_vp_scatter.ll, llvm/tools/llubi/lib Interpreter.cpp

[llubi] Add support for vp.gather and vp.scatter (#241710)

These follow the semantics of llvm.masked.gather/llvm.masked.scatter. We
need to just make sure that the implicit alignment is taken from the
element type, not the vector type.

Assisted-by: Opus 5.5
DeltaFile
+70-0llvm/test/tools/llubi/intr_vp_scatter_ub.ll
+69-0llvm/test/tools/llubi/intr_vp_gather_ub.ll
+39-0llvm/test/tools/llubi/intr_vp_scatter.ll
+33-0llvm/test/tools/llubi/intr_vp_gather.ll
+21-8llvm/tools/llubi/lib/Interpreter.cpp
+232-85 files

LLVM/project 9058a10 — clang/test/CodeGen builtins-elementwise-convert-from-arbitrary-fp.c

Update FP8 conversion test for x86 small-int ABI

b1c38d9b5839 (#236450) stopped emitting zeroext/signext on small
integer arguments for x86-64 SysV, so the autogenerated checks for
the i8 parameters no longer matched after rebasing onto main.

Regenerate the checks with update_cc_test_checks.py.

Change-Id: I2f8bb84a8d70888d0ec125e2dd1cf19dc39aaa08
Co-Authored-By: Claude Fable 5.2 <noreply at anthropic.com>
DeltaFile
+11-11clang/test/CodeGen/builtins-elementwise-convert-from-arbitrary-fp.c
+11-111 files

LLVM/project ce4ea23 — compiler-rt/lib/scudo/standalone/tests combined_test.cpp

[scudo] Fix DoubleFreeFromSecondary to allow multiple messages. (#243238)

If the secondary is zeroed then a different error message will occur, so
allow that other message too.
DeltaFile
+3-1compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
+3-11 files

LLVM/project 45136ba — clang/test/Sema builtins-elementwise-convert-from-arbitrary-fp-neon.c builtins-elementwise-convert-from-arbitrary-fp-target.c, clang/test/SemaCXX builtins-elementwise-convert-from-arbitrary-fp.cpp

Unwrap long lines in remaining new tests

Match sibling elementwise builtin tests, which keep RUN lines and
statements on one line.

Change-Id: I33de97f85093f2649c0035c22f99a33b1657486f
Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+38-76clang/test/Sema/builtins-elementwise-convert-from-arbitrary-fp.c
+7-19clang/test/SemaCXX/builtins-elementwise-convert-from-arbitrary-fp.cpp
+4-9clang/test/Sema/builtins-elementwise-convert-from-arbitrary-fp-target.c
+3-7clang/test/Sema/builtins-elementwise-convert-from-arbitrary-fp-neon.c
+1-2clang/test/SemaOpenCL/builtins-elementwise-convert-from-arbitrary-fp.cl
+53-1135 files

LLVM/project d2da1c6 — clang/test/CodeGen/AArch64 builtins-elementwise-convert-from-arbitrary-fp-mfp8.c, clang/test/Sema builtins-elementwise-convert-from-arbitrary-fp-sve.c builtins-elementwise-convert-from-arbitrary-fp-rvv.c

Unwrap long lines in new tests

Test files are not clang-formatted; keep RUN lines and statements on
one line.

Change-Id: I95e21a076106bf2488e7246569609a8feb514d88
Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+5-10clang/test/Sema/builtins-elementwise-convert-from-arbitrary-fp.c
+2-4clang/test/Sema/builtins-elementwise-convert-from-arbitrary-fp-rvv.c
+1-2clang/test/Sema/builtins-elementwise-convert-from-arbitrary-fp-sve.c
+1-2clang/test/CodeGen/AArch64/builtins-elementwise-convert-from-arbitrary-fp-mfp8.c
+9-184 files

LLVM/project 9f74018 — clang/test/CodeGen strictfp-elementwise-builtins.cpp builtins-elementwise-convert-from-arbitrary-fp.c, clang/test/CodeGen/AArch64 builtins-elementwise-convert-from-arbitrary-fp-mfp8.c

Add tests for FP8 conversion builtin edge cases

Cover strictfp, _BitInt vectors, SVE and fixed-length RVV vectors,
__mfp8 codegen, f16/bf16 vector results, and 1- and 3-element
vectors, per review.

Change-Id: I1d3d32bca1d9a5aea4a6f9292230d80c5a62519d
Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+144-0clang/test/CodeGen/builtins-elementwise-convert-from-arbitrary-fp.c
+21-1clang/test/Sema/builtins-elementwise-convert-from-arbitrary-fp.c
+17-0clang/test/CodeGen/AArch64/builtins-elementwise-convert-from-arbitrary-fp-mfp8.c
+12-0clang/test/CodeGen/strictfp-elementwise-builtins.cpp
+12-0clang/test/Sema/builtins-elementwise-convert-from-arbitrary-fp-sve.c
+9-1clang/test/Sema/builtins-elementwise-convert-from-arbitrary-fp-rvv.c
+215-26 files

LLVM/project fd04945 — clang/docs LanguageExtensions.md, clang/include/clang/Basic DiagnosticSemaKinds.td

Address review feedback on FP8 conversion builtins

Reuse err_builtin_invalid_arg_type for all source operand errors
instead of builtin-specific diagnostics.

Accept integer constants that fit the format width, such as 0x38,
and std::byte, so common byte values need no explicit cast.

Drop the unused OpenCL fp64 path from checkFloatingPointTypeSupport.

Document floating-point environment and fast-math behavior; trim
implementation detail from the user docs.

Change-Id: I8676a49540bdbbb8a90827c83764803eeea850a5
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply at anthropic.com>
DeltaFile
+44-22clang/lib/Sema/SemaChecking.cpp
+30-9clang/test/Sema/builtins-elementwise-convert-from-arbitrary-fp.c
+10-17clang/lib/Sema/SemaType.cpp
+24-1clang/test/SemaCXX/builtins-elementwise-convert-from-arbitrary-fp.cpp
+8-7clang/docs/LanguageExtensions.md
+1-11clang/include/clang/Basic/DiagnosticSemaKinds.td
+117-674 files not shown
+131-7110 files

LLVM/project de313b2 — clang/docs LanguageExtensions.md, clang/lib/Sema SemaType.cpp SemaChecking.cpp

[clang] Add elementwise conversions from encoded FP8 values

Add nine builtins converting Float8E5M2, Float8E4M3FN, and Float8E5M3FNU
encodings to _Float16, __bf16, or float through
llvm.convert.from.arbitrary.fp.

Accept exactly 8-bit integer scalars and generic fixed-length vectors,
preserving vector kinds and element counts without integer promotions.
Also support scalar AArch64 __mfp8 containers. Apply destination type
availability checks, including deferred offload diagnostics, and reject
constant-expression use.

Document the interface and add semantic, template, language-mode,
target-specific, and IR-generation regression coverage.
DeltaFile
+172-0clang/test/CodeGen/builtins-elementwise-convert-from-arbitrary-fp.c
+135-0clang/test/Sema/builtins-elementwise-convert-from-arbitrary-fp.c
+105-0clang/lib/Sema/SemaChecking.cpp
+97-0clang/docs/LanguageExtensions.md
+50-18clang/lib/Sema/SemaType.cpp
+44-0clang/test/Sema/builtins-elementwise-convert-from-arbitrary-fp-target.c
+603-1810 files not shown
+804-1816 files

LLVM/project 860d5d4 — lldb/include/lldb/Symbol Symtab.h, lldb/source/Plugins/ObjectFile/Mach-O ObjectFileMachO.cpp

[lldb][NFC] Move two scans of symbol table to Symtab methods (#241113)

This patchset changes two areas that were iterating over all Symbols
inside a Symtab, to instead call a method on Symtab.

`SymbolFileDWARFDebugMap::InitOSO` looks at every symbol to detect any
Mach-O debug map entries that are pointing to .o files with the dwarf in
them. It will now call `Symtab::HasDebugMap()`.

`SymbolFileSymtab::CalculateAbilities` searches for every symbol of type
eSymbolTypeSourceFile to add CompileUnits on to the capabilities flags
returned; that's now done by `Symtab::HasSourceFiles`. It also
initialized some lookups in SymbolFileSymtab eagerly: `m_func_indexes`,
`m_code_indexes`, `m_data_indexes`, `m_source_indexes`, and
`m_objc_class_name_to_index`. Three of those indexes are not used:
`m_func_indexes`, `m_data_indexes`, `m_objc_class_name_to_index`.

Move the calculation of `m_source_indexes` and `m_code_indexes` into a
new `SymbolFileSymtab::InitializeSymbolIndexes` method.

    [19 lines not shown]
DeltaFile
+185-2lldb/unittests/Symbol/SymtabTest.cpp
+62-30lldb/source/Symbol/Symtab.cpp
+45-43lldb/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp
+52-4lldb/include/lldb/Symbol/Symtab.h
+23-0lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
+5-3lldb/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.h
+372-821 files not shown
+376-827 files

LLVM/project 81c1486 — llvm/include/llvm/Transforms/IPO Attributor.h, llvm/lib/Transforms/IPO Attributor.cpp AttributorAttributes.cpp

[Attributor] Don't derive interface attributes from non-exact definitions

The arguments and the return value of a function that might be replaced
by another definition, e.g. a linkonce_odr function, are not updated, but
AAs still took known information from the body in initialize, which was
then kept and propagated to the callers: the uses of the arguments in
followUsesInMBEC, assumptions in getAttrsFromAssumes, and the returned
values in AANonNull::isImpliedByIR. Add Attributor::canUseBodyFor and
skip the body for the interface of such functions.

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+12-22llvm/test/Transforms/Attributor/nonnull.ll
+11-0llvm/include/llvm/Transforms/IPO/Attributor.h
+3-3llvm/test/Transforms/Attributor/align.ll
+6-0llvm/lib/Transforms/IPO/AttributorAttributes.cpp
+3-0llvm/lib/Transforms/IPO/Attributor.cpp
+35-255 files

LLVM/project 317434b — llvm/test/Transforms/Attributor align.ll nonnull.ll

[Attributor] Precommit tests for attributes derived from non-exact definitions

The Attributor derives align for the arguments and nonnull for the return
value of linkonce_odr functions from their bodies, and propagates them to
the callers, although another definition might be used instead.

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+73-0llvm/test/Transforms/Attributor/nonnull.ll
+23-0llvm/test/Transforms/Attributor/align.ll
+96-02 files

LLVM/project 4277709 — llvm/test/CodeGen/AMDGPU combine-carry-into-uadde-usube.ll amdgcn.bitcast.1024bit.ll, llvm/test/tools/llvm-mca/AArch64/Cortex A53-neon-instructions.s

Merge branch 'main' into users/reble/attributor/memory-location-writable
DeltaFile
+1,201-20,206utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+6,864-0utils/bazel/llvm-project-overlay/libc/src/__support/math/BUILD.bazel
+2,374-2,435llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+2,239-2,237llvm/test/tools/llvm-mca/AArch64/Cortex/A53-neon-instructions.s
+4,205-24llvm/test/CodeGen/AMDGPU/combine-carry-into-uadde-usube.ll
+3,686-0utils/bazel/llvm-project-overlay/libc/src/math/BUILD.bazel
+20,569-24,9025,350 files not shown
+216,855-112,3925,356 files

LLVM/project 1f560f6 — llvm/lib/Transforms/Vectorize VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize early-exit-tail-folding.ll

[VPlan] Remove header masks whose tail lanes aren't used

Replace a use of header-mask && x with x if the user, transitively
through freeze, logical-and, not and mask.beforefirst(freeze ...), only
reaches masks that are and'ed with the header mask again. The header
mask is a prefix and lane i of mask.beforefirst only depends on lanes
0..i, so the lanes outside of the header mask are never used.

This avoids the i1 vp.merge that EVL tail folding needs for the inner
header mask, e.g. in the early exit mask.beforefirst(freeze(header-mask
&& c)) and in switch default edges.
DeltaFile
+39-0llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+2-4llvm/test/Transforms/LoopVectorize/early-exit-tail-folding.ll
+2-4llvm/test/Transforms/LoopVectorize/RISCV/early_exit_with_stores.ll
+2-4llvm/test/Transforms/LoopVectorize/RISCV/early-exit.ll
+1-2llvm/test/Transforms/LoopVectorize/RISCV/zvl1024b-crash.ll
+46-145 files

LLVM/project 32d3230 — utils/bazel/llvm-project-overlay/mlir BUILD.bazel

[Bazel] Fixes 63e87ab (#243315)

This fixes 63e87ab0d5159a2044831efedcc1cba855bc729a (#243023).

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds?commit=63e87ab0d5159a2044831efedcc1cba855bc729a

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+3-0utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+3-01 files

LLVM/project 2deabfe — llvm/lib/Transforms/Vectorize LoopVectorizationLegality.cpp LoopVectorize.cpp, llvm/test/Transforms/LoopVectorize early_exit_store_legality.ll early-exit-tail-folding.ll

[VPlan] Allow tail folding early exits with side effects

Continues the work in #179595.

This allows us to tail fold e.g. the following loop:

```c
extern char a[1024], b[1024], c[1024], y[1024];
void two_guards(void) {
  for (int i = 0; i < 1000; i++) {
    if (a[i] == 0)
      break;
    if (b[i] > 3) {
      if (c[i] < 9)
        y[i] = 1;
    }
  }
}
```

    [30 lines not shown]
DeltaFile
+40-70llvm/test/Transforms/LoopVectorize/early-exit-tail-folding.ll
+24-41llvm/test/Transforms/LoopVectorize/RISCV/early_exit_with_stores.ll
+18-35llvm/test/Transforms/LoopVectorize/RISCV/early-exit.ll
+24-0llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+0-7llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
+2-2llvm/test/Transforms/LoopVectorize/early_exit_store_legality.ll
+108-1552 files not shown
+111-1578 files

LLVM/project 46d8d20 — llvm/test/Transforms/LoopVectorize early-exit-tail-folding.ll

Precommit tests
DeltaFile
+214-153llvm/test/Transforms/LoopVectorize/early-exit-tail-folding.ll
+214-1531 files

LLVM/project de90dfe — llvm/lib/Transforms/Vectorize VPlanConstruction.cpp, llvm/test/Transforms/LoopVectorize multiple-early-exits.ll early-exit-tail-folding.ll

[VPlan] Support tail folding uncountable early exits

Enables the first step towards #179595. After #237254, the MaskedHandleExitInVectorLoop early exit style uses the CFG to handle masking for early exit loops. This allows it to compose with tail folding which is also handled via the CFG in #176143.

This allows us to tail fold the following loop:

```c
extern char x[256];
int f(char * restrict y) {
  for (int i = 0; i < 256; i++) {
    if (x[i] == 0)
      return i;
  }
  return -1;
}
```

Into this on RISC-V:


    [18 lines not shown]
DeltaFile
+91-164llvm/test/Transforms/LoopVectorize/RISCV/early-exit-live-out.ll
+77-149llvm/test/Transforms/LoopVectorize/RISCV/early-exit.ll
+54-105llvm/test/Transforms/LoopVectorize/early-exit-tail-folding.ll
+108-16llvm/test/Transforms/LoopVectorize/multiple-early-exits.ll
+20-37llvm/test/Transforms/LoopVectorize/RISCV/sink-to-early-exit.ll
+32-18llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp
+382-4894 files not shown
+414-49710 files

LLVM/project bc7e4f2 — llvm/test/Transforms/LoopVectorize early-exit-tail-folding-active-lane-mask.ll early-exit-tail-folding.ll, llvm/test/Transforms/LoopVectorize/RISCV early-exit.ll

Precommit tests
DeltaFile
+552-0llvm/test/Transforms/LoopVectorize/RISCV/early-exit.ll
+524-0llvm/test/Transforms/LoopVectorize/early-exit-tail-folding.ll
+65-0llvm/test/Transforms/LoopVectorize/early-exit-tail-folding-active-lane-mask.ll
+1,141-03 files

LLVM/project 476aa87 — llvm/lib/Transforms/Vectorize VPlanConstruction.cpp LoopVectorize.cpp

[VPlan] Use vputils::findCanonicalIVIncrement in more places. NFC

In a future patch we want to enable more scenarios with early exits and tail folding. In these scenarios the terminator will no longer be a BranchOnCount/BranchOnCond but a BranchOnTwoConds, so a bunch of canonical IV matchers break. Use vputils::findCanonicalIVIncrement instead since it searches the users of the canonical IV instead of looking at the terminator.
DeltaFile
+7-13llvm/lib/Transforms/Vectorize/VPlanEVLTailFolding.cpp
+2-9llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+2-8llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp
+11-303 files

LLVM/project 5376641 — clang/include/clang/AST OpenMPClause.h TypeBase.h, clang/include/clang/CIR LoweringHelpers.h

[clang] Remove declarations without definitions (NFC) (#242170)

This patch removes function and method declarations that have no
definitions and no callers.  This patch also explicitly deletes two
undefined default constructors so that accidental default construction
fails at compile time instead of link time.

Assisted-by: Antigravity
DeltaFile
+0-4clang/lib/CIR/CodeGen/CIRGenFunction.h
+0-4clang/include/clang/CIR/LoweringHelpers.h
+2-2clang/include/clang/AST/TypeBase.h
+0-2clang/lib/CodeGen/CGExprAgg.cpp
+0-2clang/include/clang/AST/OpenMPClause.h
+2-145 files

LLVM/project 35aeb8c — llvm/lib/Transforms/Vectorize VPlan.h VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize early_exit_with_stores.ll

[VPlan] Allow early exit loops with side effects by masking in the vector loop.

When all blocks with side effects are dominated by every early exit, we can vectorize the loop if we mask off any lanes past the exit. We can do this with control flow:

```mermaid
flowchart TD
  header --> exiting
  exiting -->| exit mask | sideeffects --> latch --> latch.split
  exiting -->| !exit mask | latch.split
```

For every early exiting block we add a branch to the latch on `!mask.beforefirst(exitcond)`. This is implemented in UncountableExitStyle::ReadOnly which is now renamed to MaskedHandleExitInVectorLoop.

This is a complementary exit style to MaskedHandleExitInScalarLoop. If any of the side effects aren't dominated by the early exit it still falls back to the scalar loop style, which is why none of the existing early exit side effect tests changed. Masking in loop is profitable for RISC-V and I'm assuming it's also profitable for AArch64 too, but if not then we can add a TTI hook for a preferred exit style.
DeltaFile
+59-76llvm/test/Transforms/LoopVectorize/early_exit_with_stores.ll
+86-33llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+10-8llvm/test/Transforms/LoopVectorize/X86/early_exit_with_stores.ll
+8-7llvm/test/Transforms/LoopVectorize/RISCV/early_exit_with_stores.ll
+5-4llvm/lib/Transforms/Vectorize/VPlan.h
+3-2llvm/unittests/Transforms/Vectorize/VPlanVerifierTest.cpp
+171-1302 files not shown
+176-1328 files

LLVM/project 32b161e — llvm/test/Transforms/LoopVectorize early_exit_with_stores.ll

Precommit tests
DeltaFile
+221-0llvm/test/Transforms/LoopVectorize/early_exit_with_stores.ll
+221-01 files

LLVM/project 4e01617 — llvm/unittests/Transforms/Vectorize VPlanVerifierTest.cpp

Remove old dominance unit test
DeltaFile
+0-18llvm/unittests/Transforms/Vectorize/VPlanVerifierTest.cpp
+0-181 files

LLVM/project 8e0cc22 — llvm/lib/Transforms/Vectorize VPlanVerifier.cpp VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize predicated-single-exit.ll predicated-early-exits-interleave.ll

[VPlan] Preserve SSA in early exit loops

MaskedCond is used to logically-and the condition to early exit with the current block in-mask. However because we use it in the latch block where the condition isn't defined on all paths, we have to workaround it not being in SSA in the verifier.

This fixes this by using reconstructSSA added in #212209 to preserve SSA in both the exit conditions and live outs in the exit blocks. It also means we get the right exit condition without MaskedCond and allows us to remove the MaskedCond exceptions in the verifier. MaskedCond is still kept since a followup PR will still use it.

One subtle point is that we need to freeze any branch conditions. Any lanes after and including the early exiting lane might contain poison and we can have branches on those poison lanes that didn't we didn't previously branch on in the scalar loop.

There's no miscompile on main today because we coincidentally don't keep SSA so exit conditions are read directly without being polluted by poison stemming from a branch past the early exit. But in this PR the exit conditions are polluted and we can end up with poison in the condition operand of a select, which causes an undefined result for AnyOf even if it freezes its operand. The poison in the branch will also cause problems in future if we decide to preserve uniform control flow and emit branches instead of blends. The exit_cond_merged_after_poison_branch test illustrates this.
DeltaFile
+156-36llvm/test/Transforms/LoopVectorize/predicated-multiple-exits.ll
+24-16llvm/test/Transforms/LoopVectorize/predicated-early-exits-interleave.ll
+26-9llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+1-18llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
+12-6llvm/test/Transforms/LoopVectorize/predicated-single-exit.ll
+219-855 files

LLVM/project a81b74d — llvm/lib/Transforms/Vectorize VPlanPredicator.cpp, llvm/test/Transforms/LoopVectorize uniform-blend.ll select-cmp-blend-chain.ll

[VPlan] Peek through nested phi incoming values in computeBlendMasks
DeltaFile
+495-0llvm/test/Transforms/LoopVectorize/predicator.ll
+389-6llvm/test/Transforms/LoopVectorize/VPlan/predicator.ll
+80-11llvm/lib/Transforms/Vectorize/VPlanPredicator.cpp
+81-0llvm/test/Transforms/LoopVectorize/find-last.ll
+13-3llvm/test/Transforms/LoopVectorize/select-cmp-blend-chain.ll
+3-12llvm/test/Transforms/LoopVectorize/uniform-blend.ll
+1,061-326 files

LLVM/project 6fa8843 — llvm/lib/Transforms/Vectorize VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize blend-i1.ll

[VPlan] Simplify BLEND X/M, false, ..., false -> M && X

If an i1 blend has false for all but one incoming value, then we can simplify this to the one non-false value. Blends by construction never have any overlapping mask values, so we don't need to worry about the order as the masks can't "shortcut" each other.
DeltaFile
+13-0llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+3-8llvm/test/Transforms/LoopVectorize/blend-i1.ll
+16-82 files

LLVM/project 1ec3466 — llvm/test/Transforms/LoopVectorize blend-i1.ll

Precommit tests
DeltaFile
+69-0llvm/test/Transforms/LoopVectorize/blend-i1.ll
+69-01 files

LLVM/project 1e3281f — llvm/lib/Transforms/Vectorize VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize interleave_uncountable_exits.ll

[VPlan] Move extract-lane(0, canWideIV) combine before unrolling

Some extract-lane combines can't be performed before unrolling, e.g. the one that combines it to Instruction::ExtractElement can end up extracting from a different part. But the extract-lane(0, canWideIV) can because at index 0 you're always extracting from the first part. Do this before unrolling, which improves codegen of unrolled code.
DeltaFile
+5-80llvm/test/Transforms/LoopVectorize/AArch64/early_exit_with_stores.ll
+16-24llvm/test/Transforms/LoopVectorize/VPlan/early_exit_with_stores_vplan.ll
+4-12llvm/test/Transforms/LoopVectorize/interleave_uncountable_exits.ll
+6-6llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+1-8llvm/test/Transforms/PhaseOrdering/AArch64/countable-and-uncountable-exits-combined.ll
+32-1305 files