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

Vladimir Kozlov kvn at openjdk.org
Tue Aug 9 17:01:19 UTC 2022


On Sat, 6 Aug 2022 05:18:13 GMT, Yi Yang <yyang 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.

Right. I mixed `ret` long type with `val`.

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

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


More information about the hotspot-compiler-dev mailing list