From f99b535fdb83a1943fa1a1970f49a389b6581b10 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Tue, 4 Dec 2012 00:49:34 +0000 Subject: LoopVectorize.cpp: Suppress a warning. [-Wunused-variable] llvm-svn: 169195 --- llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/Transforms/Vectorize/LoopVectorize.cpp') diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp index b720c9733e0..0e33228cc93 100644 --- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/llvm/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); -- cgit v1.2.3