RFR: 8354383: C2: enable sinking of Type nodes out of loop

Roland Westrelin roland at openjdk.org
Thu May 22 15:57:02 UTC 2025


`PhaseIdealLoop::try_sink_out_of_loop()` excludes `Type` nodes because
we ran into some issues where a `Type` node is sunk and then becomes
`top` but the control path of its uses doesn't become unreachable.

8349479 should have fixed that so that exception no longer makes
sense.

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

Commit messages:
 - more
 - fix

Changes: https://git.openjdk.org/jdk/pull/25396/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25396&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8354383
  Stats: 6 lines in 1 file changed: 5 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/25396.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25396/head:pull/25396

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


More information about the hotspot-compiler-dev mailing list