RFR: 8353551: C2: Constant folding for ReverseBytes nodes [v6]

Emanuel Peter epeter at openjdk.org
Thu May 8 09:42:55 UTC 2025


On Fri, 25 Apr 2025 08:55:30 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:
> 
>   correct driver path

It looks good to me.

But before you integrate:
I also launched testing again, just in case. Please ping me again in 24h for the results :)

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

Marked as reviewed by epeter (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/24382#pullrequestreview-2824490373


More information about the hotspot-compiler-dev mailing list