@@ -2392,10 +2392,7 @@ void VPReductionRecipe::print(raw_ostream &O, const Twine &Indent,
23922392 O << " +" ;
23932393 if (isa<FPMathOperator>(getUnderlyingInstr ()))
23942394 O << getUnderlyingInstr ()->getFastMathFlags ();
2395- O << " reduce."
2396- << Instruction::getOpcodeName (
2397- RecurrenceDescriptor::getOpcode (getRecurrenceKind ()))
2398- << " (" ;
2395+ O << " reduce." << Instruction::getOpcodeName (getOpcode ()) << " (" ;
23992396 getVecOp ()->printAsOperand (O, SlotTracker);
24002397 if (isConditional ()) {
24012398 O << " , " ;
@@ -2406,17 +2403,14 @@ void VPReductionRecipe::print(raw_ostream &O, const Twine &Indent,
24062403
24072404void VPReductionEVLRecipe::print (raw_ostream &O, const Twine &Indent,
24082405 VPSlotTracker &SlotTracker) const {
2409- RecurKind Kind = getRecurrenceKind ();
24102406 O << Indent << " REDUCE " ;
24112407 printAsOperand (O, SlotTracker);
24122408 O << " = " ;
24132409 getChainOp ()->printAsOperand (O, SlotTracker);
24142410 O << " +" ;
24152411 if (isa<FPMathOperator>(getUnderlyingInstr ()))
24162412 O << getUnderlyingInstr ()->getFastMathFlags ();
2417- O << " vp.reduce."
2418- << Instruction::getOpcodeName (RecurrenceDescriptor::getOpcode (Kind))
2419- << " (" ;
2413+ O << " vp.reduce." << Instruction::getOpcodeName (getOpcode ()) << " (" ;
24202414 getVecOp ()->printAsOperand (O, SlotTracker);
24212415 O << " , " ;
24222416 getEVL ()->printAsOperand (O, SlotTracker);
0 commit comments