[IndVars] avoid crash in LFTR when assuming an add recurrence
The test is a crasher reduced from: https://llvm.org/PR49993 linearFunctionTestReplace() assumes that we have an add recurrence, so check for that as a condition of matching a loop counter. Differential Revision: https://reviews.llvm.org/D101291
Loading
Please sign in to comment