mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 22:04:55 +00:00
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:
parent
36422d8876
commit
915584ed13
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user