Update src/hotspot/share/opto/loopnode.cpp

Co-authored-by: Roberto Castañeda Lozano <robcasloz@users.noreply.github.com>
This commit is contained in:
Roland Westrelin 2025-06-12 17:12:38 +02:00 committed by GitHub
parent 817a391b34
commit e476afde44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3040,7 +3040,7 @@ void OuterStripMinedLoopNode::handle_sunk_stores_at_expansion(PhaseIterGVN* igvn
phi = igvn->transform(phi);
igvn->replace_input_of(first, MemNode::Memory, phi);
} else {
// Fix memory state along the backedge: it should be the last sunk Stores of the chain
// Fix memory state along the backedge: it should be the last sunk Store of the chain
igvn->replace_input_of(phi, LoopBackControl, last);
}
}