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

Marc Chevalier duke at openjdk.org
Wed Feb 19 12:52:57 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

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

Commit messages:
 - fix test
 - i
 - format
 - reformat
 - comment
 - fix test
 - Remove frem/drem in Ideal

Changes: https://git.openjdk.org/jdk/pull/23694/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23694&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8349523
  Stats: 72 lines in 4 files changed: 70 ins; 0 del; 2 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