Closed
Description
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 in LocalAddressVisitor::SelectLocalIndirTransform
and LocalAddressVisitor::MorphLocalAddress
by recognizing certain indirections as being representable as a GT_BITCAST
rather than keeping it as a GT_IND
.
To start we should likely only handle float<->int/uint
and double<->long/ulong
. There may also be some benefit in handling conversions surrounding simd8
.
In the future this could likely be extended to struct types and potentially other primitives as well.
category:cq
theme:morph