[libcxx-commits] [libcxx] [libc++] Reduce the compilation time required by SIMD tests (PR #72602)

via libcxx-commits libcxx-commits at lists.llvm.org
Fri Nov 17 13:28:14 PST 2023


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff 00da5eb86ed0b86002b0947643f7da72faa4fd42 9a366a4c32c3cea4f66a7b72d62d3fb58b627f12 -- libcxx/test/std/experimental/simd/simd.reference/reference_assignment.pass.cpp libcxx/test/std/experimental/simd/test_utils.h
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/libcxx/test/std/experimental/simd/test_utils.h b/libcxx/test/std/experimental/simd/test_utils.h
index 7d607a301b..e60c7bb79d 100644
--- a/libcxx/test/std/experimental/simd/test_utils.h
+++ b/libcxx/test/std/experimental/simd/test_utils.h
@@ -36,7 +36,8 @@ struct TestAllSimdAbiFunctor {
     using abis = types::type_list<ex::simd_abi::scalar, ex::simd_abi::native<T>, ex::simd_abi::compatible<T>>;
     types::for_each(abis{}, F<T, 1>());
 
-    instantiate_with_n<T>(std::index_sequence<1, 2, 3, 4, 8, 16, max_simd_size - 2, max_simd_size - 1, max_simd_size>{});
+    instantiate_with_n<T>(
+        std::index_sequence<1, 2, 3, 4, 8, 16, max_simd_size - 2, max_simd_size - 1, max_simd_size>{});
   }
 };
 

``````````

</details>


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


More information about the libcxx-commits mailing list