RFR: 8349523: Unused runtime calls to drem/frem should be removed [v9]

Marc Chevalier duke at openjdk.org
Mon Mar 3 07:43:41 UTC 2025


> 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:

  address comments

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23694/files
  - new: https://git.openjdk.org/jdk/pull/23694/files/bfd185d8..a067f613

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=23694&range=08
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=23694&range=07-08

  Stats: 6 lines in 2 files changed: 0 ins; 0 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/23694.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23694/head:pull/23694

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


More information about the hotspot-compiler-dev mailing list