mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
8367690: C2: Unneeded branch in reduce_phi
Reviewed-by: rcastanedalo, chagedorn
This commit is contained in:
parent
6bf3581bba
commit
bdfd5e843a
@ -1296,9 +1296,8 @@ void ConnectionGraph::reduce_phi(PhiNode* ophi, GrowableArray<Node *> &alloc_wo
|
||||
castpps.push(use);
|
||||
} else if (use->is_AddP() || use->is_Cmp()) {
|
||||
others.push(use);
|
||||
} else if (use->is_SafePoint()) {
|
||||
// processed later
|
||||
} else {
|
||||
// Safepoints to be processed later; other users aren't expected here
|
||||
assert(use->is_SafePoint(), "Unexpected user of reducible Phi %d -> %d:%s:%d", ophi->_idx, use->_idx, use->Name(), use->outcnt());
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user