Meinersbur requested changes to this revision.
Meinersbur added inline comments.
This revision now requires changes to proceed.


================
Comment at: clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp:569-570
+  else
+    ThreadLimit = Bld.CreateNUWSub(RT.getGPUNumThreads(CGF),
+                                   RT.getGPUWarpSize(CGF), "thread_limit");
+  assert(ThreadLimit != nullptr && "Expected non-null ThreadLimit");
----------------
getGPUNumThreads and getGPUWarpSize still have undefined call order.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D95976

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

Reply via email to