diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-09-14 21:35:16 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-09-14 21:35:16 +0000 |
commit | 6b2a61d3a5c1c1ac968e0593b8d9151207216882 (patch) | |
tree | d715507a835b34ed4913199e928408bf2d880758 /clang/lib/CodeGen/CGOpenMPRuntime.cpp | |
parent | ddc04ef4933dbb176fde074613508d5311d3c338 (diff) | |
download | bcm5719-llvm-6b2a61d3a5c1c1ac968e0593b8d9151207216882.tar.gz bcm5719-llvm-6b2a61d3a5c1c1ac968e0593b8d9151207216882.zip |
Revert "Always_inline codegen rewrite" and 2 follow-ups.
Revert "Update cxx-irgen.cpp test to allow signext in alwaysinline functions."
Revert "[CodeGen] Remove wrapper-free always_inline functions from COMDATs"
Revert "Always_inline codegen rewrite."
Reason for revert: PR24793.
llvm-svn: 247620
Diffstat (limited to 'clang/lib/CodeGen/CGOpenMPRuntime.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGOpenMPRuntime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGOpenMPRuntime.cpp b/clang/lib/CodeGen/CGOpenMPRuntime.cpp index f85f66bd134..a9e7a9c5552 100644 --- a/clang/lib/CodeGen/CGOpenMPRuntime.cpp +++ b/clang/lib/CodeGen/CGOpenMPRuntime.cpp @@ -2114,7 +2114,7 @@ emitTaskPrivateMappingFunction(CodeGenModule &CGM, SourceLocation Loc, ".omp_task_privates_map.", &CGM.getModule()); CGM.SetLLVMFunctionAttributes(/*D=*/nullptr, TaskPrivatesMapFnInfo, TaskPrivatesMap); - CGM.AddAlwaysInlineFunction(TaskPrivatesMap); + TaskPrivatesMap->addFnAttr(llvm::Attribute::AlwaysInline); CodeGenFunction CGF(CGM); CGF.disableDebugInfo(); CGF.StartFunction(GlobalDecl(), C.VoidTy, TaskPrivatesMap, |