[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 22:13:14 PDT 2023


ddpagan added inline comments.


================
Comment at: clang/lib/CodeGen/CGStmtOpenMP.cpp:1564
+  // Any if-clause associated with expansion for 'target teams loop' should
+  // apply to target region only. OpenMP 5.2 [3.4, if Clause, Semantics, 15-18]
+  if (S.getDirectiveKind() != OMPD_target_teams_loop)
----------------
ABataev wrote:
> I don't see this statement in the standard
Sorry for that confusion on my part, Alexey. You're correct. I'll change this to the proper spec phrasing and resubmit.


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

https://reviews.llvm.org/D157197



More information about the cfe-commits mailing list