Repository navigation
Description
Summary:
JIT assertion 'FPbased' fires during code generation for SVE2 hardware intrinsics tests and Runtime_105944 regression test under jitstress on arm64 (both linux-arm64 and windows-arm64).
Failed in (1):
Console Log: Console Log
Failed tests:
runtime-coreclr jitstress (build 1413254)
- net11.0-linux-Release-arm64-jitstress1-Ubuntu.2204.Arm64.Open
- HardwareIntrinsics_Arm_r
- HardwareIntrinsics_Arm_ro
- Regression_2
- net11.0-linux-Release-arm64-jitstress2-Ubuntu.2204.Arm64.Open
- HardwareIntrinsics_Arm_r
- HardwareIntrinsics_Arm_ro
- Regression_2
- net11.0-linux-Release-arm64-jitstressregs8-Ubuntu.2204.Arm64.Open
- HardwareIntrinsics_Arm_r
- HardwareIntrinsics_Arm_ro
- net11.0-windows-Release-arm64-jitstress1-Windows.11.Arm64.Open
- HardwareIntrinsics_Arm_r
- HardwareIntrinsics_Arm_ro
- Regression_2
- net11.0-windows-Release-arm64-jitstressregs8-Windows.11.Arm64.Open
- HardwareIntrinsics_Arm_r
- HardwareIntrinsics_Arm_ro
```
**Error Message:**
```
Assert failure(PID 40099 [0x00009ca3], Thread: 40099 [0x9ca3]): Assertion failed 'FPbased' in 'JIT.HardwareIntrinsics.Arm._Sve2.SimpleUnaryOpTest__Sve2_AbsSaturate_short:ConditionalSelectScenario_FalseValue(System.Numerics.Vector`1[short],System.Numerics.Vector`1[short],System.Numerics.Vector`1[short]):this' during 'Generate code' (IL size 33; hash 0xadf10ad3; MinOpts)
```
**Stack Trace:**
```
Assertion failed 'FPbased' in 'JIT.HardwareIntrinsics.Arm._Sve2.SimpleUnaryOpTest__Sve2_AbsSaturate_short:ConditionalSelectScenario_FalseValue(...)' during 'Generate code' (IL size 33; hash 0xadf10ad3; MinOpts)
Exit Code: 22
Assertion failed 'FPbased' in 'Runtime_105944.Runtime_105944:ReorderSetGetFfr(ptr):bool' during 'Generate code' (IL size 75; hash 0x514d3fed; Tier0)
Exit Code: 22
Impact on platforms:
- runtime-coreclr jitstress + linux arm64 + Ubuntu.2204.Arm64.Open + jitstress1/jitstress2/jitstressregs8 + exit code 1
- runtime-coreclr jitstress + windows arm64 + Windows.11.Arm64.Open + jitstress1/jitstressregs8 + exit code 1
First build it occurred: First seen in build 1413254 (2026-05-08) within the scanned window. 8 work items failing across 2 legs in a single build. Prior jitstress builds had Phase-level build breaks (windows-arm64 checked) which may have masked this failure. Note: this is within the scanned window and may not be the true origin.
Recommended action: This is a JIT product bug in the ARM64 SVE2 code generation path. The FPbased assertion fires during Generate code phase when compiling SVE2 intrinsic test methods under jitstress (MinOpts/Tier0). The assertion indicates the JIT is incorrectly assuming a frame-pointer-based frame layout for these methods. This needs investigation by the JIT team — likely in the ARM64 SVE/SVE2 backend register allocator or frame layout code.
Generated by CI Outer-Loop Failure Scanner · ● 26.1M · ◷
Activity
dotnet-policy-service commentedon May 8, 2026
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.
JulieLeeMSFT commentedon May 8, 2026
@a74nh, PTAL. Cc @dhartglassMSFT.
dhartglassMSFT commentedon May 9, 2026
Frame pointer assert in SVE code, possibly related to 270715b , pinging @snickolls-arm also
Mute SVE2 and Runtime_105944 tests under jitstress (FPbased assertion)
VincentBu commentedon May 11, 2026
Failed in: runtime-coreclr gcstress-extra 20260509.1
Failed tests:
Error message:
Stack trace:
snickolls-arm commentedon May 11, 2026
Will take look today. I can see the codegen for SVE ldr/str is assuming the frame is always going to be addressable using FP, but I know that's not the case for some of the rarer frame types.
snickolls-arm commentedon May 11, 2026
I've pushed a fix here: #128037
I can't reproduce the issue locally, with
DOTNET_JitStress=2andDOTNET_TieredCompilation=0the failing tests seem to pass. However, the assertion was incorrect so I've replaced it with correct codegen.kg commentedon May 11, 2026
Failed in (4):
Console Log: Console Log
Source: runtime-coreclr jitstress-random / coreclr linux arm64 Checked jitstress_random_1 @ AzureLinux.3.Arm64.Open / HardwareIntrinsics_Arm_r
Generated by ci-pipeline-monitor/scripts/update_github.py
Arm64: Fix loads and stores for stack allocated vectors and masks (#1…
Arm64: Fix loads and stores for stack allocated vectors and masks (#1…