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