RFR: 8312547: Max/Min nodes Value implementation could be improved

Quan Anh Mai qamai at openjdk.org
Tue Jul 25 15:09:58 UTC 2023


Hi,

This patch removes the early return in `AddNode::Value` in case one of the inputs is a bottom, which may affect the value calculation of nodes such as `Min/MaxNode`.

Please kindly review, thanks very much.

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

Commit messages:
 - AddNode::Value should not return early
 - AddNode::Value should not return early

Changes: https://git.openjdk.org/jdk/pull/15021/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15021&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8312547
  Stats: 39 lines in 2 files changed: 22 ins; 5 del; 12 mod
  Patch: https://git.openjdk.org/jdk/pull/15021.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15021/head:pull/15021

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


More information about the hotspot-compiler-dev mailing list