[jdk16] Integrated: 8260284: C2: assert(_base == Int) failed: Not an Int
Christian Hagedorn
chagedorn at openjdk.java.net
Mon Jan 25 17:12:50 UTC 2021
On Fri, 22 Jan 2021 14:09:06 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:
> `PhaseIterGVN::no_dependent_zero_check()` does not handle the case when the divisor `n->in(2)` is top when a Div/Mod node is dying. As a result, we hit the assertion in `is_int()` because the type is top.
>
> The fix is straight forward to handle this case and just return false to avoid any further redundant optimization on a dead node.
>
> Thanks,
> Christian
This pull request has now been integrated.
Changeset: c5ab7c32
Author: Christian Hagedorn <chagedorn at openjdk.org>
URL: https://git.openjdk.java.net/jdk16/commit/c5ab7c32
Stats: 94 lines in 2 files changed: 94 ins; 0 del; 0 mod
8260284: C2: assert(_base == Int) failed: Not an Int
Reviewed-by: thartmann, kvn
-------------
PR: https://git.openjdk.java.net/jdk16/pull/129
More information about the hotspot-compiler-dev
mailing list