Skip to content

Commit e89b1b7

Browse files
committed
!fixup remove assertion
1 parent 9d37b46 commit e89b1b7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/Analysis/LoopAccessAnalysis.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,6 @@ static bool evaluatePtrAddRecAtMaxBTCWillNotWrap(
243243
[&](RetainedKnowledge RK, Instruction *Assume, auto) {
244244
if (!isValidAssumeForContext(Assume, CtxI, DT))
245245
return false;
246-
assert(RK.AttrKind == Attribute::Dereferenceable);
247246
if (StartPtrV->canBeFreed() &&
248247
!willNotFreeBetween(Assume, CtxI))
249248
return false;

0 commit comments

Comments
 (0)