RFR: 8320649: C2: Optimize scoped values [v4]

Emanuel Peter epeter at openjdk.org
Thu Apr 18 12:31:20 UTC 2024


On Thu, 18 Apr 2024 10:22:42 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> Automatic cast would be really nice.
>> I mean you could do it in a separate prior PR. But I think now it is a bit nasty with the extra cast you require at the use-site.
>
> Plus, if you don't do it now, it will probably remain as it is.

Hmm, I guess most cases are going to be `find_unique_out_with(Op_Bool)->as_Bool()`, and that is ok.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16966#discussion_r1570445610


More information about the hotspot-compiler-dev mailing list