Integrated: 8283187: C2: loop candidate for superword not always unrolled fully if superword fails
Roland Westrelin
roland at openjdk.java.net
Thu Mar 24 12:57:53 UTC 2022
On Tue, 15 Mar 2022 15:45:08 GMT, Roland Westrelin <roland at openjdk.org> wrote:
> IdealLoopTree::policy_unroll_slp_analysis() restricts unrolling of
> loops that are found to be candidate for superword but if superword
> then fails, unrolling doesn't always resume. SuperWord::output() has
> logic for that in one of the failure paths but some other paths are
> not covered (for instance in the case of the test case). I propose
> that superword explictly returns whether it succeeded or not and that
> in case of failure, for a main loop, unrolling be attempted again.
This pull request has now been integrated.
Changeset: 14c20bc0
Author: Roland Westrelin <roland at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/14c20bc0e0ee32b82ffe653ae9e4a0be52d578cb
Stats: 135 lines in 5 files changed: 90 ins; 6 del; 39 mod
8283187: C2: loop candidate for superword not always unrolled fully if superword fails
Reviewed-by: thartmann, chagedorn
-------------
PR: https://git.openjdk.java.net/jdk/pull/7822
More information about the hotspot-compiler-dev
mailing list