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

Marc Chevalier duke at openjdk.org
Tue Feb 25 07:56:32 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:

  Improve deletion of [fr]rem after parsing

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23694/files
  - new: https://git.openjdk.org/jdk/pull/23694/files/40af6f13..afd6f633

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

  Stats: 94 lines in 6 files changed: 91 ins; 0 del; 3 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