From 3988a06d86e1a14dfd5f5fdae84ddbf928e85dab Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Wed, 5 Jan 2022 20:29:35 -0800 Subject: [PATCH] Remove unused variable (-Wunused) --- 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 f03862cdf421..ff054e722430 100644 --- a/llvm/lib/Transforms/Scalar/LoopInterchange.cpp +++ b/llvm/lib/Transforms/Scalar/LoopInterchange.cpp @@ -793,7 +793,6 @@ bool LoopInterchangeLegality::findInductionAndReductions( // This function indicates the current limitations in the transform as a result // of which we do not proceed. bool LoopInterchangeLegality::currentLimitations() { - BasicBlock *InnerLoopPreHeader = InnerLoop->getLoopPreheader(); BasicBlock *InnerLoopLatch = InnerLoop->getLoopLatch(); // transform currently expects the loop latches to also be the exiting