[PATCH] D81031: [OpenMP] Add Additional Function Attribute Information to OMPKinds.def
Joseph Huber via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 11 14:53:42 PDT 2020
jhuber6 updated this revision to Diff 270239.
jhuber6 added a comment.
Herald added subscribers: cfe-commits, aaron.ballman.
Herald added a project: clang.
Adding parameter and return attributes for pointers. There are some arguments I wasn't sure how they should be classified, like if every argument should be `NoCapture` because the lifetime of the memory isn't visible to the caller. For returned void pointers I assumed that they were aligned by eight in cases I found that the return value was a pointer to an OpenMP Runtime struct, otherwise I set it to one. I might need to double check some of the attributes to make sure they make sense.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81031/new/
https://reviews.llvm.org/D81031
Files:
clang/test/OpenMP/barrier_codegen.cpp
llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
llvm/test/Transforms/OpenMP/add_attributes.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81031.270239.patch
Type: text/x-patch
Size: 87380 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200611/4b72bbaa/attachment-0001.bin>
More information about the cfe-commits
mailing list