-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Failures in checked/release asm diffs #79560
Comments
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch Issue DetailsDescriptionPipeline runtime-coreclr superpmi-asmdiffs-checked-release has found some diff on assembly generated with checked and release version using windows x64 with clrjit_unix_x64_x64. Example:
Reproduction Steps
Expected behaviorNo diff found Actual behaviorMany diffs found:
Regression?No response Known WorkaroundsNo response Configurationlinux x64 jit dll, from a x64 checked and release built of coreclr Other informationNo response
|
The last known commit without diffs is #79136 (one week ago), I will bisect later to get the commit introducing it |
I'll look into this failure. |
I'm looking at a Checked/Release diff in Linux/x64 in Before #79194, we have (for a fragment):
after:
So, the In the Checked/Release diffs, we have an additional live range in the Release case for
Note that before #79194, there was a live range for
|
This issue is code in codegenxarch.cpp, Before:
after:
|
Code inside a `#ifdef DEBUG` had a side-effect not visible to Release builds. Pull that code out of the `#ifdef`. Fixes dotnet#79560
Code inside a `#ifdef DEBUG` had a side-effect not visible to Release builds. Pull that code out of the `#ifdef`. Fixes #79560
Description
Pipeline runtime-coreclr superpmi-asmdiffs-checked-release has found some diff on assembly generated with checked and release version using windows x64 with clrjit_unix_x64_x64.
Example:
All log on https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-heads-main-3b77ca8ead1344baa1/unix-x64/1/console.82b2c8cb.log?helixlogtype=result
Reproduction Steps
.\build.cmd clr+libs -rc checked -lc release; .\src\tests\build.cmd checked generatelayoutonly;.\build.cmd clr+libs -rc release -lc release; .\src\tests\build.cmd release generatelayoutonly;
python <repo_path>\src\coreclr\scripts\superpmi_asmdiffs_checked_release.py --diff_with_release -base_jit_directory <repo_path>\artifacts\tests\coreclr\windows.x64.Release\Tests\Core_Root\ -diff_jit_directory <repo_path>\artifacts\tests\coreclr\windows.x64.Checked\Tests\Core_Root\ -log_directory <log_path> -arch x64 -platform Linux
Expected behavior
No diff found
Actual behavior
Many diffs found:
Regression?
No response
Known Workarounds
No response
Configuration
linux x64 jit dll, from a x64 checked and release built of coreclr
Other information
No response
The text was updated successfully, but these errors were encountered: