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) {
1154
1154
return Instruction::Add;
1155
1155
case RecurKind::Mul:
1156
1156
return Instruction::Mul;
1157
+ case RecurKind::IAnyOf:
1158
+ case RecurKind::FAnyOf:
1157
1159
case RecurKind::Or:
1158
1160
return Instruction::Or;
1159
1161
case RecurKind::And:
@@ -1169,7 +1171,6 @@ unsigned RecurrenceDescriptor::getOpcode(RecurKind Kind) {
1169
1171
case RecurKind::SMin:
1170
1172
case RecurKind::UMax:
1171
1173
case RecurKind::UMin:
1172
- case RecurKind::IAnyOf:
1173
1174
case RecurKind::IFindLastIV:
1174
1175
return Instruction::ICmp;
1175
1176
case RecurKind::FMax:
@@ -1178,7 +1179,6 @@ unsigned RecurrenceDescriptor::getOpcode(RecurKind Kind) {
1178
1179
case RecurKind::FMinimum:
1179
1180
case RecurKind::FMaximumNum:
1180
1181
case RecurKind::FMinimumNum:
1181
- case RecurKind::FAnyOf:
1182
1182
case RecurKind::FFindLastIV:
1183
1183
return Instruction::FCmp;
1184
1184
default :
Original file line number Diff line number Diff line change @@ -679,9 +679,6 @@ Value *VPInstruction::generate(VPTransformState &State) {
679
679
// Reduce all of the unrolled parts into a single vector.
680
680
Value *ReducedPartRdx = RdxParts[0 ];
681
681
unsigned Op = RdxDesc.getOpcode ();
682
- if (RecurrenceDescriptor::isAnyOfRecurrenceKind (RK))
683
- Op = Instruction::Or;
684
-
685
682
if (PhiR->isOrdered ()) {
686
683
ReducedPartRdx = RdxParts[UF - 1 ];
687
684
} else {
You can’t perform that action at this time.
0 commit comments