[PATCH] D138614: [Clang][OpenMP][AMDGPU] Fix capture of variably modified type alias in teams distribute

Gheorghe-Teodor Bercea via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 23 14:40:54 PST 2022


doru1004 created this revision.
doru1004 added reviewers: carlo.bertolli, ronl, ABataev, jhuber6.
doru1004 added a project: OpenMP.
Herald added subscribers: kosarev, jeroen.dobbelaere, guansong, tpr, dstuttard, yaxunl, kzhuravl.
Herald added a project: All.
doru1004 requested review of this revision.
Herald added subscribers: cfe-commits, sstefan1, wdng.
Herald added a reviewer: jdoerfert.
Herald added a project: clang.

This patch fixes an issue with failing to properly capture a variably modified type alias of an already mapped flat array. The test showcases a minimal example of the failing scenario.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D138614

Files:
  clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
  clang/test/OpenMP/target_teams_distribute_with_alias.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138614.477610.patch
Type: text/x-patch
Size: 23617 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221123/fd341c21/attachment-0001.bin>


More information about the cfe-commits mailing list