[lworld] RFR: 8257154: [lworld] AndLNode::Identity optimization does not handle top input

Tobias Hartmann thartmann at openjdk.java.net
Thu Nov 26 11:22:19 UTC 2020


The memory input of the load can be top if the subgraph is dead but has not been removed. The fix is to simply reorder the checks to bail out if the input is not a pointer.

Thanks,
Tobias

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

Commit messages:
 - 8257154: [lworld] AndLNode::Identity optimization does not handle top input

Changes: https://git.openjdk.java.net/valhalla/pull/280/files
 Webrev: https://webrevs.openjdk.java.net/?repo=valhalla&pr=280&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8257154
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/valhalla/pull/280.diff
  Fetch: git fetch https://git.openjdk.java.net/valhalla pull/280/head:pull/280

PR: https://git.openjdk.java.net/valhalla/pull/280


More information about the valhalla-dev mailing list