Skip to content

Commit 769b3ca

Browse files
committed
!fixup restore original comment
1 parent 706e5f6 commit 769b3ca

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
@@ -848,7 +848,7 @@ getStrideFromAddRec(const SCEVAddRecExpr *AR, const Loop *Lp, Type *AccessTy,
848848
static bool isNoWrapGEP(Value *Ptr, PredicatedScalarEvolution &PSE,
849849
const Loop *L);
850850

851-
/// Check whether a pointer address cannot wrap. If \p Ptr is not nullptr, use
851+
/// Check whether \p AR is a non-wrapping AddRec. If \p Ptr is not nullptr, use
852852
/// informating from the IR pointer value to determine no-wrap.
853853
static bool isNoWrap(PredicatedScalarEvolution &PSE, const SCEVAddRecExpr *AR,
854854
Value *Ptr, Type *AccessTy, const Loop *L, bool Assume,

0 commit comments

Comments
 (0)