RFR: 8300256: C2: vectorization is sometimes skipped on loops where it would succeed [v2]

Roland Westrelin roland at openjdk.org
Wed Jan 25 15:55:15 UTC 2023


On Mon, 23 Jan 2023 17:37:19 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> Roland Westrelin 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 six additional commits since the last revision:
>> 
>>  - review
>>  - Merge branch 'master' into JDK-8300256
>>  - more
>>  - maybe more
>>  - more
>>  - vectorization not run
>
> src/hotspot/share/opto/loopnode.cpp line 3993:
> 
>> 3991:     if (cl->is_reduction_loop()) tty->print(" reduction");
>> 3992:     if (cl->is_vectorized_loop()) tty->print(" vector");
>> 3993:     if (cl->range_checks_present()) tty->print(" rc ");
> 
> Can you use new `range_checks_present()` here? The information is still useful.

Thanks for reviewing this.
Indeed, you're right. I updated the change.

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

PR: https://git.openjdk.org/jdk/pull/12116


More information about the hotspot-compiler-dev mailing list