diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2011-08-17 02:29:15 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2011-08-17 02:29:15 +0000 |
commit | 666f500592b0d1b53f78155381434f4338d6999f (patch) | |
tree | 1d604b55ef2be5a68bfba64c0d0d3c56f402614b /test/CodeGen/X86/avx-splat.ll | |
parent | 8a5b262e808ce93cb2817a42b473b99e5bea1000 (diff) | |
download | external_llvm-666f500592b0d1b53f78155381434f4338d6999f.zip external_llvm-666f500592b0d1b53f78155381434f4338d6999f.tar.gz external_llvm-666f500592b0d1b53f78155381434f4338d6999f.tar.bz2 |
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
Diffstat (limited to 'test/CodeGen/X86/avx-splat.ll')
-rw-r--r-- | test/CodeGen/X86/avx-splat.ll | 3 |
1 files changed, 1 insertions, 2 deletions
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> |