diff options
Diffstat (limited to 'polly/lib/CodeGen/IslCodeGeneration.cpp')
-rw-r--r-- | polly/lib/CodeGen/IslCodeGeneration.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/polly/lib/CodeGen/IslCodeGeneration.cpp b/polly/lib/CodeGen/IslCodeGeneration.cpp index 22a8fe51abf..f5599ee3a25 100644 --- a/polly/lib/CodeGen/IslCodeGeneration.cpp +++ b/polly/lib/CodeGen/IslCodeGeneration.cpp @@ -319,8 +319,8 @@ void IslNodeBuilder::createForSequential(__isl_take isl_ast_node *For) { CmpInst::Predicate Predicate; bool Parallel; - Parallel = IslAstInfo::isInnermostParallel(For) && - !IslAstInfo::isReductionParallel(For); + Parallel = + IslAstInfo::isParallel(For) && !IslAstInfo::isReductionParallel(For); Body = isl_ast_node_for_get_body(For); @@ -362,7 +362,7 @@ void IslNodeBuilder::createForSequential(__isl_take isl_ast_node *For) { create(Body); - Annotator.End(); + Annotator.popLoop(Parallel); IDToValue.erase(IteratorID); |