diff options
| author | Alexey Bataev <a.bataev@hotmail.com> | 2016-01-21 12:35:58 +0000 |
|---|---|---|
| committer | Alexey Bataev <a.bataev@hotmail.com> | 2016-01-21 12:35:58 +0000 |
| commit | 8524d1595425818a7aac74a8bbd36b20d6e46029 (patch) | |
| tree | b6a68a5d078f1244023b11d190dcefaeda305ef0 /clang/lib/CodeGen/CodeGenFunction.h | |
| parent | ff262fa8071f5680c794ec5bc2074ebec3eebce7 (diff) | |
| download | bcm5719-llvm-8524d1595425818a7aac74a8bbd36b20d6e46029.tar.gz bcm5719-llvm-8524d1595425818a7aac74a8bbd36b20d6e46029.zip | |
[OPENMP] Fix crash on reduction for complex variables.
reworked codegen for reduction operation for complex types to avoid crash
llvm-svn: 258394
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 129cc9918d7..af9ab5369be 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -2212,6 +2212,8 @@ public: llvm::Function *GenerateOpenMPCapturedStmtFunction(const CapturedStmt &S); void GenerateOpenMPCapturedVars(const CapturedStmt &S, SmallVectorImpl<llvm::Value *> &CapturedVars); + void emitOMPSimpleStore(LValue LVal, RValue RVal, QualType RValTy, + SourceLocation Loc); /// \brief Perform element by element copying of arrays with type \a /// OriginalType from \a SrcAddr to \a DestAddr using copying procedure /// generated by \a CopyGen. |

