From fac4c476b97b9f2a9dace059f084696d856c033b Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Fri, 3 Mar 2023 22:15:32 -0800 Subject: [PATCH] [LoopInterchange] Remove unused RecurrenceDescriptor object. NFC --- llvm/lib/Transforms/Scalar/LoopInterchange.cpp | 1 - 1 file changed, 1 deletion(-) 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); -- 2.7.4