diff options
author | Samuel Antao <sfantao@us.ibm.com> | 2016-06-16 16:06:22 +0000 |
---|---|---|
committer | Samuel Antao <sfantao@us.ibm.com> | 2016-06-16 16:06:22 +0000 |
commit | b1f9501242ced15bad9d98b4b729dcb2f5dc925b (patch) | |
tree | 34ed7ec3672638acd8c8660a9eee7a7ca02b76ff /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 51ab7579410a1ae0a5e4c4d997f8c65a43fe03b1 (diff) | |
download | llvm-b1f9501242ced15bad9d98b4b729dcb2f5dc925b.zip llvm-b1f9501242ced15bad9d98b4b729dcb2f5dc925b.tar.gz llvm-b1f9501242ced15bad9d98b4b729dcb2f5dc925b.tar.bz2 |
Revert r272900 - [OpenMP] Cast captures by copy when passed to fork call so that they are compatible to what the runtime library expects.
Was causing trouble in one of the regression tests for a 32-bit address space.
llvm-svn: 272908
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index b96e6ba..478093a 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -2230,7 +2230,8 @@ public: llvm::Function *EmitCapturedStmt(const CapturedStmt &S, CapturedRegionKind K); llvm::Function *GenerateCapturedStmtFunction(const CapturedStmt &S); Address GenerateCapturedStmtArgument(const CapturedStmt &S); - llvm::Function *GenerateOpenMPCapturedStmtFunction(const CapturedStmt &S); + llvm::Function *GenerateOpenMPCapturedStmtFunction(const CapturedStmt &S, + bool CastValToPtr = false); void GenerateOpenMPCapturedVars(const CapturedStmt &S, SmallVectorImpl<llvm::Value *> &CapturedVars); void emitOMPSimpleStore(LValue LVal, RValue RVal, QualType RValTy, |