[PATCH] D80222: Replace Clang's createRuntimeFunction with the definitions in OMPKinds.def

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 19 10:55:36 PDT 2020


jhuber6 created this revision.
jhuber6 added a reviewer: jdoerfert.
jhuber6 added projects: OpenMP, clang, LLVM.
Herald added subscribers: llvm-commits, cfe-commits, sstefan1.
jhuber6 edited the summary of this revision.

This patch changes Clang to generate runtime functions from the information inside OMPKinds.def and to use the enumeration values in OMPConstants. Testing currently fails because of incomplete type support for 32 and 64 bit targets.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D80222

Files:
  clang/lib/CodeGen/CGOpenMPRuntime.cpp
  clang/lib/CodeGen/CGOpenMPRuntime.h
  llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
  llvm/test/Transforms/OpenMP/add_attributes.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80222.264954.patch
Type: text/x-patch
Size: 94217 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200519/6f83f0f7/attachment-0001.bin>


More information about the cfe-commits mailing list