diff --git a/test/CodeGen/X86/avx-splat.ll b/test/CodeGen/X86/avx-splat.ll index 417d7b09c51..57ff01b59f2 100644 --- a/test/CodeGen/X86/avx-splat.ll +++ b/test/CodeGen/X86/avx-splat.ll @@ -80,8 +80,7 @@ __load_and_broadcast_32.exit1249: ; preds = %load.i1247, %for_ex ; CHECK: vinsertf128 $1 ; CHECK-NEXT: vpermilps $0 -define <8 x float> @funcF(i32* %ptr) nounwind { - %val = load i32* %ptr, align 4 +define <8 x float> @funcF(i32 %val) nounwind { %ret6 = insertelement <8 x i32> undef, i32 %val, i32 6 %ret7 = insertelement <8 x i32> %ret6, i32 %val, i32 7 %tmp = bitcast <8 x i32> %ret7 to <8 x float>