RFR: 8290432: C2 compilation fails with assert(node->_last_del == _last) failed: must have deleted the edge just produced [v2]

Yi Yang yyang at openjdk.org
Sat Aug 6 05:23:23 UTC 2022


On Fri, 5 Aug 2022 22:33:48 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> BUT. `val` is `long` type. Why we are trying to use it as IV instead of existing `int i`? I think the issue is not in Cast node. There is mixture of `long` and `int` types here which confuses loop optimizer. What if `val` was `int` type?

val is type of int! And we are not trying to use it instead of existing `int i`, we are using both of them as IV.

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

PR: https://git.openjdk.org/jdk/pull/9695


More information about the hotspot-compiler-dev mailing list