-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SPMI for Arm64 failing asserting for argReg == argNode->GetRegNum()
#101070
Comments
Tagging subscribers to this area: @hoyosjs |
This is failing for a number of the legs (any that actually run the SPMI jobs): https://dev.azure.com/dnceng-public/public/_build?definitionId=150&_a=summary This was likely introduced in #100589 and is probably related to the |
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch |
Build analysis seems not to be matching on this... any idea why? |
Build analysis has been restricted to the CI/PR pipeline for now. There is engineering work to re-enable for our other pipelines. |
The storex instructions allow for register wraparound (eg 30, 31, 0, 1). If the register allocator supports this, then the assert in hwintrinsiccodegenarm64.cpp is incorrect - it needs to allow for the register to wrap back to 0. Alternatively - if the register allocator doesn't support wrap around then my only thought is that the allocator is failing to allocate a valid sequence and silently failing. |
LSRA does support wrap around, so we should update the assert accordingly. But have you confirmed that this indeed is a wrap around case? During my testing, I never encountered the case where wrap around was needed. runtime/src/coreclr/jit/lsraarm64.cpp Lines 242 to 301 in f021ccf
|
Indeed, we needed to wraparound the argReg - #101430 implements it. |
Fixed by #101430 |
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=643030&view=logs&jobId=80130f07-32fc-5c19-809b-35051dcc5ef5
Build error leg or test failing: SuperPMI replay windows x64 checked
Error Message
Fill the error message using step by step known issues guidance.
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=643030
Error message validated:
[argReg == argNode->GetRegNum()
]Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 4/16/2024 2:58:03 PM UTC
Report
Summary
The text was updated successfully, but these errors were encountered: