[lworld] RFR: 8262025: [lworld] C2 should optimize acmp of the same inline type [v2]

David Simms dsimms at openjdk.java.net
Mon Feb 22 09:25:00 UTC 2021


On Fri, 19 Feb 2021 14:11:08 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
>
> Tobias Hartmann has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fixed test bug

Runtime bits look good.

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

Marked as reviewed by dsimms (Committer).

PR: https://git.openjdk.java.net/valhalla/pull/343


More information about the valhalla-dev mailing list