File tree Expand file tree Collapse file tree 2 files changed +0
-17
lines changed Expand file tree Collapse file tree 2 files changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -215,9 +215,6 @@ class RecurrenceDescriptor {
215215 // / Returns true if the recurrence kind is a floating point kind.
216216 static bool isFloatingPointRecurrenceKind (RecurKind Kind);
217217
218- // / Returns true if the recurrence kind is an arithmetic kind.
219- static bool isArithmeticRecurrenceKind (RecurKind Kind);
220-
221218 // / Returns true if the recurrence kind is an integer min/max kind.
222219 static bool isIntMinMaxRecurrenceKind (RecurKind Kind) {
223220 return Kind == RecurKind::UMin || Kind == RecurKind::UMax ||
Original file line number Diff line number Diff line change @@ -63,20 +63,6 @@ bool RecurrenceDescriptor::isFloatingPointRecurrenceKind(RecurKind Kind) {
6363 return (Kind != RecurKind::None) && !isIntegerRecurrenceKind (Kind);
6464}
6565
66- bool RecurrenceDescriptor::isArithmeticRecurrenceKind (RecurKind Kind) {
67- switch (Kind) {
68- default :
69- break ;
70- case RecurKind::Add:
71- case RecurKind::Mul:
72- case RecurKind::FAdd:
73- case RecurKind::FMul:
74- case RecurKind::FMulAdd:
75- return true ;
76- }
77- return false ;
78- }
79-
8066// / Determines if Phi may have been type-promoted. If Phi has a single user
8167// / that ANDs the Phi with a type mask, return the user. RT is updated to
8268// / account for the narrower bit width represented by the mask, and the AND
You can’t perform that action at this time.
0 commit comments