RFR: 8274145: C2: Incorrect computation after JDK-8269752
Roland Westrelin
roland at openjdk.java.net
Fri Oct 8 14:45:12 UTC 2021
On Tue, 5 Oct 2021 19:47:47 GMT, Nils Eliasson <neliasso at openjdk.org> wrote:
>> The bug happens because an If node that follows a CountedLoop is
>> replaced by the CountedLoopEnd node of the main loop. Further
>> unrolling happens after the If is replaced which causes the condition
>> of the CountedLoopEnd node to change. This is made possible by
>> JDK-8269752. The fix I propose is to detect that corner case and
>> prevent the If to be replaced in that case.
>
> Please change the bug title to something more descriptive.
thanks for the reviews @neliasso @vnkozlov
-------------
PR: https://git.openjdk.java.net/jdk/pull/5712
More information about the hotspot-compiler-dev
mailing list