RFR: 8353551: C2: Constant folding for ReverseBytes nodes [v2]
Emanuel Peter
epeter at openjdk.org
Tue Apr 8 17:02:21 UTC 2025
On Tue, 8 Apr 2025 08:15:55 GMT, Hannes Greule <hgreule at openjdk.org> wrote:
>> This change implements constant folding for ReverseBytes nodes.
>>
>> Currently, `byteswap` is included transitively by `reverse_bits.hpp`. I'm not sure if this is fine or if I need to add an explicit include there.
>>
>> I appreciate any reviews and comments.
>
> Hannes Greule has updated the pull request incrementally with one additional commit since the last revision:
>
> add test cases with negative -> non-negative
@SirYwell This looks generally good, but I'll let you have the conversation with @iwanowww .
I launched some internal testing.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24382#issuecomment-2787108139
More information about the hotspot-compiler-dev
mailing list