Skip to content

Commit

Permalink
Run jit-format
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobbotsch committed Jun 25, 2024
1 parent 6aa835e commit 7761089
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/coreclr/jit/lower.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2064,7 +2064,8 @@ void Lowering::LegalizeArgPlacement(GenTreeCall* call)
return;
}

JITDUMP("Call [%06u] has %zu PUTARG nodes that interfere with [%06u]; will move them after it\n", Compiler::dspTreeID(call), numMarked, Compiler::dspTreeID(cur));
JITDUMP("Call [%06u] has %zu PUTARG nodes that interfere with [%06u]; will move them after it\n",
Compiler::dspTreeID(call), numMarked, Compiler::dspTreeID(cur));

// We found interference; remaining PUTARG nodes need to be moved after
// this point.
Expand All @@ -2084,7 +2085,8 @@ void Lowering::LegalizeArgPlacement(GenTreeCall* call)
// For !FEATURE_FIXED_OUT_ARGS: only PUTARG_REG nodes must be moved after the interfering call
if (FEATURE_FIXED_OUT_ARGS || cur->OperIs(GT_PUTARG_REG))
{
JITDUMP("Relocating [%06u] after [%06u]\n", Compiler::dspTreeID(cur), Compiler::dspTreeID(insertionPoint));
JITDUMP("Relocating [%06u] after [%06u]\n", Compiler::dspTreeID(cur),
Compiler::dspTreeID(insertionPoint));

BlockRange().Remove(cur);
BlockRange().InsertAfter(insertionPoint, cur);
Expand Down
2 changes: 1 addition & 1 deletion src/coreclr/jit/lower.h
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ class Lowering final : public Phase
GenTree* LowerFloatArg(GenTreeCall* call, GenTree** pArg, CallArg* callArg);
GenTree* LowerFloatArgReg(GenTree* arg, regNumber regNum);
#endif
void LegalizeArgPlacement(GenTreeCall* call);
void LegalizeArgPlacement(GenTreeCall* call);

void InsertPInvokeCallProlog(GenTreeCall* call);
void InsertPInvokeCallEpilog(GenTreeCall* call);
Expand Down

0 comments on commit 7761089

Please sign in to comment.