This commit is contained in:
rwestrel 2026-06-03 20:37:34 +02:00
parent d18ee34318
commit a8deb3a52d
2 changed files with 2 additions and 2 deletions

View File

@ -2220,7 +2220,8 @@ Node* IfProjNode::Ideal(PhaseGVN* phase, bool can_reshape) {
if (u->is_Load()) {
LoadNode* ld = u->as_Load()->with_rc_constant_folded();
if (ld != nullptr) {
igvn->replace_node(u, phase->transform(ld));
igvn->register_new_node_with_optimizer(ld);
igvn->replace_node(u, ld);
--i;
}
}

View File

@ -1441,7 +1441,6 @@ Node* LoadNode::Identity(PhaseGVN* phase) {
if (use != this &&
use->Opcode() == Opcode() &&
use->in(0) != nullptr &&
use->in(0) != in(0) &&
use->in(Address) == in(Address) &&
same_vector_load_inputs(use) &&
phase->is_dominator(use->in(0), in(0))) {