[lworld] Integrated: 8262025: [lworld] C2 should optimize acmp of the same inline type
Tobias Hartmann
thartmann at openjdk.java.net
Mon Feb 22 09:29:02 UTC 2021
On Fri, 19 Feb 2021 12:57:21 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:
> I've noticed that a simple `val == val` where `val` is an inline type is not optimized by C2. The reason is that we are buffering the inline type operands before applying optimizations. The fix is to simply check for equality before that.
>
> Best regards,
> Tobias
This pull request has now been integrated.
Changeset: 11cda281
Author: Tobias Hartmann <thartmann at openjdk.org>
URL: https://git.openjdk.java.net/valhalla/commit/11cda281
Stats: 73 lines in 3 files changed: 73 ins; 0 del; 0 mod
8262025: [lworld] C2 should optimize acmp of the same inline type
Reviewed-by: dsimms
-------------
PR: https://git.openjdk.java.net/valhalla/pull/343
More information about the valhalla-dev
mailing list