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

Hannes Greule hgreule at openjdk.org
Mon Nov 10 08:23:05 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

That would work too, and would lower the need for a Cast-like node (although another phase is less flexible). I don't have a strong opinion here, but others might have :)

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

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


More information about the hotspot-compiler-dev mailing list