RFR: 8342393: Promote commutative vector IR node sharing [v14]
Jatin Bhateja
jbhateja at openjdk.org
Thu Jan 23 10:42:26 UTC 2025
On Thu, 23 Jan 2025 10:26:51 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
>> So it should not be `VEC1.BLEND(VEC1.lanewise(OPER, VEC2), MASK)`, but one of these:
>>
>> VEC1.BLEND(VEC1.lanewise(OPER, VEC2), VEC1, MASK)
>> VEC1.BLEND(VEC1, VEC1.lanewise(OPER, VEC2), MASK)
>
> Blend has 3 arguments, not just 2, right?
VEC1 is both destination and first operand. I think we should update the comment accordingly.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22863#discussion_r1926754335
More information about the hotspot-compiler-dev
mailing list