diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-10-17 23:40:15 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-10-17 23:40:15 +0000 |
commit | 6dc0050f6d42520ad92e6786551f27ee3f365ecd (patch) | |
tree | df6bb302ff1078b67c2cc9acf44100c2402b266c /lib/Transforms/Vectorize | |
parent | 6e0c2b36d6dfe66ec394ad050f4a08252975b5ef (diff) | |
download | external_llvm-6dc0050f6d42520ad92e6786551f27ee3f365ecd.zip external_llvm-6dc0050f6d42520ad92e6786551f27ee3f365ecd.tar.gz external_llvm-6dc0050f6d42520ad92e6786551f27ee3f365ecd.tar.bz2 |
LoopVectorize.cpp: Fix a warning. [-Wunused-variable]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166153 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Vectorize')
-rw-r--r-- | lib/Transforms/Vectorize/LoopVectorize.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Transforms/Vectorize/LoopVectorize.cpp b/lib/Transforms/Vectorize/LoopVectorize.cpp index b256155..f84e392 100644 --- a/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -195,9 +195,8 @@ struct LoopVectorize : public LoopPass { 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); |