RFR: 8348411: C2: Remove the control input of LoadKlassNode and LoadNKlassNode [v4]
Quan Anh Mai
qamai at openjdk.org
Tue Feb 4 18:57:11 UTC 2025
On Tue, 4 Feb 2025 18:43:04 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
>> Quan Anh Mai has updated the pull request incrementally with one additional commit since the last revision:
>>
>> format
>
> src/hotspot/share/opto/parseHelper.cpp line 193:
>
>> 191: // See issue JDK-8057622 for details.
>> 192:
>> 193: always_see_exact_class = true;
>
> Why is it ok to remove this?
> If this branch is not taken, it used to be `false`, and would lead to something different below...
The only use of this is to decide if we need to attach a control input to the `LoadKlass`. As the control input is not needed, this can be removed.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23274#discussion_r1941735400
More information about the hotspot-compiler-dev
mailing list