Skip to content

Commit ab0b4d3

Browse files
committed
Refine the comment for getSentinelValue
1 parent e50439e commit ab0b4d3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/include/llvm/Analysis/IVDescriptors.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,8 @@ class RecurrenceDescriptor {
263263
/// actual type of the Phi if the recurrence has been type-promoted.
264264
Type *getRecurrenceType() const { return RecurrenceType; }
265265

266-
/// Returns the sentinel value used to replace the start value.
266+
/// Returns the sentinel value for FindLastIV recurrences to replace the start
267+
/// value.
267268
Value *getSentinelValue() const {
268269
if (isFindLastIVRecurrenceKind(Kind)) {
269270
Type *Ty = StartValue->getType();

0 commit comments

Comments
 (0)