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

Alexey Bataev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 5 17:47:41 PDT 2023


ABataev 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)
----------------
I don't see this statement in the standard


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

https://reviews.llvm.org/D157197



More information about the cfe-commits mailing list