RFR: 8344026: [s390x] ubsan failure: signed integer overflow in c1_LIRGenerator_s390.cpp

Martin Doerr mdoerr at openjdk.org
Mon Nov 18 20:37:59 UTC 2024


On Fri, 15 Nov 2024 10:04:51 GMT, Amit Kumar <amitkumar at openjdk.org> wrote:

> This PR adds `c > 0 && c < max_jint` check in c1_LIRGenerator_s390.cpp. Please look JBS for more info.

Well, `strength_reduce_multiply` in C1 has probably no real benefit because we have C2. Nevertheless, I think it's nice to have some simple optimizations.

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

PR Comment: https://git.openjdk.org/jdk/pull/22144#issuecomment-2484074611


More information about the hotspot-compiler-dev mailing list