Skip to content
Permalink
Browse files
8263672: fatal error: no reachable node should have no use
Reviewed-by: vlivanov, thartmann
  • Loading branch information
rwestrel committed Mar 17, 2021
1 parent 086a66a commit d1baed677e30d33522033c2205138b33e8d392b6
Showing 1 changed file with 2 additions and 7 deletions.
@@ -182,14 +182,9 @@ Node *AddNode::Ideal(PhaseGVN *phase, bool can_reshape) {
addx->set_req(1, in(1));
addx->set_req(2, add2->in(1));
addx = phase->transform(addx);
set_req(1, addx);
set_req(2, a22);
set_req_X(1, addx, phase);
set_req_X(2, a22, phase);
progress = this;
PhaseIterGVN* igvn = phase->is_IterGVN();
if (add2->outcnt() == 0 && igvn) {
// add disconnected.
igvn->_worklist.push(add2);
}
}
}

0 comments on commit d1baed6

Please sign in to comment.