RFR: 8347459: C2: missing transformation for chain of shifts/multiplications by constants

Dean Long dlong at openjdk.org
Mon Feb 24 23:49:52 UTC 2025


On Mon, 24 Feb 2025 10:42:25 GMT, Marc Chevalier <duke at openjdk.org> wrote:

> I didn't add a test for the simple `1 << 33` since my code doesn't kick in unless there are 2 shifts, so nothing should have changed here. I can add such a test if you think it's needed.

I don't know if it's needed (we might have that covered in other tests), but adding now seems like a good idea for completeness.

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

PR Comment: https://git.openjdk.org/jdk/pull/23728#issuecomment-2679958314


More information about the hotspot-compiler-dev mailing list