Skip to content

Commit 137c6c4

Browse files
committed
Rebase, and remove isArithmeticRecurrenceKind
1 parent c458e9e commit 137c6c4

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

llvm/include/llvm/Analysis/IVDescriptors.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,6 @@ class RecurrenceDescriptor {
232232
/// Returns true if the recurrence kind is a floating point kind.
233233
static bool isFloatingPointRecurrenceKind(RecurKind Kind);
234234

235-
/// Returns true if the recurrence kind is arithmetic.
236-
static bool isArithmeticRecurrenceKind(RecurKind Kind);
237-
238235
/// Returns true if the recurrence kind is an integer min/max kind.
239236
static bool isIntMinMaxRecurrenceKind(RecurKind Kind) {
240237
return Kind == RecurKind::UMin || Kind == RecurKind::UMax ||

llvm/lib/Analysis/IVDescriptors.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,6 @@ bool RecurrenceDescriptor::isFloatingPointRecurrenceKind(RecurKind Kind) {
6262
return (Kind != RecurKind::None) && !isIntegerRecurrenceKind(Kind);
6363
}
6464

65-
bool RecurrenceDescriptor::isArithmeticRecurrenceKind(RecurKind Kind) {
66-
return (Kind != RecurKind::None) && !isMinMaxRecurrenceKind(Kind) &&
67-
!isAnyOfRecurrenceKind(Kind);
68-
}
69-
7065
/// Determines if Phi may have been type-promoted. If Phi has a single user
7166
/// that ANDs the Phi with a type mask, return the user. RT is updated to
7267
/// account for the narrower bit width represented by the mask, and the AND

0 commit comments

Comments
 (0)