Skip to content

Commit 4c8cbce

Browse files
fhahngithub-actions[bot]
authored andcommitted
Automerge: [LAA] Remove unneeded hasNoOverflow call (NFC).
The function already calls hasNoOverflow above.
2 parents f630ae4 + a8b177a commit 4c8cbce

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)