Skip to content

Commit 4da6972

Browse files
committed
[X86] test_mm512_mask_fmadd_ps - add missing select checks
1 parent 5db67e1 commit 4da6972

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/test/CodeGen/X86/avx512f-builtins.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -778,6 +778,8 @@ __m512 test_mm512_fmadd_ps(__m512 __A, __m512 __B, __m512 __C) {
778778
__m512 test_mm512_mask_fmadd_ps(__m512 __A, __mmask16 __U, __m512 __B, __m512 __C) {
779779
// CHECK-LABEL: test_mm512_mask_fmadd_ps
780780
// CHECK: call {{.*}}<16 x float> @llvm.fma.v16f32(<16 x float> %{{.*}}, <16 x float> %{{.*}}, <16 x float> %{{.*}})
781+
// CHECK: bitcast i16 %{{.*}} to <16 x i1>
782+
// CHECK: select <16 x i1> %{{.*}}, <16 x float> %{{.*}}, <16 x float> %{{.*}}
781783
return _mm512_mask_fmadd_ps(__A, __U, __B, __C);
782784
}
783785
__m512 test_mm512_mask3_fmadd_ps(__m512 __A, __m512 __B, __m512 __C, __mmask16 __U) {

0 commit comments

Comments
 (0)