8267928: Loop predicate gets inexact loop limit before PhaseIdealLoop::rc_predicate
Reviewed-by: thartmann, chagedorn, kvn
This commit is contained in:
parent
a5f2a58ba4
commit
fecf906f0a
@ -1277,6 +1277,7 @@ bool PhaseIdealLoop::loop_predication_impl_helper(IdealLoopTree *loop, ProjNode*
|
||||
// Limit is not exact.
|
||||
// Calculate exact limit here.
|
||||
// Note, counted loop's test is '<' or '>'.
|
||||
loop->compute_trip_count(this);
|
||||
Node* limit = exact_limit(loop);
|
||||
int stride = cl->stride()->get_int();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user