[clang] [X86][ByteCode] Allow PSHUFB intrinsics to be used in constexpr #156612 (PR #163148)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 15 01:45:28 PDT 2025
================
@@ -110,6 +110,8 @@ __m128i test_mm_shuffle_epi8(__m128i a, __m128i b) {
return _mm_shuffle_epi8(a, b);
}
+TEST_CONSTEXPR(match_v16qi(_mm_shuffle_epi8((__m128i)(__v16qi){0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,char(-15)}, (__m128i)(__v16qi){15,char(-14),13,12,11,10,9,8,7,6,5,4,3,2,1,0}), -15,0,13,12,11,10,9,8,7,6,5,4,3,2,1,0));
----------------
shashank1545 wrote:
Changed the types and added more zeroing elements in the tests.
https://github.com/llvm/llvm-project/pull/163148
More information about the cfe-commits
mailing list