[PATCH] D69984: [OpenMP][Opt] Annotate known runtime functions and deduplicate more
Johannes Doerfert via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 7 21:07:55 PST 2019
jdoerfert created this revision.
jdoerfert added reviewers: kiranchandramohan, ABataev, RaviNarayanaswamy, gtbercea, grokos, sdmitriev, JonChesterfield, hfinkel, fghanim.
Herald added a project: LLVM.
jdoerfert removed a subscriber: cfe-commits.
jdoerfert added a parent revision: D69930: [OpenMP] Introduce the OpenMPOpt transformation pass.
This adds ~27 more runtime calls to the OpenMPKinds.def file, all with
attributes. We deduplicate 16 of those automatically in function =
thread scope. And we annotate all of them automatically during the
OpenMPOpt discovery step. A test with all omp_XXXX runtime calls to
track annotation coverage is included.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D69984
Files:
llvm/include/llvm/IR/OpenMPKinds.def
llvm/lib/Transforms/IPO/OpenMPOpt.cpp
llvm/test/Transforms/OpenMP/add_attributes.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69984.228358.patch
Type: text/x-patch
Size: 38432 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191108/0a992b50/attachment-0001.bin>
More information about the cfe-commits
mailing list