Skip to content

Commit 58dffe4

Browse files
author
Mikhail Gudim
committed
format
1 parent 27dfb3f commit 58dffe4

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6828,12 +6828,11 @@ bool BoUpSLP::isStridedLoad(ArrayRef<Value *> VL, ArrayRef<Value *> PointerOps,
68286828
return false;
68296829

68306830
// Try to generate strided load node.
6831-
auto IsAnyPointerUsedOutGraph =
6832-
any_of(PointerOps, [&](Value *V) {
6833-
return isa<Instruction>(V) && any_of(V->users(), [&](User *U) {
6834-
return !isVectorized(U) && !MustGather.contains(U);
6835-
});
6836-
});
6831+
auto IsAnyPointerUsedOutGraph = any_of(PointerOps, [&](Value *V) {
6832+
return isa<Instruction>(V) && any_of(V->users(), [&](User *U) {
6833+
return !isVectorized(U) && !MustGather.contains(U);
6834+
});
6835+
});
68376836

68386837
const uint64_t AbsoluteDiff = std::abs(Diff);
68396838
Type *ScalarTy = VL.front()->getType();

0 commit comments

Comments
 (0)