[PATCH] D128550: [OpenMP] Change OpenMP code generation for target region entries

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 24 12:04:17 PDT 2022


jhuber6 created this revision.
jhuber6 added reviewers: ABataev, JonChesterfield, jdoerfert, tianshilei1992.
Herald added subscribers: guansong, hiraditya, yaxunl.
Herald added a project: All.
jhuber6 requested review of this revision.
Herald added subscribers: llvm-commits, cfe-commits, sstefan1.
Herald added projects: clang, LLVM.

This patch changes the code we generate to enter a target region on the
device. This is in-line with the new definition in the runtime that was
added previously. Additionally we implement this in the OpenMPIRBuilder
so that this code can be shared with Flang in the future.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D128550

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128550.439843.patch
Type: text/x-patch
Size: 10622 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220624/d38df3ab/attachment.bin>


More information about the cfe-commits mailing list