Integrated: 8253524: C2: Refactor code that clones predicates during loop unswitching
Roland Westrelin
roland at openjdk.java.net
Thu Sep 24 10:02:57 UTC 2020
On Wed, 23 Sep 2020 08:30:45 GMT, Roland Westrelin <roland at openjdk.org> wrote:
> During unswitching, PhaseIdealLoop::create_slow_version_of_loop()
> calls PhaseIdealLoop::clone_predicates_to_unswitched_loop() twice, one
> for each loops, to clone some predicates above each loop. That code is
> fragile as it (implicitly) requires the fast loop to be processed
> first. I propose calling
> PhaseIdealLoop::clone_predicates_to_unswitched_loop() a single time
> and have it handle both loops in a single pass.
This pull request has now been integrated.
Changeset: b1e2f026
Author: Roland Westrelin <roland at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/b1e2f026
Stats: 113 lines in 3 files changed: 20 ins; 49 del; 44 mod
8253524: C2: Refactor code that clones predicates during loop unswitching
Reviewed-by: chagedorn, kvn, thartmann
-------------
PR: https://git.openjdk.java.net/jdk/pull/317
More information about the hotspot-compiler-dev
mailing list