-
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
Implement constant-folding for VNF_BitCast
#68979
Implement constant-folding for VNF_BitCast
#68979
Conversation
Tagging subscribers to this area: @JulieLeeMSFT Issue DetailsCompletes the support for said function. A small number of diffs in tests where we form new constants from
|
2fda552
to
c73ed51
Compare
Windows ARM64 failures with empty logs look like infrastructure issues. @dotnet/jit-contrib |
Still needs some work. |
628eeba
to
1e1aaa2
Compare
Should be complete at this point. |
1e1aaa2
to
163a537
Compare
/azp run runtime |
Azure Pipelines successfully started running 1 pipeline(s). |
A few small diffs in tests where we now form new constants for "long/int <-> double/float>" reinterpretations. Completes the support for "VNF_BitCast" and removes the SIMD quirk from "VNForLoadStoreBitCast".
163a537
to
ed4d088
Compare
Only usage of "active" union members is well-defined in C++.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Completes the support for said function.
A small number of diffs:
FP <-> integer
reinterpretations.BitCast
logic can skip redundant casts for small types in some cases. This new precision is not all that useful however because the new CSE defs throw exceptions different from their uses (typical case:Def: field = array[0]; Use: read field; Use: read field
).