================
@@ -3226,6 +3226,18 @@ __m256i test_mm256_movm_epi8(__mmask32 __A) {
return _mm256_movm_epi8(__A);
}
+__m512i test_mm512_movm_epi8(__mmask64 __A) {
+ // CIR-LABEL: _mm512_movm_epi8
+ // CIR: %{{.*}} = cir.cast bitcast %{{.*}} : !u64i ->
!cir.vector<!cir.int<s, 1> x 64>
+ // CIR: %{{.*}} = cir.cast integral %{{.*}} : !cir.vector<!cir.int<s, 1> x
64> -> !cir.vector<{{!s8i|!u8i}} x 64>
+
+ // LLVM-LABEL: @test_mm512_movm_epi8
+ // LLVM: %{{.*}} = bitcast i64 %{{.*}} to <64 x i1>
+ // LLVM: %{{.*}} = sext <64 x i1> %{{.*}} to <64 x i8>
+ return _mm512_movm_epi8(__A);
----------------
MarwanTarik wrote:
I had checked the incubator tests and the upstreamed ones, and I found that
most of the tests are already upstreamed.
https://github.com/llvm/llvm-project/pull/171694
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits