From e476afde44569f0158cf0e7f99f79666f5bba7f2 Mon Sep 17 00:00:00 2001 From: Roland Westrelin <47032191+rwestrel@users.noreply.github.com> Date: Thu, 12 Jun 2025 17:12:38 +0200 Subject: [PATCH] Update src/hotspot/share/opto/loopnode.cpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Roberto CastaƱeda Lozano --- src/hotspot/share/opto/loopnode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/share/opto/loopnode.cpp b/src/hotspot/share/opto/loopnode.cpp index a90267c4eb5..bc51475bb4f 100644 --- a/src/hotspot/share/opto/loopnode.cpp +++ b/src/hotspot/share/opto/loopnode.cpp @@ -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); } }