RFR: 8366815: C2: Delay Mod/Div by constant transformation [v3]
Quan Anh Mai
qamai at openjdk.org
Sat Nov 8 14:08:04 UTC 2025
On Thu, 30 Oct 2025 18:23:46 GMT, Hannes Greule <hgreule at openjdk.org> wrote:
>> The test cases show examples of code where `Value()` previously wasn't run because idealization took place before, resulting in less precise type analysis.
>>
>> Please let me know what you think.
>
> Hannes Greule has updated the pull request incrementally with one additional commit since the last revision:
>
> review
Since this is a transformation ordering issue, I think it is best to serialize the transformations. My proposal is to have a separate `PhaseDivConstant` that runs after some rounds of `IterGVN` and before the loop opts.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27886#issuecomment-3506577422
More information about the hotspot-compiler-dev
mailing list