forked from OSchip/llvm-project
Revert "Attempt to fix linking issue on the bot"
The issue was fixed with48c74bb2e2
This reverts commitac423a8c8a
.
This commit is contained in:
parent
e86bd32b71
commit
ce29a0429b
|
@ -173,7 +173,7 @@ public:
|
|||
/// A cost of taking an unlikely jump.
|
||||
static constexpr int64_t AuxCostUnlikely = ((int64_t)1) << 30;
|
||||
/// Minimum BaseDistance for the jump distance values in island joining.
|
||||
static constexpr uint64_t MinBaseDistance = 10000ull;
|
||||
static constexpr uint64_t MinBaseDistance = 10000;
|
||||
|
||||
private:
|
||||
/// Iteratively find an augmentation path/dag in the network and send the
|
||||
|
@ -741,7 +741,7 @@ private:
|
|||
/// parts to a multiple of 1 / BaseDistance.
|
||||
int64_t jumpDistance(FlowJump *Jump) const {
|
||||
uint64_t BaseDistance =
|
||||
std::max(MinCostMaxFlow::MinBaseDistance,
|
||||
std::max(static_cast<uint64_t>(MinCostMaxFlow::MinBaseDistance),
|
||||
std::min(Func.Blocks[Func.Entry].Flow,
|
||||
MinCostMaxFlow::AuxCostUnlikely / NumBlocks()));
|
||||
if (Jump->IsUnlikely)
|
||||
|
|
Loading…
Reference in New Issue