> The return value of `convert0('X', vspecies().withLanes(laneType))` is
> polymorphic, making the subsequent call `swapIfNeeded` megamorphic and thus
> causing allocations. We have the constant species available and should
> execute code on the species instead.
>
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK
> Interim AI Policy](https://openjdk.org/legal/ai).
Chen Liang has updated the pull request with a new target base due to a merge
or a rebase. The incremental webrev excludes the unrelated changes brought in
by the merge/rebase. The pull request contains five additional commits since
the last revision:
- Merge branch 'master' of github.com:openjdk/jdk into
fix/vector-reinterpret-cliff
- Tweak asByteVectorRawTemplate to avoid reversal for bytes
- Introduce a regression test
- 8392004
- Try to fix sublane swap inline
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/32803/files
- new: https://git.openjdk.org/jdk/pull/32803/files/e55975de..6c07bb53
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=32803&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=32803&range=00-01
Stats: 5145 lines in 113 files changed: 3110 ins; 1195 del; 840 mod
Patch: https://git.openjdk.org/jdk/pull/32803.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/32803/head:pull/32803
PR: https://git.openjdk.org/jdk/pull/32803