================
@@ -279,10 +279,7 @@ Error NativeRecordReplayTy::recordDescImpl(
 
   // Export minimum and maximum for allowed number of threads. If zero, it 
means
   // there was no restriction provided by the program.
-  uint32_t UserThreads = std::max(LaunchArgs.UserThreadLimit[0], uint32_t(0));
-  uint32_t MaxThreads = UserThreads
-                            ? std::min(UserThreads, Kernel.getMaxThreads())
-                            : Kernel.getMaxThreads();
+  uint32_t MaxThreads = Kernel.getMaxThreads();
----------------
ro-i wrote:

ping @kevinsala for awareness (see 
https://github.com/llvm/llvm-project/pull/200639)

https://github.com/llvm/llvm-project/pull/218790
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to