Integrated: 8283740: C1: Convert flag TwoOperandLIRForm to a constant on all platforms

Damon Fenacci duke at openjdk.org
Mon Dec 19 08:52:00 UTC 2022


On Wed, 14 Dec 2022 12:51:58 GMT, Damon Fenacci <duke at openjdk.org> wrote:

> The  _TwoOperandLIRForm_ flag (LIR requires src1 and dst to match in binary LIR ops) can be set at runtime but each platform defines a default value that is the only one accepted. Although some platform could theoretically support both, there is no realistic scenario for this.
> The flag is removed in favour of a constant. This is defined as enum and its assigned value is defined in the platform-specific def.

This pull request has now been integrated.

Changeset: 86d588b0
Author:    Damon Fenacci <damon.fenacci at oracle.com>
Committer: Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/86d588b035d09141d807dbed6b91d9909782d61a
Stats:     62 lines in 19 files changed: 29 ins; 9 del; 24 mod

8283740: C1: Convert flag TwoOperandLIRForm to a constant on all platforms

Reviewed-by: thartmann, chagedorn

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

PR: https://git.openjdk.org/jdk/pull/11671


More information about the hotspot-dev mailing list