From: Craig Topper Date: Sat, 4 Mar 2023 06:15:32 +0000 (-0800) Subject: [LoopInterchange] Remove unused RecurrenceDescriptor object. NFC X-Git-Tag: upstream/17.0.6~15856 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fac4c476b97b9f2a9dace059f084696d856c033b;p=platform%2Fupstream%2Fllvm.git [LoopInterchange] Remove unused RecurrenceDescriptor object. NFC --- diff --git a/llvm/lib/Transforms/Scalar/LoopInterchange.cpp b/llvm/lib/Transforms/Scalar/LoopInterchange.cpp index 14febae..66c498a 100644 --- a/llvm/lib/Transforms/Scalar/LoopInterchange.cpp +++ b/llvm/lib/Transforms/Scalar/LoopInterchange.cpp @@ -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);