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

LGTM



================
Comment at: clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp:1057
+
+  Bld.restoreIP(OMPBuilder.createTargetInit(Bld, IsSPMD, requiresFullRuntime(),
+                                            StackSize));
----------------
jhuber6 wrote:
> tianshilei1992 wrote:
> > Do we want to check somewhere if it's a valid value?
> It's an unsigned value that corresponds to how much memory gets allocated, 
> every value should be equally valid since we don't really know how much 
> memory there is. I was considering making it a 64-bit unsigned as well, but I 
> figured no one would need that much shared memory.
That makes sense.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110108

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to