[PATCH] D93597: [X86][SSE] Enable constexpr on some basic SSE intrinsics (RFC)

Pengfei Wang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 4 06:22:39 PST 2021


pengfei added inline comments.


================
Comment at: clang/test/CodeGen/X86/sse-builtins.c:815
+// Test constexpr handling.
+#if defined(__cplusplus) && (__cplusplus >= 201103L)
+constexpr __m128 test_constexpr_mm_add_ps(__m128 A, __m128 B) {
----------------
What are these tests testing for?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93597



More information about the cfe-commits mailing list