================
@@ -768,3 +756,51 @@ 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<32 x
!cir.int<u, 1>>
+ // CIR: %{{.*}} = cir.cast integral %{{.*}} : !cir.vector<32 x !cir.int<u,
1>> -> !cir.vector<32 x !s16i>
+
+ // LLVM-LABEL: @test_mm512_movm_epi16
+ // LLVM: %{{.*}} = bitcast i32 %{{.*}} to <32 x i1>
+ // LLVM: %{{.*}} = sext <32 x i1> %{{.*}} to <32 x i16>
----------------
andykaylor wrote:
I think this test, among others, will fail because of the sign-extend issue.
I'll wait until I've merged that before starting the test run for this PR.
Hopefully you won't have to make any changes.
https://github.com/llvm/llvm-project/pull/171694
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits