RFR: 8263972: C2: LoadVector/StoreVector type mismatch in MemNode::can_see_stored_value()

Vladimir Ivanov vlivanov at openjdk.java.net
Tue Apr 27 16:37:37 UTC 2021

On Mon, 26 Apr 2021 16:07:45 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:

> `MemNode::can_see_stored_value()` doesn't take type info for `LoadVector`/`StoreVector` into account.
> Eliminating `LoadVector`/`StoreVector` pair in presence of a type mismatch leads to a broken graph (omitting vector cast nodes) and sometimes manifest as a broken generated code. 
> The fix adds necessary checks for vector case. 
> Testing:
> - [x] regression test
> - [x] hs-tier1 - hs-tier4

Thanks for the reviews, Vladimir and Tobias.


PR: https://git.openjdk.java.net/jdk/pull/3698

More information about the hotspot-compiler-dev mailing list