Uh oh!
There was an error while loading. Please reload this page.
[release/7.0] Use the register of CAST for contained index operator - #75145
Conversation
* Rename test files * Fix index scale for cast * Do not contain index if indir is not containable. * Revert "Do not contain index if indir is not containable." This reverts commit e79d17d92ceb0eed5ae1bfd03c2d1d6b171ab17f. * Instead try to contain the LEA * IsSafeToContainMem() check * Do IsSafeToContainMem() only if needed * Add test case * Fix merge error * fix the test case * review comment
kunalspathak
commented
Sep 6, 2022
@dotnet/jit-contrib |
ghost
commented
Sep 6, 2022
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch Issue DetailsIf index is contained and the underlying operator is GT_CAST we were not handling that case and that led to using REG_COUNT register from index in genScaledAdd() . I have fixed it and also added checks to see if more such cases are missing. Fixes: #74117
|
carlossanlop
commented
Sep 6, 2022
@BruceForstall can we get a code review sign off? |
jeffschwMSFT
left a comment
There was a problem hiding this comment.
approved. once we get a green ci we can merge.
carlossanlop
commented
Sep 6, 2022
There were a ton of llvmaot failures. Are they related to this change? All failed with the same error code: |
kunalspathak
commented
Sep 6, 2022
Original PR didn't had those. The failure seems very fundamental that it failed to initialize coreclr. May be rerun? |
carlossanlop
commented
Sep 6, 2022
@jkotas@MichalStrehovsky do the above llvmaot failures look familiar to you? Should I open an issue? I am unsure if any of the open issues with that error number is the same: https://github.com/dotnet/runtime/issues?q=is%3Aissue+is%3Aopen+0x80004005 |
MichalStrehovsky
commented
Sep 7, 2022
llvmaot is Mono. Looks like #72114. Cc @lambdageek@SamMonoRT |
carlossanlop
commented
Sep 7, 2022
Approved and signed off. |
Backport of #74275
If index is contained and the underlying operator is GT_CAST we were not handling that case and that led to using REG_COUNT register from index in genScaledAdd() . I have fixed it and also added checks to see if more such cases are missing.
Fixes: #74117