RFR: 8357726: C2 fails to recognize the counted loop when induction variable range is changed multiple times

Xiaohong Gong xgong at openjdk.org
Tue Jun 3 05:39:53 UTC 2025


On Mon, 2 Jun 2025 10:51:21 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

> @XiaohongGong I suggest you change the title from: `8357726: C2 fails to recognize the counted loop when induction variable range is changed multiple times` to `8357726: C2 recognize loops with multiple casts in trip counter` or even: `8357726: C2 recognize loops with multiple casts in trip counter: phi -> CastII* -> AddI -> phi`

Thanks for your suggestion! Sounds better to me. How about changing the title to `Improve C2 to recognize counted loops with multiple casts in trip counter` ?

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

PR Comment: https://git.openjdk.org/jdk/pull/25539#issuecomment-2933530238


More information about the hotspot-compiler-dev mailing list