1; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl -mattr=+avx512cd | FileCheck %s
2
3define <16 x i32> @test_x86_vbroadcastmw_512(i16 %a0) {
4  ; CHECK: test_x86_vbroadcastmw_512
5  ; CHECK: vpbroadcastmw2d %k0, %zmm0
6  %res = call <16 x i32> @llvm.x86.avx512.broadcastmw.512(i16 %a0) ;
7  ret <16 x i32> %res
8}
9declare <16 x i32> @llvm.x86.avx512.broadcastmw.512(i16)
10
11define <8 x i64> @test_x86_broadcastmb_512(i8 %a0) {
12  ; CHECK: test_x86_broadcastmb_512
13  ; CHECK: vpbroadcastmb2q %k0, %zmm0
14  %res = call <8 x i64> @llvm.x86.avx512.broadcastmb.512(i8 %a0) ;
15  ret <8 x i64> %res
16}
17declare <8 x i64> @llvm.x86.avx512.broadcastmb.512(i8)
18
19