remove unused variable to fix a warning.

llvm-svn: 166170
This commit is contained in:
Nadav Rotem 2012-10-18 06:09:21 +00:00
parent 7293669878
commit 76ff018e87

View File

@ -410,9 +410,8 @@ void SingleBlockLoopVectorizer::createEmptyLoop() {
BasicBlock *ExitBlock = Orig->getExitBlock();
assert(ExitBlock && "Must have an exit block");
BasicBlock *ScalarBody = Orig->getHeader();
assert(Orig->getNumBlocks() == 1 && "Invalid loop");
assert(ScalarBody && BypassBlock && "Invalid loop structure");
assert(BypassBlock && "Invalid loop structure");
BasicBlock *VectorPH =
BypassBlock->splitBasicBlock(BypassBlock->getTerminator(), "vector.ph");