Skip to content

Commit 6413eaa

Browse files
committed
merge hasState
1 parent 597835c commit 6413eaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11945,8 +11945,8 @@ bool BoUpSLP::isFullyVectorizableTinyTree(bool ForReduction) const {
1194511945
TE->getOpcode() == Instruction::ExtractElement) ||
1194611946
all_of(TE->Scalars, IsaPred<ExtractElementInst, UndefValue>)) &&
1194711947
isFixedVectorShuffle(TE->Scalars, Mask, AC)) ||
11948-
((TE->hasState() && TE->getOpcode() == Instruction::Load) &&
11949-
(!TE->hasState() || !TE->isAltShuffle())) ||
11948+
(TE->hasState() && TE->getOpcode() == Instruction::Load &&
11949+
!TE->isAltShuffle()) ||
1195011950
any_of(TE->Scalars, IsaPred<LoadInst>));
1195111951
};
1195211952

0 commit comments

Comments
 (0)