[LoopInterchange] Remove unused RecurrenceDescriptor object. NFC

This commit is contained in:
Craig Topper 2023-03-03 22:15:32 -08:00
parent 829b8912cd
commit fac4c476b9

View File

@ -736,7 +736,6 @@ bool LoopInterchangeLegality::findInductionAndReductions(
if (!L->getLoopLatch() || !L->getLoopPredecessor())
return false;
for (PHINode &PHI : L->getHeader()->phis()) {
RecurrenceDescriptor RD;
InductionDescriptor ID;
if (InductionDescriptor::isInductionPHI(&PHI, L, SE, ID))
Inductions.push_back(&PHI);