Remove unused variable (-Wunused)

This commit is contained in:
David Blaikie 2022-01-05 20:29:35 -08:00
parent 06c154602e
commit 3988a06d86

View File

@ -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