[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
Wed May 20 11:27:58 PDT 2020


jhuber6 updated this revision to Diff 265307.
jhuber6 added a comment.
Herald added a subscriber: hiraditya.

Changed CGOpenMPRuntime to use the getOrCreateRuntimeFunction method in OpenMPIRBuilder. Also changed the type signature for kmpc_critical_with_hint to Int32Ty.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80222/new/

https://reviews.llvm.org/D80222

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80222.265307.patch
Type: text/x-patch
Size: 110498 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200520/65c783e3/attachment-0001.bin>


More information about the cfe-commits mailing list