8305995: Footprint regression from JDK-8224957

Reviewed-by: kvn, thartmann
This commit is contained in:
Kirill A. Korinsky 2023-04-17 12:22:26 +00:00 committed by Tobias Hartmann
parent 02347d0cec
commit 7551529854
2 changed files with 1237 additions and 1 deletions

View File

@ -1310,7 +1310,7 @@ bool Node::dominates(Node* sub, Node_List &nlist) {
} else if (sub == up && sub->is_Region() && sub->req() == 2) {
// Take in(1) path on the way up to 'dom' for regions with only one input
up = sub->in(1);
} else if (sub == up && sub->is_Region() && sub->req() == 3) {
} else if (sub == up && sub->is_Region()) {
// Try both paths for Regions with 2 input paths (it may be a loop head).
// It could give conservative 'false' answer without information
// which region's input is the entry path.

File diff suppressed because it is too large Load Diff