Skip to content
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

Fix failing BitCast test #98271

Closed
wants to merge 2 commits into from
Closed

Conversation

MichalPetryka
Copy link
Contributor

Fixes the new tests from #97983 failing on ARM.

@ghost ghost added the community-contribution Indicates that the PR has been added by a community member label Feb 10, 2024
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Feb 10, 2024
@ghost
Copy link

ghost commented Feb 10, 2024

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes the new tests from #97983 failing on ARM.

Author: MichalPetryka
Assignees: -
Labels:

area-CodeGen-coreclr, community-contribution

Milestone: -

@ryujit-bot
Copy link

Diff results for #98271

Throughput diffs

Throughput diffs for linux/arm64 ran on windows/x64

MinOpts (-0.00% to +0.01%)
Collection PDIFF
libraries.pmi.linux.arm64.checked.mch +0.01%

Details here


@BruceForstall
Copy link
Member

@EgorBo PTAL
cc @dotnet/jit-contrib

@MichalPetryka
Copy link
Contributor Author

MichalPetryka commented Feb 26, 2024

The fix here is incomplete as gtNewLoadValueNode will transform indirect loads into variable loads which causes issues still, I've discussed it with @SingleAccretion on Discord and we weren't sure what's the best fix here (a simple fix would be to remove that optimization for unaligned loads but it could needlessly pessimize most platforms).
For context, this issue also affects stuff like ReadUnaligned and makes it do aligned loads when it gets a LCL_ADDR.

Copy link
Contributor

Draft Pull Request was automatically closed for 30 days of inactivity. Please let us know if you'd like to reopen it.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants