RFR: 8349523: Unused runtime calls to drem/frem should be removed [v2]
Marc Chevalier
duke at openjdk.org
Fri Feb 21 15:41:34 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:
Fix and use replace_with_con
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/23694/files
- new: https://git.openjdk.org/jdk/pull/23694/files/a9d58c85..40af6f13
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=23694&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=23694&range=00-01
Stats: 47 lines in 2 files changed: 2 ins; 24 del; 21 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