Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Unmark tree; fix JITDUMP
  • Loading branch information
jakobbotsch committed May 12, 2024
commit 669681862a76a3f321f52b74de10ec41e98dd3a3
5 changes: 4 additions & 1 deletion src/coreclr/jit/lower.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9212,6 +9212,7 @@ bool Lowering::TryMakeIndirsAdjacent(GenTreeIndir* prevIndir, GenTreeIndir* indi
if ((prevIndir->gtLIRFlags & LIR::Flags::Mark) != 0)
{
JITDUMP("Previous indir is part of the data flow of current indir\n");
UnmarkTree(indir);
return false;
}

Expand Down Expand Up @@ -9249,6 +9250,7 @@ bool Lowering::TryMakeIndirsAdjacent(GenTreeIndir* prevIndir, GenTreeIndir* indi
if (!indir->OperIsLoad())
{
JITDUMP("Have conservative interference with last store. Giving up.\n");
UnmarkTree(indir);
return false;
}

Expand Down Expand Up @@ -9348,7 +9350,7 @@ bool Lowering::TryMakeIndirsAdjacent(GenTreeIndir* prevIndir, GenTreeIndir* indi
}
}

JITDUMP("Interference checks passed: can to move unrelated nodes past second indir.\n");
JITDUMP("Interference checks passed: can move unrelated nodes past second indir.\n");

if (sawData)
{
Expand Down Expand Up @@ -9379,6 +9381,7 @@ bool Lowering::TryMakeIndirsAdjacent(GenTreeIndir* prevIndir, GenTreeIndir* indi
if (m_scratchSideEffects.InterferesWith(comp, prevIndir, true))
{
JITDUMP("Cannot move prev indir up after data computation\n");
UnmarkTree(indir);
return false;
}
}
Expand Down