We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1ed4f6 commit 4c68061Copy full SHA for 4c68061
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
@@ -876,6 +876,7 @@ class BinOpSameOpcodeHelper {
876
isBinOpWithConstantInt(Instruction *I) {
877
unsigned Opcode = I->getOpcode();
878
assert(binary_search(SupportedOp, Opcode) && "Unsupported opcode.");
879
+ (void)SupportedOp;
880
auto *BinOp = cast<BinaryOperator>(I);
881
if (auto *CI = dyn_cast<ConstantInt>(BinOp->getOperand(1)))
882
return {CI, 1};
0 commit comments