[X86] Add AVX512 target to load scalar to vector tests
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 21 Sep 2018 21:08:26 +0000 (21:08 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 21 Sep 2018 21:08:26 +0000 (21:08 +0000)
To investigate broadcast instruction codegen for D51553

llvm-svn: 342773

llvm/test/CodeGen/X86/load-scalar-as-vector.ll

index e49b5d4..1f1d93a 100644 (file)
@@ -3,6 +3,7 @@
 ; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse4.2     | FileCheck %s --check-prefixes=SSE,SSE4
 ; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx        | FileCheck %s --check-prefixes=AVX,AVX1
 ; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2       | FileCheck %s --check-prefixes=AVX,AVX2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512dq,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX512
 
 define <4 x i32> @add_op1_constant(i32* %p) nounwind {
 ; SSE-LABEL: add_op1_constant: