RFR: 8271954: C2: assert(false) failed: Bad graph detected in build_loop_late [v3]

Christian Hagedorn chagedorn at openjdk.java.net
Thu Aug 26 13:04:25 UTC 2021


On Thu, 26 Aug 2021 11:25:26 GMT, Roland Westrelin <roland at openjdk.org> wrote:

>> Christian Hagedorn has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   change condition to assertion
>
> src/hotspot/share/opto/loopPredicate.cpp line 224:
> 
>> 222:       Node* data = uncommon_proj->fast_out(j);
>> 223:       if (!data->is_CFG()) {
>> 224:         _igvn.replace_input_of(data, 0, if_uct);
> 
> don't you need to set_ctrl  for data here?

Right! I added it.

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

PR: https://git.openjdk.java.net/jdk/pull/5185


More information about the hotspot-compiler-dev mailing list