Fix apps test on enterprise HA systems
## Problem
`test_app_with_unusable_metadata_is_reported_and_deletable` asserted that `app.available` lists the community app it installs. `app.available` only reports preferred trains, and applying a license on an HA system narrows those to the enterprise train, so the assertion failed there even though nothing was broken.
## Solution
Assert that `app.available` returns a non-zero count instead. This still exercises the full listing path over the broken app without depending on which trains are preferred.
Revert "[DAGCombiner] Don't always spill widened dynamic insertelt chains via stack" (#237145)
Reverts llvm/llvm-project#232086. The new test
insertelt-dynamic-chain-widen.ll is failing on several Buildbots.
Relates to #232235.
misc/py-safetensors: Make the PyTorch dependency optional
Upstream has torch as an extra (safetensors[torch]); the core library has no
mandatory dependencies. The port pulled py-pytorch unconditionally, for
every consumer, including those that only use the numpy path.
PR: 300030
Approved by: yuri (maintainer)
Sponsored by: Netzkommune GmbH
misc/py-diffusers: Add the missing PyTorch dependency
diffusers needs torch and had no dependency of its own; it took it from the
unconditional one in misc/py-safetensors, which is about to go away.
PR: 300030
Approved by: yuri (maintainer)
Sponsored by: Netzkommune GmbH
[mlir][ArmNeon/ArmSVE] Reorganise .td and test files (NFC) (#236797)
Group related operation definitions and tests, and add comments to make
the organisation clearer and more consistent.
* Group DOT definitions and tests together.
* Group MMLA definitions and tests together.
* Clearly separate regular operations from intrinsic operations in
ArmSVE.td.
* Move tests that exercise scalable vectors without SVE-specific
operations
from mlir/test/Target/LLVMIR/arme-sve.mlir to
mlir/test/Target/LLVMIR/scalable-vectors.mlir.
* Add TODOs identifying potentially redundant tests for future removal.
This organisation should simplify maintenance and make it clearer where
new definitions and tests belong.
[VPlan] Allow early exit loops with side effects by masking in the vector loop.
Rename UncountableExitStyle::ReadOnly to MaskedHandleExitInVectorLoop and
use it for early exit loops with stores, when every store comes after all
the early exits. Each early exiting block branches to the latch on the
lanes from the first exiting one on, so the stores after it are masked off
for them, and values from the skipped blocks are poison on those edges.
Loops fall back to MaskedHandleExitInScalarLoop if a store is in the latch,
a store isn't properly dominated by every early exiting block, the latch's
exit condition uses a value from a block the exits can skip, or a load
might fault.
[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.
NAS-144953 / 28.0.0-BETA.1 / Unskip `test_zfs_resource_snapshot_clone_zvol` (#20084)
The underlying issue was fixed by
https://github.com/truenas/middleware/pull/19760
The skipped test sat there broken (`defer` was removed a long time ago).
[mlir][ODS] Allow a space-only separator for bit enums
Bit enums required a separator containing '|' or ',', so a flag set
could not use the bare keyword syntax of LLVM IR, e.g. `nuw nsw`.
Dialects that want it, such as ClangIR's overflow flags, had to hand-write
a parser and printer for an EnumProp.
Allow `separator = " "` on new-style BitEnums. The generated
FieldParser then reads case keywords until the next token is not one,
symbolize splits on spaces, and the op-format `enum` directive parses
the same way. A literal right after such an enum that is one of its
cases is now rejected as ambiguous. Legacy BitEnumAttr keeps requiring
'|' or ','.
Assisted-by: Claude Code (Claude Opus 5.5).
rpki-client: rename crldp to dps in cert_crldp()
In a later commit I want to use crldp for something else. The one CRL
distribution point is called dp, so call the stack of distribution points
dps.
ok job
[AArch64] Don't rename fixed implicit uses when forming load/store pairs (#235446)
Fixes https://github.com/swiftlang/swift/issues/93360.
To pair two stores of the same register, the optimizer renames the first
store's register from its definition up to the store.
`canRenameMOP` accepted every implicit use as renamable, which is mostly
fine but not for implicit uses whose register is fixed.
I am investigating a follow up that would allow pairing, based on
renaming the second register, but I think this patch alone is worth
backporting.
Assisted-by: Opus 5.5
make a AuthorizedPrincipalsCommand with no specified arguments do what
it is documented to do: supply the target username as a default argument.
Anthropic ANT-2026-YX19N77E
[libc] Use a syscall wrapper for semop (#236723)
This PR move semop behind the centralized syscall wrappers, following
libc/docs/dev/syscall_wrapper_refactor.md.
---
<sub>Stack created with <a
href="https://github.com/github/gh-stack">GitHub Stacks CLI</a> • <a
href="https://gh.io/stacks-feedback">Give Feedback 💬</a></sub>
[libc] Use a syscall wrapper for semget (#236722)
This PR move semget behind the centralized syscall wrappers, following
libc/docs/dev/syscall_wrapper_refactor.md.
---
<sub>Stack created with <a
href="https://github.com/github/gh-stack">GitHub Stacks CLI</a> • <a
href="https://gh.io/stacks-feedback">Give Feedback 💬</a></sub>
[libc] Use a syscall wrapper for semctl (#236721)
This PR move semctl behind the centralized syscall wrappers, following
libc/docs/dev/syscall_wrapper_refactor.md.
---
<sub>Stack created with <a
href="https://github.com/github/gh-stack">GitHub Stacks CLI</a> • <a
href="https://gh.io/stacks-feedback">Give Feedback 💬</a></sub>