C2: fix zeroing elimination with heap allocated value types
tobias.hartmann at oracle.com
Tue Jan 3 11:43:03 UTC 2017
On 03.01.2017 11:29, Roland Westrelin wrote:
> Tobias noticed zeroing elimination doesn't trigger when value types are
> heap allocated.
> With this change initialization stores are captured by the allocation
> and some of them show up as raw memory stores: that's why test9 had to
> be tweaked.
This looks good to me! Do we still need the call to set_complete_with_arraycopy() in ValueTypeNode::store_to_memory() that I tried to add in my value type array prototype ?
More information about the valhalla-dev