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

JIT: Disable fgMorphCastedBitwiseOp opt for floats #61657

Merged
merged 1 commit into from
Nov 16, 2021

Conversation

EgorBo
Copy link
Member

@EgorBo EgorBo commented Nov 16, 2021

Fixes #61629

@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 Nov 16, 2021
@ghost
Copy link

ghost commented Nov 16, 2021

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

Issue Details

Fixes #61629

Author: EgorBo
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

Copy link
Member

@jakobbotsch jakobbotsch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Some motivation to add float support in Fuzzlyn :)

Test(100, 200.0) + Test(Math.PI, Math.PI) - 72;

[MethodImpl(MethodImplOptions.NoInlining)]
static int Test(double a, double b)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this fail on current main branch?

Copy link
Member Author

@EgorBo EgorBo Nov 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In Checked builds where we have lots of asserts in JIT - yes. For Release one I am not sure

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was seeing InvalidProgramException getting thrown for the pattern in the issue in release builds. So likely for this one too.

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
Projects
None yet
5 participants