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 ada0d22 commit 049bf68Copy full SHA for 049bf68
llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
@@ -333,13 +333,13 @@ void VPPartialReductionRecipe::execute(VPTransformState &State) {
333
State.setDebugLocFrom(getDebugLoc());
334
auto &Builder = State.Builder;
335
336
+ assert(getOpcode() == Instruction::Add &&
337
+ "Unhandled partial reduction opcode");
338
+
339
Value *BinOpVal = State.get(getOperand(0));
340
Value *PhiVal = State.get(getOperand(1));
341
assert(PhiVal && BinOpVal && "Phi and Mul must be set");
342
- assert(getOpcode() == Instruction::Add &&
- "Unhandled partial reduction opcode");
-
343
Type *RetTy = PhiVal->getType();
344
345
CallInst *V = Builder.CreateIntrinsic(
0 commit comments