Skip to content

Commit dd21cd3

Browse files
committed
Refine comments
1 parent 2924bf9 commit dd21cd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Analysis/IVDescriptors.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -738,8 +738,8 @@ RecurrenceDescriptor::isFindLastIVPattern(PHINode *OrigPhi, Instruction *I,
738738
};
739739

740740
// We are looking for selects of the form:
741-
// select(cmp(), phi, loop_induction) or
742-
// select(cmp(), loop_induction, phi)
741+
// select(cmp(), phi, increasing_loop_induction) or
742+
// select(cmp(), increasing_loop_induction, phi)
743743
// TODO: Support for monotonically decreasing induction variable
744744
if (!IsIncreasingLoopInduction(NonRdxPhi))
745745
return InstDesc(false, I);

0 commit comments

Comments
 (0)