Skip to content

Commit a8b177a

Browse files
committed
[LAA] Remove unneeded hasNoOverflow call (NFC).
The function already calls hasNoOverflow above.
1 parent 9a584b0 commit a8b177a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Analysis/LoopAccessAnalysis.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -886,7 +886,7 @@ static bool isNoWrap(PredicatedScalarEvolution &PSE, const SCEVAddRecExpr *AR,
886886
return true;
887887
}
888888

889-
return PSE.hasNoOverflow(Ptr, SCEVWrapPredicate::IncrementNUSW);
889+
return false;
890890
}
891891

892892
static void visitPointers(Value *StartPtr, const Loop &InnermostLoop,

0 commit comments

Comments
 (0)