diff options
Diffstat (limited to 'polly/lib/CodeGen/LoopGenerators.cpp')
-rw-r--r-- | polly/lib/CodeGen/LoopGenerators.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/polly/lib/CodeGen/LoopGenerators.cpp b/polly/lib/CodeGen/LoopGenerators.cpp index 483a994eda3..42f7e6710aa 100644 --- a/polly/lib/CodeGen/LoopGenerators.cpp +++ b/polly/lib/CodeGen/LoopGenerators.cpp @@ -56,8 +56,8 @@ Value *polly::createLoop(Value *LB, Value *UB, Value *Stride, PollyIRBuilder &Builder, LoopInfo &LI, DominatorTree &DT, BasicBlock *&ExitBB, ICmpInst::Predicate Predicate, - ScopAnnotator *Annotator, bool Parallel, - bool UseGuard) { + ScopAnnotator *Annotator, bool Parallel, bool UseGuard, + bool LoopVectDisabled) { Function *F = Builder.GetInsertBlock()->getParent(); LLVMContext &Context = F->getContext(); @@ -132,7 +132,7 @@ Value *polly::createLoop(Value *LB, Value *UB, Value *Stride, // Create the loop latch and annotate it as such. BranchInst *B = Builder.CreateCondBr(LoopCondition, HeaderBB, ExitBB); if (Annotator) - Annotator->annotateLoopLatch(B, NewLoop, Parallel); + Annotator->annotateLoopLatch(B, NewLoop, Parallel, LoopVectDisabled); IV->addIncoming(IncrementedIV, HeaderBB); if (GuardBB) |