Skip to content

Commit

Permalink
JIT: increase edge weight slop tolerance some more (#77747)
Browse files Browse the repository at this point in the history
Allow up to 1/50 variance between the expected and computed values.

Fixes #77450.
  • Loading branch information
AndyAyersMS authored Nov 2, 2022
1 parent 4ad19b1 commit 82aa87f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/coreclr/jit/block.h
Original file line number Diff line number Diff line change
Expand Up @@ -1198,10 +1198,10 @@ struct BasicBlock : private LIR::Range

bool bbFallsThrough() const;

// Our slop fraction is 1/100 of the block weight.
// Our slop fraction is 1/50 of the block weight.
static weight_t GetSlopFraction(weight_t weightBlk)
{
return weightBlk / 100.0;
return weightBlk / 50.0;
}

// Given an the edge b1 -> b2, calculate the slop fraction by
Expand Down

0 comments on commit 82aa87f

Please sign in to comment.