Skip to content

Commit

Permalink
[LoopInterchange] Remove unused RecurrenceDescriptor object. NFC
Browse files Browse the repository at this point in the history
  • Loading branch information
topperc committed Mar 4, 2023
1 parent 829b891 commit fac4c47
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion llvm/lib/Transforms/Scalar/LoopInterchange.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fac4c47

Please sign in to comment.