[llvm-commits] [llvm] r137809 - /llvm/trunk/test/CodeGen/X86/avx-splat.ll
Bruno Cardoso Lopes
bruno.cardoso at gmail.com
Tue Aug 16 19:29:15 PDT 2011
Author: bruno
Date: Tue Aug 16 21:29:15 2011
New Revision: 137809
URL: http://llvm.org/viewvc/llvm-project?rev=137809&view=rev
Log:
Update test to not use the scalar type to splat from a load
Modified:
llvm/trunk/test/CodeGen/X86/avx-splat.ll
Modified: llvm/trunk/test/CodeGen/X86/avx-splat.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/avx-splat.ll?rev=137809&r1=137808&r2=137809&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/avx-splat.ll (original)
+++ llvm/trunk/test/CodeGen/X86/avx-splat.ll Tue Aug 16 21:29:15 2011
@@ -80,8 +80,7 @@
; 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>
More information about the llvm-commits
mailing list