Integrated: 8288781: C1: LIR_OpVisitState::maxNumberOfOperands too small

Richard Reingruber rrich at openjdk.org
Thu Jun 23 05:45:44 UTC 2022


On Tue, 21 Jun 2022 09:13:51 GMT, Richard Reingruber <rrich at openjdk.org> wrote:

> Increment `LIR_OpVisitState::maxNumberOfOperands` by 1 to allow C1 compilation of a method that receives 21 parameters in registers instead of crashing.
> 
> Add regression test. The regression test crashes on ppc because there all parameters (8 integer + 13 float = 21) can be passed in registers.
> 
> The fix passed our CI testing. This includes most JCK and JTREG test, also in Xcomp mode, on the standard platforms and also on Linux/PPC64le.

This pull request has now been integrated.

Changeset: 3f5e48a4
Author:    Richard Reingruber <rrich at openjdk.org>
URL:       https://git.openjdk.org/jdk19/commit/3f5e48a44ee77d07dea3d2c4ae52aaf19b8dc7cb
Stats:     58 lines in 2 files changed: 57 ins; 0 del; 1 mod

8288781: C1: LIR_OpVisitState::maxNumberOfOperands too small

Reviewed-by: shade, mdoerr, thartmann

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

PR: https://git.openjdk.org/jdk19/pull/51


More information about the hotspot-compiler-dev mailing list