Skip to content

Commit

Permalink
Mark loop end label as end-of-internal-control-flow label
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
hzongaro committed Dec 18, 2024
1 parent d7450f0 commit 92a3fc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/compiler/x/codegen/J9TreeEvaluator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 92a3fc3

Please sign in to comment.