From 92a3fc368e3c26a4a107f605dda2c4454a5fec26 Mon Sep 17 00:00:00 2001 From: Henry Zongaro Date: Tue, 17 Dec 2024 17:53:27 -0800 Subject: [PATCH] Mark loop end label as end-of-internal-control-flow label The label that marked the beginning of a loop that handles residual bytes for the inline implementation of ArraysSupport.vectorizedHashCode was incorrectly marked as both the Start and End of internal control flow. The end loop label should have been marked as the End of internal control flow. Signed-off-by: Henry Zongaro --- runtime/compiler/x/codegen/J9TreeEvaluator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/compiler/x/codegen/J9TreeEvaluator.cpp b/runtime/compiler/x/codegen/J9TreeEvaluator.cpp index 5fb3e3e9499..8c2f4a99b28 100644 --- a/runtime/compiler/x/codegen/J9TreeEvaluator.cpp +++ b/runtime/compiler/x/codegen/J9TreeEvaluator.cpp @@ -9656,7 +9656,7 @@ J9::X86::TreeEvaluator::vectorizedHashCodeHelper(TR::Node *node, TR::DataType dt TR::LabelSymbol *residueLoopLabel = generateLabelSymbol(cg); residueBeginLoopLabel->setStartInternalControlFlow(); - residueBeginLoopLabel->setEndInternalControlFlow(); + residueEndLoopLabel->setEndInternalControlFlow(); generateLabelInstruction(TR::InstOpCode::label, node, residueBeginLoopLabel, cg); generateRegRegInstruction(TR::InstOpCode::CMP4RegReg, node, index, length, cg);