[PATCH] D113538: OpenMP: Start calling setTargetAttributes for generated kernels

Matt Arsenault via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 9 19:20:43 PST 2021


arsenm created this revision.
arsenm added reviewers: jdoerfert, JonChesterfield, ronlieb, gregrodgers.
Herald added subscribers: guansong, yaxunl, jvesely.
arsenm requested review of this revision.
Herald added subscribers: sstefan1, wdng.

This wasn't setting any of the attributes the target would expect to
emit for kernels.


https://reviews.llvm.org/D113538

Files:
  clang/lib/CodeGen/CGOpenMPRuntime.cpp
  clang/lib/CodeGen/TargetInfo.cpp
  clang/test/OpenMP/amdgcn-attributes.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113538.386046.patch
Type: text/x-patch
Size: 7140 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211110/8a06a15e/attachment.bin>


More information about the cfe-commits mailing list