mirror of
https://github.com/RPCS3/llvm.git
synced 2025-04-02 05:12:20 +00:00
LoopVectorize.cpp: Fix a warning. [-Wunused-variable]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166153 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6e0c2b36d6
commit
6dc0050f6d
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user