-
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
Updating lclmorph to support bitcast #71839
Comments
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch Issue DetailsWith #71567, the front end now has minimal support for It should now be feasible to address some of the To start we should likely only handle In the future this could likely be extended to struct types and potentially other primitives as well.
|
cc @dotnet/jit-contrib. |
@tannergooding is this something you hope to see in .net 8? |
This is now effectively a one-line change: runtime/src/coreclr/jit/lclmorph.cpp Lines 1027 to 1035 in fb001c4
|
@SingleAccretion you still working on this one? |
Yes, if not "right now". If someone wants to do the (small) amount of work to close this issue though, they should feel free to do so. |
With #71567, the front end now has minimal support for
GT_BITCAST
nodes including value numbering and constant folding.It should now be feasible to address some of the
TODO-ADDR
comments inLocalAddressVisitor::SelectLocalIndirTransform
andLocalAddressVisitor::MorphLocalAddress
by recognizing certain indirections as being representable as aGT_BITCAST
rather than keeping it as aGT_IND
.To start we should likely only handle
float<->int/uint
anddouble<->long/ulong
. There may also be some benefit in handling conversions surroundingsimd8
.In the future this could likely be extended to struct types and potentially other primitives as well.
category:cq
theme:morph
The text was updated successfully, but these errors were encountered: