RFR: 8183390: Fix and re-enable post loop vectorization [v4]
Roland Westrelin
roland at openjdk.java.net
Fri Mar 11 12:08:49 UTC 2022
On Fri, 11 Mar 2022 02:31:08 GMT, Pengfei Li <pli at openjdk.org> wrote:
> > fairly similar. Doesn't/couldn't the logic from issue 5 protect from issue 3?
>
> True, the SWPointer logic can also protect from issue 3. But I believe keeping loop stride check for issue 3 has no harm and post loop vectorization can bail out earlier with this additional check.
Maybe it's worth mentioning that in a comment next to that code in case someone finds the test too strict and wonder if it can be removed.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6828
More information about the hotspot-compiler-dev
mailing list