LLVM/project 7928204 — llvm/docs AMDGPUUsage.md, llvm/include/llvm/Support AMDGPUObjLinkingInfo.h

[AMDGPU] Add FUNC_WAVE32 for object linking info flag
DeltaFile
+35-19llvm/test/CodeGen/AMDGPU/lds-link-time-codegen.ll
+5-5llvm/test/MC/AMDGPU/amdgpu-info-roundtrip.s
+3-1llvm/include/llvm/Support/AMDGPUObjLinkingInfo.h
+4-0llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
+3-0llvm/docs/AMDGPUUsage.md
+1-0llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
+51-252 files not shown
+53-258 files

LLVM/project 76cef7f — llvm/lib/Target/AMDGPU AMDGPUSubtarget.cpp AMDGPUAsmPrinter.cpp, llvm/test/CodeGen/AMDGPU object-linking-abi-occupancy.ll object-linking-abi-occupancy-waves-per-eu.ll

[AMDGPU] Introduce ABI occupancy for object linking

This PR introduces ABI occupancy as the contract used to compile functions under
object linking. The default is the occupancy needed for a 1024 workitem
workgroup. It can be overridden for a module by the `amdgpu_abi_waves_per_eu`
module flag, replaced for a function by `amdgpu-flat-work-group-size`, or
tightened by an accepted `amdgpu-waves-per-eu` hint.

The ABI occupancy replaces the workgroup-derived minimum that an
`amdgpu-waves-per-eu` hint is validated against, so the hint can only make the
contract stricter.

The backend emits the selected occupancy in `.amdgpu.info` and uses it to
enforce the object linking register budget.
DeltaFile
+58-22llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
+39-32llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
+62-0llvm/test/CodeGen/AMDGPU/object-linking-abi-occupancy-module-flag.ll
+54-0llvm/test/CodeGen/AMDGPU/object-linking-abi-occupancy-flat-work-group-size.ll
+49-0llvm/test/CodeGen/AMDGPU/object-linking-abi-occupancy-waves-per-eu.ll
+48-0llvm/test/CodeGen/AMDGPU/object-linking-abi-occupancy.ll
+310-5410 files not shown
+378-6416 files

LLVM/project 64f562b — llvm/docs AMDGPUUsage.md, llvm/include/llvm/Support AMDGPUObjLinkingInfo.h

[AMDGPU] Add FUNC_WGP_MODE for object linking info flag
DeltaFile
+16-13llvm/test/CodeGen/AMDGPU/lds-link-time-codegen-typeid.ll
+21-0llvm/test/CodeGen/AMDGPU/lds-link-time-codegen.ll
+5-5llvm/test/MC/AMDGPU/amdgpu-info-roundtrip.s
+3-1llvm/include/llvm/Support/AMDGPUObjLinkingInfo.h
+4-0llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
+3-0llvm/docs/AMDGPUUsage.md
+52-193 files not shown
+56-199 files

LLVM/project 6a38bae — llvm/lib/Analysis/models seedEmbeddingVocab75D.json

[IR2Vec] Add UncondBr and CondBr to the seed vocabulary (#243025)

Update `llvm/lib/Analysis/models/seedEmbeddingVocab75D.json`: PR #184027
split `Br` into `CondBr` and `UncondBr`, so all branches got zero
vectors
DeltaFile
+2-1llvm/lib/Analysis/models/seedEmbeddingVocab75D.json
+2-11 files

LLVM/project fa31860 — clang/test/CIR/CodeGen call-conv-lowering-amdgpu-cxx-records.cpp call-conv-lowering-amdgpu-return-types.c, clang/test/CIR/CodeGenHIP call-conv-lowering-amdgpu-kernel-args.hip

move tests to classic codegen
DeltaFile
+0-552clang/test/CIR/CodeGen/call-conv-lowering-amdgpu-arg-types.c
+380-0clang/test/CodeGen/AMDGPU/abi-classify-arg-types.c
+0-291clang/test/CIR/CodeGen/call-conv-lowering-amdgpu-return-types.c
+218-0clang/test/CodeGen/AMDGPU/abi-classify-return-types.c
+0-173clang/test/CIR/CodeGenHIP/call-conv-lowering-amdgpu-kernel-args.hip
+0-149clang/test/CIR/CodeGen/call-conv-lowering-amdgpu-cxx-records.cpp
+598-1,1653 files not shown
+840-1,1679 files

LLVM/project 5e9b88c — clang-tools-extra/clang-tidy/readability SimplifyBooleanExprCheck.cpp, clang-tools-extra/docs ReleaseNotes.md

[clang-tidy] Keep side effects in readability-simplify-boolean-expr (#243303)

`f() || true` and `f() && false` were rewritten to the literal value,
which removed the call to `f()`. The check still warns in these cases
but if the left operand may have side effects it now doesn't give a fix.

Fixes #242838.
DeltaFile
+24-0clang-tools-extra/test/clang-tidy/checkers/readability/simplify-boolean-expr.cpp
+18-2clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp
+8-3clang-tools-extra/docs/ReleaseNotes.md
+50-53 files

LLVM/project a57412e — llvm/lib/Target/AMDGPU AMDGPUPromoteAlloca.cpp AMDGPUMemoryUtils.cpp, llvm/test/CodeGen/AMDGPU lds-link-time-named-barrier.ll lower-module-lds-link-time-comdat.ll

[AMDGPU] Fix LDS externalization for object linking

With object linking, the backend converts LDS variables and named barriers to
external declarations, and the linker allocates them. There are two cases that
could potentially make invalid IR or cause a crash:

- LDS or a named barrier with vague linkage, for example a shared variable in an
inline function, is in a comdat. The external declaration kept the comdat, and
the verifier rejected the module: "Declaration may not be in a Comdat!".
- Alloca promotion to LDS runs after LDS lowering. The LDS variable that it
created stayed an internal definition, and the asm printer asserted: "LDS
definitions should have been externalized when object linking is enabled".

This PR fixes both of them.

This PR was assisted by AI but I reviewed all the changes.
DeltaFile
+83-0llvm/test/CodeGen/AMDGPU/promote-alloca-object-linking.ll
+8-18llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
+26-0llvm/test/CodeGen/AMDGPU/lower-module-lds-link-time-comdat.ll
+18-0llvm/lib/Target/AMDGPU/AMDGPUMemoryUtils.cpp
+16-0llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
+10-2llvm/test/CodeGen/AMDGPU/lds-link-time-named-barrier.ll
+161-202 files not shown
+172-228 files

LLVM/project f762bae — mlir/include/mlir/Dialect/XeGPU/IR XeGPUTypes.td, mlir/lib/Dialect/XeGPU/IR XeGPUDialect.cpp

[mlir][xegpu] Reject dynamic shapes in TensorDesc type (#242540)

`-xegpu-blocking` crashes when a loop-carried `xegpu.tensor_desc` has a
dynamic dim. TensorDesc should have a static shape, but the verifier
allowed `?`. Now the verifier rejects it.

AI tool use: an AI coding assistant was used to write the code.

Fixes #203676
DeltaFile
+8-0mlir/test/Dialect/XeGPU/invalid.mlir
+2-1mlir/include/mlir/Dialect/XeGPU/IR/XeGPUTypes.td
+3-0mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp
+13-13 files

FreeNAS/freenas 467c910 — src/middlewared/middlewared/plugins/nvmet constants.py namespace.py, src/middlewared/middlewared/utils/nvmet render_common.py spdk.py

NAS-145250 / 27.0.0 /  Isolate nvmet render failures and fix FILE namespace sizing (by bmeagherix) (by bugclerk) (#20229)

A FILE namespace whose size isn't a multiple of 512 bytes works with the
kernel target but is rejected by SPDK. That single failure aborted the
whole SPDK config render, breaking unrelated namespaces, stale-config
cleanup and HA ANA state.

Changes:

1. **Isolate per-item failures in the SPDK nvmet render.** A bad item
   is logged and skipped, and the rest is applied.
2. **Add similar failure isolation for the kernel nvmet render**
3. **Validate FILE namespace size** on create and update,
  for both targets.
4. **Use the actual file size when resizing FILE namespaces.** The
   stored size could be unset (causing a crash on resize) or stale
   (letting an "expansion" truncate the file).
5. **Skips SPDK host links for subsystems not visible on the HA standby
   node.** These always failed, and previously aborted the standby's

    [11 lines not shown]
DeltaFile
+156-0tests/sharing_protocols/nvmet/test_nvmet_tcp.py
+88-52src/middlewared/middlewared/utils/nvmet/kernel.py
+62-33src/middlewared/middlewared/utils/nvmet/spdk.py
+35-8src/middlewared/middlewared/plugins/nvmet/namespace.py
+26-0src/middlewared/middlewared/utils/nvmet/render_common.py
+4-0src/middlewared/middlewared/plugins/nvmet/constants.py
+371-936 files

NetBSD/pkgsrc-wip 33e3761 — burp distinfo, burp/patches patch-manpages_burp__ca.8.in patch-manpages_burp.8.in

burp: comment patches

this fixes the remaining warnings from pkglint
DeltaFile
+4-4burp/distinfo
+3-0burp/patches/patch-Makefile.am
+2-0burp/patches/patch-manpages_burp__ca.8.in
+2-0burp/patches/patch-manpages_burp.8.in
+2-0burp/patches/patch-manpages_bedup.8.in
+13-45 files

LLVM/project eb5b522 — llvm/docs LFI.md, llvm/lib/Target/AArch64/MCTargetDesc AArch64MCLFIRewriter.cpp

[LFI] Use context register for runtime call offsets (#241549)

Since all LFI targets use a context register, we can move the rtcall
page to be offset from the context register instead of placed
immediately before the sandbox (LFI used this design to avoid needing a
context register in all configurations, a design we are no longer
looking to support). This gives us a cleaner sandbox layout. The LFI
runtime has support for ctxreg-based runtime calls.
DeltaFile
+17-12llvm/docs/LFI.md
+13-9llvm/lib/Target/X86/MCTargetDesc/X86MCLFIRewriter.cpp
+5-5llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCLFIRewriter.cpp
+1-1llvm/test/MC/X86/LFI/syscall.s
+1-1llvm/test/MC/AArch64/LFI/sys.s
+37-285 files

LLVM/project 0d5a241 — clang/lib/Serialization ModuleCache.cpp, clang/unittests/Serialization ModuleCacheTest.cpp

[clang] Remove the temporary PCM file when writing fails
DeltaFile
+28-25clang/lib/Serialization/ModuleCache.cpp
+29-0llvm/unittests/Support/Path.cpp
+17-5llvm/lib/Support/Path.cpp
+13-2clang/unittests/Serialization/ModuleCacheTest.cpp
+6-0llvm/include/llvm/Support/FileSystem.h
+93-325 files

LLVM/project db43c16 — clang/lib/Sema SemaAMDGPU.cpp, clang/test/Sema builtins-amdgcn-d16-image-16bit-error.c

[Clang][AMDGPU] Name the builtin in required target feature diagnostics (#218358)

`CheckAMDGCNBuiltinFunctionCall` checked the required target features of
the `image load, store, sample and gather4` builtins itself. This
duplicated `CodeGenUtils::checkTargetFeatures`, which CodeGen and CIR
run for every
builtin call they emit. 

Assisted by: Claude Sonnet
DeltaFile
+46-222clang/test/SemaOpenCL/builtins-extended-image-err.cl
+49-211clang/test/SemaOpenCL/builtins-image-load-image-feature-err.cl
+29-122clang/test/SemaOpenCL/builtins-image-store-image-feature-err.cl
+50-56clang/test/Sema/builtins-amdgcn-d16-image-16bit-error.c
+0-16clang/lib/Sema/SemaAMDGPU.cpp
+16-0clang/test/SemaOpenCL/builtins-image-feature-guarded.cl
+190-6271 files not shown
+204-6277 files

FreeBSD/ports d9c9a4f — sysutils Makefile, sysutils/qga-guest-exec distinfo pkg-descr

sysutils/qga-guest-exec: New port: Run commands in a guest via the QEMU Guest Agent protocol

qga-guest-exec is a utility that executes commands inside a virtual machine
guest through the QEMU Guest Agent Protocol. It connects to the guest agent
socket and requests command execution, supporting both synchronous mode with
output capture and polling, and asynchronous mode that launches the process
and exits immediately.

WWW: https://github.com/DtxdF/qga-guest-exec/
DeltaFile
+23-0sysutils/qga-guest-exec/Makefile
+5-0sysutils/qga-guest-exec/pkg-descr
+3-0sysutils/qga-guest-exec/distinfo
+1-0sysutils/Makefile
+32-04 files

LLVM/project 35b0051 — libc/src/__support/FPUtil PolyEval.h polyeval.h, libc/src/__support/math tanhf16.h tanhf.h

[libc][math] Rename PolyEval.h to polyeval.h.

Rename src/__support/FPUtil/PolyEval.h to polyeval.h to match lowercase
snake_case header naming, and update includes, CMake, and Bazel rules.
DeltaFile
+0-89libc/src/__support/FPUtil/PolyEval.h
+89-0libc/src/__support/FPUtil/polyeval.h
+1-1utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+1-1libc/src/__support/math/tanhf16.h
+1-1libc/src/__support/math/tanhf.h
+1-1libc/src/__support/math/tanf_double_eval.h
+93-9360 files not shown
+153-15366 files

FreeBSD/ports 79da7af — editors/emacs Makefile distinfo

editors/emacs: Backport fix for .dir-locals.el arbitrary code execution

Original upstream bug report: https://debbugs.gnu.org/82213

Reviewed by:    ashish
MFH:            2026Q4
Security:       05eaad8b-e202-11f1-85bb-1c697a616631
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D61647

(cherry picked from commit bef841a4fe29cf4bdf1206047b1a1c99c2e9649d)
DeltaFile
+5-1editors/emacs/distinfo
+4-1editors/emacs/Makefile
+9-22 files

LLVM/project ead442a — clang/lib/Serialization ModuleCache.cpp, clang/unittests/Serialization ModuleCacheTest.cpp

[clang] Report errors from writing the PCM instead of crashing

The `writeImpl()` function never checks the `raw_fd_ostream` for errors.
If writing the PCM fails (e.g. because the disk is full), the stream's
destructor reports a fatal error instead of `writeImpl()` returning the
error code to the caller. This PR checks the stream for errors, closing
it explicitly to also catch errors reported on close, and returns them.
DeltaFile
+102-0clang/unittests/Serialization/ModuleCacheTest.cpp
+12-0clang/lib/Serialization/ModuleCache.cpp
+114-02 files

OpenBSD/ports uakkGgt — devel/git Makefile distinfo, devel/git/patches patch-gitweb_gitweb_perl

   update to git 2.56.1
VersionDeltaFile
1.221+4-4devel/git/distinfo
1.44+2-2devel/git/patches/patch-gitweb_gitweb_perl
1.301+1-1devel/git/Makefile
+7-73 files

FreeBSD/ports bef841a — editors/emacs Makefile distinfo

editors/emacs: Backport fix for .dir-locals.el arbitrary code execution

Original upstream bug report: https://debbugs.gnu.org/82213

Reviewed by:    ashish
MFH:            2026Q4
Security:       05eaad8b-e202-11f1-85bb-1c697a616631
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D61647
DeltaFile
+5-1editors/emacs/distinfo
+4-1editors/emacs/Makefile
+9-22 files

FreeBSD/ports 022998f — security/vuxml/vuln 2026.xml

security/vuxml: Document Emacs .dir-locals.el arbitrary code execution

Reviewed by:    ashish
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D61646
DeltaFile
+39-0security/vuxml/vuln/2026.xml
+39-01 files

LLVM/project 160d2a3 — 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 9897a29 — 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 5f0dc0f — 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 c63429e — 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 1222931 — 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 38ec494 — 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 9b55b8e — 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-9llvm/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-1312 files not shown
+176-1338 files

LLVM/project 81e8762 — 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 3a920e9 — llvm/unittests/Transforms/Vectorize VPlanVerifierTest.cpp

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

LLVM/project f5e4434 — 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