Skip to content

Commit e2d8044

Browse files
committed
address code format reviews
1 parent 9c0a8c4 commit e2d8044

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6919,8 +6919,8 @@ void BoUpSLP::tryToVectorizeGatheredLoads(
69196919
// 2. All users are deleted.
69206920
// 3. The load broadcasts are not allowed or the load is not
69216921
// broadcasted.
6922-
if (static_cast<unsigned int>(std::distance(LI->user_begin(), LI->user_end())) !=
6923-
LI->getNumUses())
6922+
if (static_cast<unsigned int>(std::distance(
6923+
LI->user_begin(), LI->user_end())) != LI->getNumUses())
69246924
return false;
69256925
if (!IsLegalBroadcastLoad)
69266926
continue;
@@ -9762,7 +9762,8 @@ void BoUpSLP::transformNodes() {
97629762
Slice.front()->getType(), 2 * VF)),
97639763
1U, 2 * VF)) ||
97649764
count(Slice, Slice.front()) ==
9765-
static_cast<long>(isa<UndefValue>(Slice.front()) ? VF - 1 : 1)) {
9765+
static_cast<long>(isa<UndefValue>(Slice.front()) ? VF - 1
9766+
: 1)) {
97669767
if (IsSplat)
97679768
continue;
97689769
InstructionsState S = getSameOpcode(Slice, *TLI);

0 commit comments

Comments
 (0)