diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2015-05-20 13:12:48 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2015-05-20 13:12:48 +0000 |
commit | d7589ffe1d9319e1ff36bee1b6d61b44aabbba09 (patch) | |
tree | 1a67568845a90ac92cb20763065c511a4d08b58e /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 15413ea02ba202f2de500059930cc60cf1af9ae4 (diff) | |
download | llvm-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.h | 6 |
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: |