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

Vladimir Ivanov vlivanov at openjdk.java.net
Tue Apr 27 16:37:39 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

This pull request has now been integrated.

Changeset: b2628d15
Author:    Vladimir Ivanov <vlivanov at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/b2628d15
Stats:     82 lines in 2 files changed: 81 ins; 0 del; 1 mod

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

Reviewed-by: kvn, thartmann

-------------

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


More information about the hotspot-compiler-dev mailing list