RFR: 8354383: C2: enable sinking of Type nodes out of loop [v2]

Roland Westrelin roland at openjdk.org
Mon May 26 07:24:43 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.

Roland Westrelin has updated the pull request incrementally with one additional commit since the last revision:

  review

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25396/files
  - new: https://git.openjdk.org/jdk/pull/25396/files/8a3f8cd3..bebfec3f

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

  Stats: 2 lines in 1 file changed: 1 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