Add AVX512 patterns for v16i32 broadcast and v2i64 zero extend load.
[oota-llvm.git] / test / CodeGen / X86 / avx512-vbroadcast-crash.ll
1 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl 
2
3 define <16 x i32> @test_vbroadcast() {
4 entry:
5   %0 = sext <16 x i1> zeroinitializer to <16 x i32>
6   %1 = fcmp uno <16 x float> undef, zeroinitializer
7   %2 = sext <16 x i1> %1 to <16 x i32>
8   %3 = select <16 x i1> %1, <16 x i32> %0, <16 x i32> %2
9   ret <16 x i32> %3
10 }