diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2015-06-16 11:59:36 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2015-06-16 11:59:36 +0000 |
commit | ae05c29ab59ff7d1f90bcc35fa3b282cb3861197 (patch) | |
tree | 1882dd27932f3d82782d54abd12fd8b98838abb1 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 0f291276361f863ed2898e1eecbbf3da94e2dfe8 (diff) | |
download | llvm-ae05c29ab59ff7d1f90bcc35fa3b282cb3861197.zip llvm-ae05c29ab59ff7d1f90bcc35fa3b282cb3861197.tar.gz llvm-ae05c29ab59ff7d1f90bcc35fa3b282cb3861197.tar.bz2 |
[OPENMP] Remove last iteration separation for loop-based constructs.
Previously the last iteration for simd loop-based OpenMP constructs were generated as a separate code. This feature is not required and codegen is simplified.
llvm-svn: 239810
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 469022d..b3c31f6 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -2189,8 +2189,7 @@ public: private: /// Helpers for the OpenMP loop directives. - void EmitOMPLoopBody(const OMPLoopDirective &Directive, - bool SeparateIter = false); + void EmitOMPLoopBody(const OMPLoopDirective &Directive); void EmitOMPSimdFinal(const OMPLoopDirective &S); /// \brief Emit code for the worksharing loop-based directive. /// \return true, if this construct has any lastprivate clause, false - |