[PATCH] D116319: [OpenMP] Use alignment information in HeapToShared
Joseph Huber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 27 12:04:11 PST 2021
jhuber6 created this revision.
jhuber6 added a reviewer: jdoerfert.
Herald added subscribers: ormris, guansong, hiraditya, yaxunl.
jhuber6 requested review of this revision.
Herald added subscribers: llvm-commits, sstefan1.
Herald added a project: LLVM.
This patch uses the return alignment attribute now present in the
`__kmpc_alloc_shared` runtime call to set the alignment of the shared
memory global created to replace it. This will default to the maximum
worst-case alignment of 16 if not present.
Depends on D115971 <https://reviews.llvm.org/D115971>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D116319
Files:
llvm/lib/Transforms/IPO/OpenMPOpt.cpp
llvm/test/Transforms/OpenMP/replace_globalization.ll
llvm/test/Transforms/OpenMP/spmdization.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116319.396327.patch
Type: text/x-patch
Size: 10707 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211227/7e40f148/attachment.bin>
More information about the llvm-commits
mailing list