[jdk17] RFR: 8269752: C2: assert(false) failed: Bad graph detected in build_loop_late [v2]

Roland Westrelin roland at openjdk.java.net
Tue Jul 13 14:43:37 UTC 2021


On Tue, 13 Jul 2021 14:04:29 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:

>> Roland Westrelin has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   braces
>
> Nice analysis, that looks reasonable to me.

@chhagedorn  thanks for the review

> src/hotspot/share/opto/loopTransform.cpp line 2936:
> 
>> 2934: 
>> 2935:   // Find RCE'd post loop so that we can stage its guard.
>> 2936:   if (legacy_cl->is_canonical_loop_entry() == NULL) return multi_version_succeeded;
> 
> Can you also add braces here?

done.

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

PR: https://git.openjdk.java.net/jdk17/pull/247


More information about the hotspot-compiler-dev mailing list