[clang] [OpenMP][CodeGen] Improved codegen for combined loop directives (PR #72417)
Alexey Bataev via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 11 12:19:28 PDT 2024
================
@@ -1537,6 +1537,12 @@ class CodeGenModule : public CodeGenTypeCache {
void printPostfixForExternalizedDecl(llvm::raw_ostream &OS,
const Decl *D) const;
+ /// Under debug mode, print status of target teams loop transformation,
+ /// which should be either '#distribute' or '#parallel for'
+ void emitTargetTeamsLoopCodegenStatus(std::string StatusMsg,
+ const OMPExecutableDirective &D,
+ bool IsDevice);
+
----------------
alexey-bataev wrote:
Don't like the idea of adding new member function specifically for debugging
https://github.com/llvm/llvm-project/pull/72417
More information about the cfe-commits
mailing list