[PATCH] D157197: [clang][CodeGen][OpenMP] Fix if-clause for 'target teams loop'

David Pagan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 5 13:43:08 PDT 2023


ddpagan created this revision.
ddpagan added a reviewer: ABataev.
ddpagan added projects: clang, OpenMP.
Herald added subscribers: guansong, yaxunl.
Herald added a project: All.
ddpagan requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: cfe-commits, jplehr, sstefan1.

When emitting parallel region for 'target teams distribute parallel for' expansion of 'target teams loop', ignore if-clause as anything specified
should apply to target region only.

Updated test results for OpenMP/target_teams_generic_loop_if_codegen.cpp


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D157197

Files:
  clang/lib/CodeGen/CGStmtOpenMP.cpp
  clang/test/OpenMP/target_teams_generic_loop_if_codegen.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157197.547508.patch
Type: text/x-patch
Size: 8168 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230805/84cee324/attachment.bin>


More information about the cfe-commits mailing list