RFR: 8314191: C2 compilation fails with "bad AD file" [v2]

Tobias Hartmann thartmann at openjdk.org
Mon Sep 4 12:43:39 UTC 2023


On Mon, 4 Sep 2023 12:33:20 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:

>> Hi,
>> 
>> The root cause is that the comparison in the form `x + inc <=> bound` being transformed into `x u<=> bound - min_value` when `inc` is the min value of the loop type. The fix I propose is to avoid the transformation when either side is a counted loop increment.
>> 
>> Thanks a lot.
>
> Quan Anh Mai has updated the pull request incrementally with one additional commit since the last revision:
> 
>   TraceLoopOpt not needed

Looks good to me.

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

Marked as reviewed by thartmann (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/15551#pullrequestreview-1609469327


More information about the hotspot-compiler-dev mailing list