diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-12-04 00:49:34 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-12-04 00:49:34 +0000 |
commit | 915584ed136c29b8fd9304268967f3f359befbb0 (patch) | |
tree | c592e45edc7283addc5591f32f000417fb94e66e /lib/Transforms/Vectorize/LoopVectorize.cpp | |
parent | 36422d887672dc9a21d9add99c675bdc9e4807dd (diff) |
LoopVectorize.cpp: Suppress a warning. [-Wunused-variable]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169195 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Vectorize/LoopVectorize.cpp')
-rw-r--r-- | lib/Transforms/Vectorize/LoopVectorize.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Vectorize/LoopVectorize.cpp b/lib/Transforms/Vectorize/LoopVectorize.cpp index b720c9733e..0e33228cc9 100644 --- a/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -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); |