We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 597835c commit 6413eaaCopy full SHA for 6413eaa
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
@@ -11945,8 +11945,8 @@ bool BoUpSLP::isFullyVectorizableTinyTree(bool ForReduction) const {
11945
TE->getOpcode() == Instruction::ExtractElement) ||
11946
all_of(TE->Scalars, IsaPred<ExtractElementInst, UndefValue>)) &&
11947
isFixedVectorShuffle(TE->Scalars, Mask, AC)) ||
11948
- ((TE->hasState() && TE->getOpcode() == Instruction::Load) &&
11949
- (!TE->hasState() || !TE->isAltShuffle())) ||
+ (TE->hasState() && TE->getOpcode() == Instruction::Load &&
+ !TE->isAltShuffle()) ||
11950
any_of(TE->Scalars, IsaPred<LoadInst>));
11951
};
11952
0 commit comments