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

Alexey Lapshin via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 19 23:15:49 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:

This TaskGroupSequentialFor test  is not necessary at all as "sequential" is removed.

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


More information about the llvm-commits mailing list