aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorSamuel Antao <sfantao@us.ibm.com>2016-06-16 16:06:22 +0000
committerSamuel Antao <sfantao@us.ibm.com>2016-06-16 16:06:22 +0000
commitb1f9501242ced15bad9d98b4b729dcb2f5dc925b (patch)
tree34ed7ec3672638acd8c8660a9eee7a7ca02b76ff /clang/lib/CodeGen/CodeGenFunction.h
parent51ab7579410a1ae0a5e4c4d997f8c65a43fe03b1 (diff)
downloadllvm-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.h3
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,