[PATCH] D69785: [OpenMP] Introduce the OpenMP-IR-Builder

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 11 11:59:16 PST 2019


ABataev added inline comments.


================
Comment at: llvm/include/llvm/Frontend/OpenMP/OMPConstants.h:74
+///
+///{
+namespace types {
----------------
jdoerfert wrote:
> ABataev wrote:
> > Extra comments?
> I don't know what you want to tell me.
I mean, you have this `///{` here. Do you need it?


================
Comment at: llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp:174-177
+    if (auto *IdentI = dyn_cast<Instruction>(Ident))
+      Call->moveAfter(IdentI);
+    else
+      Call->moveBefore(&*Fn->getEntryBlock().getFirstInsertionPt());
----------------
jdoerfert wrote:
> ABataev wrote:
> > Are you sure it will work correctly with late outlining?
> Yes.
Ah, the code fro threadid changed already, probably missed it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69785





More information about the llvm-commits mailing list