Skip to content

Commit 4d7a5a0

Browse files
authored
JIT: Fix loop index printing (#110080)
1 parent d5b6aec commit 4d7a5a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/jit/optimizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4161,7 +4161,7 @@ void Compiler::optRecordLoopMemoryDependence(GenTree* tree, BasicBlock* block, V
41614161

41624162
JITDUMP(" ==> Not updating loop memory dependence of [%06u]/" FMT_LP ", memory definition " FMT_VN
41634163
"/" FMT_LP " is not dependent on an ancestor loop\n",
4164-
dspTreeID(tree), blockLoop->GetIndex(), memoryVN, vnStore->LoopOfVN(memoryVN));
4164+
dspTreeID(tree), blockLoop->GetIndex(), memoryVN, vnStore->LoopOfVN(memoryVN)->GetIndex());
41654165
#endif
41664166
return;
41674167
}

0 commit comments

Comments
 (0)