[UBSAN] Remove invalid assert added with #87709
This commit is contained in:
parent
697dd93ae3
commit
aa6ba23235
@ -41,7 +41,6 @@ static bool removeUbsanTraps(Function &F, const BlockFrequencyInfo &BFI,
|
||||
auto ShouldRemove = [&](bool IsHot) {
|
||||
if (!RandomRate.getNumOccurrences())
|
||||
return IsHot;
|
||||
assert(HotPercentileCutoff.getNumOccurrences());
|
||||
if (!Rng)
|
||||
Rng = F.getParent()->createRNG(F.getName());
|
||||
std::bernoulli_distribution D(RandomRate);
|
||||
|
Loading…
x
Reference in New Issue
Block a user