RFR: 8358521: Optimize vector operations by reassociating broadcasted inputs [v4]

Jatin Bhateja jbhateja at openjdk.org
Fri Feb 27 04:51:23 UTC 2026


On Tue, 24 Feb 2026 08:42:52 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> Jatin Bhateja has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Review comments resolutions
>
> Just scanned the PR description:
> 
>  VectorOperation (VectorBroadcast INP1) (VectorOperation (VectorBroadcast INP2) INP3) => 
>                              VectorOperation INP3 (VectorOperation (VectorBroadcast INP1) (VectorOperation INP2))
> 
> I think it should be `VectorBroadcast INP2` in both cases, and not `VectorOperation INP2`, because `INP2` is scalar, right?

Hi @eme64 , Please proceed with review, your comments have been addressed.

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

PR Comment: https://git.openjdk.org/jdk/pull/25617#issuecomment-3970753993


More information about the core-libs-dev mailing list