mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 03:54:33 +02:00
7068051: SIGSEGV in PhaseIdealLoop::build_loop_late_post
Removed predicate cloning from loop peeling optimization and from split fall-in paths. Reviewed-by: never
This commit is contained in:
parent
e30a679033
commit
df8d608ac7
8 changed files with 33 additions and 138 deletions
|
@ -255,6 +255,14 @@ static Node* split_if(IfNode *iff, PhaseIterGVN *igvn) {
|
|||
predicate_x = predicate_proj;
|
||||
}
|
||||
}
|
||||
if (predicate_c != NULL && (req_c > 1)) {
|
||||
assert(predicate_x == NULL, "only one predicate entry expected");
|
||||
predicate_c = NULL; // Do not clone predicate below merge point
|
||||
}
|
||||
if (predicate_x != NULL && ((len - req_c) > 2)) {
|
||||
assert(predicate_c == NULL, "only one predicate entry expected");
|
||||
predicate_x = NULL; // Do not clone predicate below merge point
|
||||
}
|
||||
|
||||
// Register the new RegionNodes but do not transform them. Cannot
|
||||
// transform until the entire Region/Phi conglomerate has been hacked
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue