RFR: 8283187: C2: loop candidate for superword not always unrolled fully if superword fails [v2]
Roland Westrelin
roland at openjdk.java.net
Wed Mar 23 14:00:44 UTC 2022
On Wed, 23 Mar 2022 07:08:11 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:
> That looks good!
Thanks for the review @chhagedorn
> src/hotspot/share/opto/superword.cpp line 129:
>
>> 127: // skip any loop that has not been assigned max unroll by analysis
>> 128: if (do_optimization) {
>> 129: if (SuperWordLoopUnrollAnalysis && cl->slp_max_unroll() == 0) return false;
>
> While at it, you could also add braces for the one liner ifs.
Should be done in the new commit
-------------
PR: https://git.openjdk.java.net/jdk/pull/7822
More information about the hotspot-compiler-dev
mailing list