[PATCH] D149162: [Clang][OpenMP][IRBuilder] Move registerTargetGlobalVariable & getAddrOfDeclareTargetVar into the OMPIRBuilder

Jan Sjödin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 6 07:16:30 PDT 2023


jsjodin accepted this revision.
jsjodin added a comment.
This revision is now accepted and ready to land.

Looks good.



================
Comment at: llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp:5230
+      if (!IsExternallyVisible)
+        OS << llvm::format("_%x", EntryInfo.FileID);
+      OS << "_decl_tgt_ref_ptr";
----------------
Nit: llvm::


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149162



More information about the cfe-commits mailing list