RFR: 8319764: C2 compilation asserts during incremental inlining because Phi input is out of bounds [v2]

Roland Westrelin roland at openjdk.org
Wed Nov 15 16:08:53 UTC 2023


On Wed, 15 Nov 2023 08:30:33 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> Looks reasonable to me. Could you elaborate on why this wasn't an issue before [JDK-8312980](https://bugs.openjdk.org/browse/JDK-8312980)?

Logic was quite different: it would go over the phi inputs looking for one that was of interest and then only looked at the region's input for that phi input so a phi with fewer inputs than the region wasn't an issue.

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

PR Comment: https://git.openjdk.org/jdk/pull/16648#issuecomment-1812816836


More information about the hotspot-compiler-dev mailing list