File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -1154,6 +1154,8 @@ unsigned RecurrenceDescriptor::getOpcode(RecurKind Kind) {
11541154 return Instruction::Add;
11551155 case RecurKind::Mul:
11561156 return Instruction::Mul;
1157+ case RecurKind::IAnyOf:
1158+ case RecurKind::FAnyOf:
11571159 case RecurKind::Or:
11581160 return Instruction::Or;
11591161 case RecurKind::And:
@@ -1169,7 +1171,6 @@ unsigned RecurrenceDescriptor::getOpcode(RecurKind Kind) {
11691171 case RecurKind::SMin:
11701172 case RecurKind::UMax:
11711173 case RecurKind::UMin:
1172- case RecurKind::IAnyOf:
11731174 case RecurKind::IFindLastIV:
11741175 return Instruction::ICmp;
11751176 case RecurKind::FMax:
@@ -1178,7 +1179,6 @@ unsigned RecurrenceDescriptor::getOpcode(RecurKind Kind) {
11781179 case RecurKind::FMinimum:
11791180 case RecurKind::FMaximumNum:
11801181 case RecurKind::FMinimumNum:
1181- case RecurKind::FAnyOf:
11821182 case RecurKind::FFindLastIV:
11831183 return Instruction::FCmp;
11841184 default :
Original file line number Diff line number Diff line change @@ -679,9 +679,6 @@ Value *VPInstruction::generate(VPTransformState &State) {
679679 // Reduce all of the unrolled parts into a single vector.
680680 Value *ReducedPartRdx = RdxParts[0 ];
681681 unsigned Op = RdxDesc.getOpcode ();
682- if (RecurrenceDescriptor::isAnyOfRecurrenceKind (RK))
683- Op = Instruction::Or;
684-
685682 if (PhiR->isOrdered ()) {
686683 ReducedPartRdx = RdxParts[UF - 1 ];
687684 } else {
You can’t perform that action at this time.
0 commit comments