================
@@ -768,3 +768,42 @@ unsigned char test_ktestz_mask64_u8(__mmask64 A, __mmask64
B) {
return _ktestz_mask64_u8(A, B);
}
+
+
+__m512i test_mm512_movm_epi16(__mmask32 __A) {
+ // CIR-LABEL: _mm512_movm_epi16
+ // CIR: %{{.*}} = cir.cast bitcast %{{.*}} : !u32i ->
!cir.vector<!cir.int<s, 1> x 32>
+ // CIR: %{{.*}} = cir.cast integral %{{.*}} : !cir.vector<!cir.int<s, 1> x
32> -> !cir.vector<!s16i x 32>
+ // LLVM-LABEL: @test_mm512_movm_epi16
+ // LLVM: %{{.*}} = bitcast i32 %{{.*}} to <32 x i1>
+ // LLVM: %{{.*}} = sext <32 x i1> %{{.*}} to <32 x i16>
----------------
andykaylor wrote:
Can you add OGCG checks here?
https://github.com/llvm/llvm-project/pull/171694
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits