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 1c7fda9 commit d54d476Copy full SHA for d54d476
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
@@ -1973,7 +1973,7 @@ class BoUpSLP {
1973
assert(isa<Instruction>(VL[0]) && "Expected instruction");
1974
unsigned NumOperands = cast<Instruction>(VL[0])->getNumOperands();
1975
constexpr unsigned IntrinsicNumOperands = 2;
1976
- if (auto *CI = dyn_cast<IntrinsicInst>(VL[0]))
+ if (isa<IntrinsicInst>(VL[0]))
1977
NumOperands = IntrinsicNumOperands;
1978
OpsVec.resize(NumOperands);
1979
unsigned NumLanes = VL.size();
0 commit comments