Fix AVX512 vector sqrt assembly strings.
[oota-llvm.git] / test / CodeGen / X86 / avx512-zext-load-crash.ll
1 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl | FileCheck %s
2
3 define <8 x i16> @test_zext_load() {
4   ; CHECK: vmovq
5 entry:
6   %0 = load <2 x i16> ** undef, align 8
7   %1 = getelementptr inbounds <2 x i16>* %0, i64 1
8   %2 = load <2 x i16>* %0, align 1
9   %3 = shufflevector <2 x i16> %2, <2 x i16> undef, <8 x i32> <i32 0, i32 1, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef>
10   %4 = load <2 x i16>* %1, align 1
11   %5 = shufflevector <2 x i16> %4, <2 x i16> undef, <8 x i32> <i32 0, i32 1, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef>
12   %6 = shufflevector <8 x i16> %3, <8 x i16> %5, <8 x i32> <i32 0, i32 1, i32 8, i32 9, i32 undef, i32 undef, i32 undef, i32 undef>
13   ret <8 x i16> %6
14 }