mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Fix unused variable in release build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189264 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1141,10 +1141,9 @@ Value *BoUpSLP::vectorizeTree(TreeEntry *E) {
|
||||
VectorType *VecTy = VectorType::get(ScalarTy, E->Scalars.size());
|
||||
|
||||
if (E->NeedToGather) {
|
||||
BasicBlock *BB = VL0->getParent();
|
||||
BasicBlock::iterator NextInst = getLastInstruction(E->Scalars);
|
||||
++NextInst;
|
||||
assert(NextInst != BB->end());
|
||||
assert(NextInst != VL0->getParent()->end());
|
||||
Builder.SetInsertPoint(NextInst);
|
||||
return Gather(E->Scalars, VecTy);
|
||||
}
|
||||
|
Reference in New Issue
Block a user