1 ; RUN: llc < %s -march=x86 -mcpu=corei7 -mattr=+avx2 | FileCheck %s
3 declare x86_fastcallcc i64 @barrier()
6 ;CHECK: vbroadcastss -24(%ebp), %ymm0 # 16-byte Folded Reload
8 define <8 x float> @bcast_fold( float* %A) {
11 %tt3 = call x86_fastcallcc i64 @barrier()
12 br i1 undef, label %work, label %exit
15 %A1 = insertelement <8 x float> undef, float %A0, i32 0
16 %A2 = shufflevector <8 x float> %A1, <8 x float> undef, <8 x i32> <i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0>