RFR: 8360192: C2: Make the type of count leading/trailing zero nodes more precise [v7]

Qizheng Xing qxing at openjdk.org
Thu Aug 7 02:18:19 UTC 2025


On Wed, 6 Aug 2025 14:11:40 GMT, Chen Liang <liach at openjdk.org> wrote:

>> src/hotspot/share/opto/countbitsnode.cpp line 57:
>> 
>>> 55: 
>>> 56:   // If the input is BOTTOM, the result is the local BOTTOM.
>>> 57:   if (t == Type::BOTTOM) {
>> 
>> `t` should not be `Type::BOTTOM`, please remove this case.
>
> Maybe convert to an assert?

Removed.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25928#discussion_r2258707446


More information about the hotspot-compiler-dev mailing list