[clang] [Headers][X86] Allow AVX512 _mm512_set* intrinsics to be used in constexpr (PR #152910)
Simon Pilgrim via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 11 04:32:26 PDT 2025
================
@@ -13,12 +14,14 @@ __m128h test_mm_setzero_ph(void) {
// CHECK: zeroinitializer
return _mm_setzero_ph();
}
+TEST_CONSTEXPR(match_m128(_mm_setzero_ph(), +0.0f, +0.0f, +0.0f, +0.0f, +0.0f, +0.0f, +0.0f, +0.0f));
----------------
RKSimon wrote:
It looks like we're missing c++ test coverage - I've raised #152997 to handle it so once that's committed you will need to merge against trunk and handle the regressions
https://github.com/llvm/llvm-project/pull/152910
More information about the cfe-commits
mailing list