RFR: 8342393: Promote commutative vector IR node sharing [v2]
Emanuel Peter
epeter at openjdk.org
Wed Jan 8 13:05:42 UTC 2025
On Wed, 8 Jan 2025 12:47:23 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
>> Assertion check added.
>
> Where did you add it? I don't see it in the constructor or `add_flag`.
I also wonder: if the flag `is_commutative_operation` is available at the `Node` level, and not just `VectorNode`, then should this logic here not be at `Node::hash` rather than `VectorNode::hash`? Otherwise, the flag should probably be called `is_commutative_vector_operation`, right?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22863#discussion_r1907134128
More information about the hotspot-compiler-dev
mailing list