LoopVectorize.cpp: Suppress a warning. [-Wunused-variable]

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169195 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2012-12-04 00:49:34 +00:00
parent 36422d8876
commit 915584ed13

View File

@ -1495,9 +1495,9 @@ bool LoopVectorizationLegality::canVectorize() {
}
// We need to have a loop header.
BasicBlock *Header = TheLoop->getHeader();
BasicBlock *Latch = TheLoop->getLoopLatch();
DEBUG(dbgs() << "LV: Found a loop: " << Header->getName() << "\n");
DEBUG(dbgs() << "LV: Found a loop: " <<
TheLoop->getHeader()->getName() << "\n");
// ScalarEvolution needs to be able to find the exit count.
const SCEV *ExitCount = SE->getExitCount(TheLoop, Latch);