[llvm-commits] [llvm] r166153 - /llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
NAKAMURA Takumi
geek4civic at gmail.com
Wed Oct 17 16:40:15 PDT 2012
Author: chapuni
Date: Wed Oct 17 18:40:15 2012
New Revision: 166153
URL: http://llvm.org/viewvc/llvm-project?rev=166153&view=rev
Log:
LoopVectorize.cpp: Fix a warning. [-Wunused-variable]
Modified:
llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
Modified: llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp?rev=166153&r1=166152&r2=166153&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp Wed Oct 17 18:40:15 2012
@@ -195,9 +195,8 @@
DL = getAnalysisIfAvailable<DataLayout>();
LI = &getAnalysis<LoopInfo>();
- BasicBlock *Header = L->getHeader();
DEBUG(dbgs() << "LV: Checking a loop in \"" <<
- Header->getParent()->getName() << "\"\n");
+ L->getHeader()->getParent()->getName() << "\"\n");
// Check if it is legal to vectorize the loop.
LoopVectorizationLegality LVL(L, SE, DL);
More information about the llvm-commits
mailing list