File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff 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);
You can’t perform that action at this time.
0 commit comments