Skip to content

Commit eab1748

Browse files
author
Mikhail Gudim
committed
format
1 parent a323be9 commit eab1748

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2248,10 +2248,9 @@ class BoUpSLP {
22482248
/// Return true if an array of scalar loads can be replaced with a strided
22492249
/// load (with constant stride).
22502250
///
2251-
/// It is possible that the load gets "widened". Suppose that originally each load loads `k` bytes and `PointerOps` can be arranged as follows (`%s` is constant):
2252-
/// %b + 0 * %s + 0
2253-
/// %b + 0 * %s + 1
2254-
/// %b + 0 * %s + 2
2251+
/// It is possible that the load gets "widened". Suppose that originally each
2252+
/// load loads `k` bytes and `PointerOps` can be arranged as follows (`%s` is
2253+
/// constant): %b + 0 * %s + 0 %b + 0 * %s + 1 %b + 0 * %s + 2
22552254
/// ...
22562255
/// %b + 0 * %s + (w - 1)
22572256
///
@@ -2273,8 +2272,10 @@ class BoUpSLP {
22732272
/// \param PointerOps list of pointer arguments of loads.
22742273
/// \param ElemTy original scalar type of loads.
22752274
/// \param Alignment alignment of the first load.
2276-
/// \param SortedIndices is the order of PointerOps as returned by `sortPtrAccesses`
2277-
/// \param Diff Pointer difference between the lowest and the highes pointer in `PointerOps` as returned by `getPointersDiff`.
2275+
/// \param SortedIndices is the order of PointerOps as returned by
2276+
/// `sortPtrAccesses`
2277+
/// \param Diff Pointer difference between the lowest and the highes pointer
2278+
/// in `PointerOps` as returned by `getPointersDiff`.
22782279
/// \param Ptr0 first pointer in `PointersOps`.
22792280
/// \param PtrN last pointer in `PointersOps`.
22802281
/// \param SPtrInfo If the function return `true`, it also sets all the fields

0 commit comments

Comments
 (0)