Integrated: 8349523: Unused runtime calls to drem/frem should be removed

Marc Chevalier duke at openjdk.org
Mon Mar 3 09:35:58 UTC 2025


On Wed, 19 Feb 2025 12:47:03 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

This pull request has now been integrated.

Changeset: 4109c73a
Author:    Marc Chevalier <marc.chevalier at oracle.com>
URL:       https://git.openjdk.org/jdk/commit/4109c73a78c424d409e9fdd96913a772467666c8
Stats:     253 lines in 9 files changed: 236 ins; 0 del; 17 mod

8349523: Unused runtime calls to drem/frem should be removed

Reviewed-by: thartmann, kvn, chagedorn

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

PR: https://git.openjdk.org/jdk/pull/23694


More information about the hotspot-compiler-dev mailing list