Skip to content

Commit

Permalink
Revert "Remove unused variable (-Wunused)"
Browse files Browse the repository at this point in the history
Patch that removed the use of this variable was  reverted in
8ade3d4

This reverts commit 3988a06.
  • Loading branch information
dwblaikie committed Jan 6, 2022
1 parent 811b60f commit 31b79b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm/lib/Transforms/Scalar/LoopInterchange.cpp
Expand Up @@ -793,6 +793,7 @@ 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
Expand Down

0 comments on commit 31b79b8

Please sign in to comment.