JDK-8334724 : C2: remove PhaseIdealLoop::cast_incr_before_loop()
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 24
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-06-21
  • Updated: 2025-01-31
  • Resolved: 2024-09-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 24
24 b14Fixed
Related Reports
Relates :  
Description
I'd like to remove PhaseIdealLoop::cast_incr_before_loop(). My understanding is that it's no longer needed. It also has a bug (it doesn't check that the phi is indeed the loop phi).
Comments
Changeset: 3a88fd43 Branch: master Author: Roland Westrelin <roland@openjdk.org> Date: 2024-09-03 06:58:29 +0000 URL: https://git.openjdk.org/jdk/commit/3a88fd437dfb218df5d3338c8ee7d70416839cf8
03-09-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/19831 Date: 2024-06-21 14:34:09 +0000
09-07-2024

ILW = Unnecessary CastII nodes which also have a bug, no problem observed so far, disable compilation of affected method = MLM = P4
21-06-2024