mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-27 15:29:51 +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:
parent
8228a8dd91
commit
57aa3aad33
@ -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);
|
||||
}
|
||||
@ -1270,7 +1269,7 @@ Value *BoUpSLP::vectorizeTree(TreeEntry *E) {
|
||||
|
||||
if (Value *V = alreadyVectorized(E->Scalars))
|
||||
return V;
|
||||
|
||||
|
||||
Value *V = Builder.CreateSelect(Cond, True, False);
|
||||
E->VectorizedValue = V;
|
||||
return V;
|
||||
|
Loading…
Reference in New Issue
Block a user