RFR: 8366815: C2: Delay Mod/Div by constant transformation [v3]

Tobias Hotz duke at openjdk.org
Mon Dec 15 08:16:57 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

IMO, this change improves things over the current mainline. Yeah, it may not be perfect, but the solution of deferring to IGVN has been discussed by several people and has been deemed to be sufficient for now.
I just hope this will not be dropped, and I would vote to merge the patch as-is

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

PR Comment: https://git.openjdk.org/jdk/pull/27886#issuecomment-3654347377


More information about the hotspot-compiler-dev mailing list