[llvm] [Parallel] Revert sequential task changes (PR #109084)

Alexey Lapshin via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 20 15:07:43 PDT 2024


================
@@ -99,7 +99,12 @@ TEST(Parallel, TaskGroupSequentialFor) {
   {
     parallel::TaskGroup tg;
     for (size_t Idx = 0; Idx < 500; Idx++)
-      tg.spawn([&Count, Idx]() { EXPECT_EQ(Count++, Idx); }, true);
+      tg.spawn(
----------------
avl-llvm wrote:

Sorry, I was not clear enough. I meant that this patch could delete TaskGroupSequentialFor test from unittests/Support/ParallelTest.cpp. As it was added for sequential mode.

https://github.com/llvm/llvm-project/pull/109084


More information about the llvm-commits mailing list