File tree 1 file changed +1
-6
lines changed 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -304,7 +304,7 @@ bool llvm::isDereferenceableAndAlignedInLoop(
304
304
return false ;
305
305
306
306
const SCEV *MaxBECount =
307
- SE.getPredicatedSymbolicMaxBackedgeTakenCount (L, *Predicates);
307
+ SE.getPredicatedConstantMaxBackedgeTakenCount (L, *Predicates);
308
308
if (isa<SCEVCouldNotCompute>(MaxBECount))
309
309
return false ;
310
310
@@ -318,11 +318,6 @@ bool llvm::isDereferenceableAndAlignedInLoop(
318
318
const SCEV *PtrDiff = SE.getMinusSCEV (AccessEnd, AccessStart);
319
319
APInt MaxPtrDiff = SE.getUnsignedRangeMax (PtrDiff);
320
320
321
- // If the (max) pointer difference is > 32 bits then it's unlikely to be
322
- // dereferenceable.
323
- if (MaxPtrDiff.getActiveBits () > 32 )
324
- return false ;
325
-
326
321
Value *Base = nullptr ;
327
322
APInt AccessSize;
328
323
if (const SCEVUnknown *NewBase = dyn_cast<SCEVUnknown>(AccessStart)) {
You can’t perform that action at this time.
0 commit comments