Integrated: 8267928: Loop predicate gets inexact loop limit before PhaseIdealLoop::rc_predicate

Yi Yang yyang at openjdk.java.net
Tue Nov 30 11:54:15 UTC 2021


On Fri, 28 May 2021 13:29:36 GMT, Yi Yang <yyang at openjdk.org> wrote:

> Loop predicate gets inexact loop limit(LoopLimitNode) from exact_limit(even if the limit is statically known) and does unnecessary overflow checking when generating lower bound test(rc_predicate). The reason is rather straightforward: exact_limit fails to see a HasExactTripCount flag since it would be set after performing loop predicate(iteration_split).

This pull request has now been integrated.

Changeset: fecf906f
Author:    Yi Yang <yyang at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/fecf906f0af9ddc0e83cb681845009f34555d5dc
Stats:     1 line in 1 file changed: 1 ins; 0 del; 0 mod

8267928: Loop predicate gets inexact loop limit before PhaseIdealLoop::rc_predicate

Reviewed-by: thartmann, chagedorn, kvn

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

PR: https://git.openjdk.java.net/jdk/pull/4247


More information about the hotspot-compiler-dev mailing list