aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2015-05-20 13:12:48 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2015-05-20 13:12:48 +0000
commitd7589ffe1d9319e1ff36bee1b6d61b44aabbba09 (patch)
tree1a67568845a90ac92cb20763065c511a4d08b58e /clang/lib/CodeGen/CodeGenFunction.h
parent15413ea02ba202f2de500059930cc60cf1af9ae4 (diff)
downloadllvm-d7589ffe1d9319e1ff36bee1b6d61b44aabbba09.zip
llvm-d7589ffe1d9319e1ff36bee1b6d61b44aabbba09.tar.gz
llvm-d7589ffe1d9319e1ff36bee1b6d61b44aabbba09.tar.bz2
[OPENMP] Fix codegen for ordered loop directives.
loops with ordered clause must be generated the same way as dynamic loops, but with static scheduleing. llvm-svn: 237788
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index be134bc..650ad7b 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -2198,9 +2198,9 @@ private:
bool EmitOMPWorksharingLoop(const OMPLoopDirective &S);
void EmitOMPForOuterLoop(OpenMPScheduleClauseKind ScheduleKind,
const OMPLoopDirective &S,
- OMPPrivateScope &LoopScope, llvm::Value *LB,
- llvm::Value *UB, llvm::Value *ST, llvm::Value *IL,
- llvm::Value *Chunk);
+ OMPPrivateScope &LoopScope, bool Ordered,
+ llvm::Value *LB, llvm::Value *UB, llvm::Value *ST,
+ llvm::Value *IL, llvm::Value *Chunk);
public: