mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-16 00:17:32 +00:00
[LAA] Improve comment for isStridedPtr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@262997 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0f7f7def70
commit
db96e9895d
@ -651,8 +651,11 @@ const SCEV *replaceSymbolicStrideSCEV(PredicatedScalarEvolution &PSE,
|
||||
const ValueToValueMap &PtrToStride,
|
||||
Value *Ptr, Value *OrigPtr = nullptr);
|
||||
|
||||
/// \brief Check the stride of the pointer and ensure that it does not wrap in
|
||||
/// the address space, assuming \p Preds is true.
|
||||
/// \brief If the pointer has a constant stride return it in units of its
|
||||
/// element size. Otherwise return zero.
|
||||
///
|
||||
/// Ensure that it does not wrap in the address space, assuming \p Preds is
|
||||
/// true.
|
||||
///
|
||||
/// If necessary this method will version the stride of the pointer according
|
||||
/// to \p PtrToStride and therefore add a new predicate to \p Preds.
|
||||
|
Loading…
Reference in New Issue
Block a user