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

Vladimir Ivanov vlivanov at openjdk.org
Mon Apr 14 19:31:42 UTC 2025


On Mon, 14 Apr 2025 12:55:15 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:
> 
>   make function static

Looks good.

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

Marked as reviewed by vlivanov (Reviewer).

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


More information about the hotspot-compiler-dev mailing list