From 666f500592b0d1b53f78155381434f4338d6999f Mon Sep 17 00:00:00 2001 From: Bruno Cardoso Lopes Date: Wed, 17 Aug 2011 02:29:15 +0000 Subject: Update test to not use the scalar type to splat from a load git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137809 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/avx-splat.ll | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/CodeGen/X86') diff --git a/test/CodeGen/X86/avx-splat.ll b/test/CodeGen/X86/avx-splat.ll index 417d7b0..57ff01b 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> -- cgit v1.1