RFR: 8303762: Optimize vector slice operation with constant index using VPALIGNR instruction [v13]

Quan Anh Mai qamai at openjdk.org
Thu Feb 19 06:57:19 UTC 2026


On Thu, 19 Feb 2026 06:21:39 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:

> Even after we have constant shuffle and constant mask recognizing the slice idiom and recovering origin remains highly non-trivial

I think you are misunderstanding, when `TypeVect` has constant information, the shuffle indices and the blend mask will constant fold, and there is no `iotaShuffle` subgraph or the compare-with-constant node there to inspect to extract the `origin`.

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

PR Comment: https://git.openjdk.org/jdk/pull/24104#issuecomment-3925041361


More information about the core-libs-dev mailing list