RFR: 8349523: Unused runtime calls to drem/frem should be removed [v2]
Tobias Hartmann
thartmann at openjdk.org
Mon Feb 24 06:07:58 UTC 2025
On Fri, 21 Feb 2025 15:41:34 GMT, Marc Chevalier <duke at openjdk.org> wrote:
>> Remove frem and drem macros nodes when the result is not used. These nodes have other outputs (like memory), which is not meaningful, but preventing them to be dropped so easily. This patch removes the useless frem/drem nodes, and by rewiring the inputs to the outputs.
>>
>> Thanks,
>> Marc
>
> Marc Chevalier has updated the pull request incrementally with one additional commit since the last revision:
>
> Fix and use replace_with_con
Looks good to me too.
-------------
Marked as reviewed by thartmann (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/23694#pullrequestreview-2636068801
More information about the hotspot-compiler-dev
mailing list