[VPlan] Don't pack predicated values only used as scalars. (#242903)
When only scalars are used, avoid the vector round trip by skipping
packing the scalars in a vector, and instead using them via their scalar
phis.
Add a helper to determine whether only scalars are used, to be re-use in
follow-up.
[CodeGen] Stop trailing debug instructions from changing liveness queries (#235667)
When `computeRegisterLiveness` exhausts its bounded forward scan on the
block's last ordinary instruction, a trailing debug instruction or
pseudo
probe leaves the iterator short of `end()`. The end-of-block successor
live-in check is missed, so the fallback scan can return `LQR_Live` or
`LQR_Unknown` where `LQR_Dead` is expected. In `X86FixupLEAs`, this
keeps a
two-address LEA instead of converting it to ADD.
Skip trailing debug instructions and pseudo probes before the
end-of-block
check. Extend the existing X86FixupLEAs MIR test with the exact
ten-instruction boundary. A C reproducer emits `leaq (%rax,%rsi), %rax`
with
`-g` and `addq %rsi, %rax` with `-g0`; the patch makes both use ADD.
This issue was found by a non-AI automated testing tool. AI assisted
with the analysis and development of the fix.
[ARM] Preserve Thumb1 compare elimination across debug instructions (#237505)
A debug value between a Thumb1 multiply and compare prevents the
existing `MULS/MOVS/MOVS/CMP` reorder. As a result, debug builds retain
a redundant compare that is eliminated without debug information.
Move the intervening `MOVS` instructions before the multiply instead of
moving the multiply past the debug value. This keeps debug values after
the definitions they describe while allowing the compare to be
eliminated.
Fixes #227925
This issue was found by a non-AI automated testing tool. AI assisted
with the analysis and development of the fix.
[VPlan] Support non-constant steps for VPScalarIVSteps in getSCEVExpr (#242896)
The IV operand of a VPScalarIVStepsRecipe already advances by the
recipe's step in each iteration, so its SCEV is the recipe's value for
the first lane of the current scalar iteration, independent of the step.
Return it for any step, instead of only constant steps.
Also return SCEVCouldNotCompute for recipes with a start index, which
add StartIndex * Step. Start indices are only set by unrolling and
replication, after the users of getSCEVExprForVPValue that pass a loop,
so this is defensive and does not change behavior.
The only use is the VPlan-based cost model, and VPRelpicateRecipes fall
back to legacy cost model in fewer places with the change.
[LV] Add tests for predicated udivs used by replicated recipes (NFC). (#242895)
Add tests where a predicated udiv with various uses in different regions
and cost tests
py-uv*: update to 0.13.8
Python
Add CPython 3.16.0a2 (#23211)
Update managed CPython 3.11, 3.12, 3.13, 3.14, and 3.15 builds to include pip 26.3, zlib 1.4, and Expat 2.10.0 (#23211)
Update GraalPy 3.13.0 to build 25.5.5 (#23088)
Preview features
Install wheel variants from local paths, direct URLs, and Git repositories in platform-specific resolutions (#22720, #22722, #22724)
Detect x86-64 microarchitecture levels and AArch64 architecture versions when selecting wheel variants (#22832, #22949)
Detect Google TPUs up when selecting wheel variants (#23066, #23121)
Fix CPU detection for wheel variants on macOS with GraalPy (#23089)
Report quarantined packages in uv audit when index URLs differ only in redacted query values (#23129)
Performance
Avoid duplicate environment builds when concurrent uvx or uv run --with invocations need the same environment (#23123)
[12 lines not shown]
[LAA] Add tests for miscompiles and monotonic bounds (NFC). (#242898)
Add a number of tests for cases where LAA currently computes incorrect
results: access size ignored in isSafeDependenceDistance, unchecked
dependences between multiple stores through the same pointer, and header
phis with a loop-varying latch value treated as forks.
Also add tests for non-affine pointers clamped with umin/umax/smin/smax
and zext, including cases that must not be bounded.
[KnownFPClass] Refine deductions for trunc/floor/ceil (#231368)
Follow up to https://github.com/llvm/llvm-project/pull/229982
Also refactors `KnownFPClass::roundToIntegral` to use the
`applyInputDenormalMode` helper.
science/*: restrict some pre-requisites of Code_Aster to amd64
These ports fail on non-amd64 for various reasons. Some of these errors
could surely be fixed, but that’s of no interest.
science/*: restrict some pre-requisites of Code_Aster to amd64
These ports fail on non-amd64 for various reasons. Some of these errors
could surely be fixed, but that’s of no interest.
[ValueTracking][KnownFPClass] Support constrained fadd/fsub (#241060)
Adds a rounding mode parameter to `KnownFPClass::fadd` and
`KnownFPClass::fsub` to support `constrained_fadd`/`constrained_fsub`
and `G_STRICT_FADD`/`G_STRICT_FSUB`.