Skip to content

Commit 3e2e9f1

Browse files
committed
Add TODO comment for the decreasing induction
1 parent 7ebc7d8 commit 3e2e9f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Analysis/IVDescriptors.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -740,6 +740,7 @@ RecurrenceDescriptor::isFindLastIVPattern(PHINode *OrigPhi, Instruction *I,
740740
// We are looking for selects of the form:
741741
// select(cmp(), phi, loop_induction) or
742742
// select(cmp(), loop_induction, phi)
743+
// TODO: Support for monotonically decreasing induction variable
743744
if (!IsIncreasingLoopInduction(NonRdxPhi))
744745
return InstDesc(false, I);
745746

0 commit comments

Comments
 (0)