X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FX86%2F2007-11-06-InstrSched.ll;h=d88b45f68390343786b8902d1ef402ec2bb4f02f;hb=0e3246a86f553aa6fae35d3bfb91de81dd66a18b;hp=a4e44e1f4e1d18bdc51ddca032cc761d0a0b6373;hpb=ae3a0be92e33bc716722aa600983fc1535acb122;p=oota-llvm.git diff --git a/test/CodeGen/X86/2007-11-06-InstrSched.ll b/test/CodeGen/X86/2007-11-06-InstrSched.ll index a4e44e1f4e1..d88b45f6839 100644 --- a/test/CodeGen/X86/2007-11-06-InstrSched.ll +++ b/test/CodeGen/X86/2007-11-06-InstrSched.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | not grep lea +; RUN: llc < %s -march=x86 -mcpu=generic -mattr=+sse2 | not grep lea define float @foo(i32* %x, float* %y, i32 %c) nounwind { entry: @@ -8,11 +8,11 @@ entry: bb18: ; preds = %bb18, %entry %i.0.reg2mem.0 = phi i32 [ 0, %entry ], [ %tmp17, %bb18 ] ; [#uses=3] %res.0.reg2mem.0 = phi float [ 0.000000e+00, %entry ], [ %tmp14, %bb18 ] ; [#uses=1] - %tmp3 = getelementptr i32* %x, i32 %i.0.reg2mem.0 ; [#uses=1] - %tmp4 = load i32* %tmp3, align 4 ; [#uses=1] + %tmp3 = getelementptr i32, i32* %x, i32 %i.0.reg2mem.0 ; [#uses=1] + %tmp4 = load i32, i32* %tmp3, align 4 ; [#uses=1] %tmp45 = sitofp i32 %tmp4 to float ; [#uses=1] - %tmp8 = getelementptr float* %y, i32 %i.0.reg2mem.0 ; [#uses=1] - %tmp9 = load float* %tmp8, align 4 ; [#uses=1] + %tmp8 = getelementptr float, float* %y, i32 %i.0.reg2mem.0 ; [#uses=1] + %tmp9 = load float, float* %tmp8, align 4 ; [#uses=1] %tmp11 = fmul float %tmp9, %tmp45 ; [#uses=1] %tmp14 = fadd float %tmp11, %res.0.reg2mem.0 ; [#uses=2] %tmp17 = add i32 %i.0.reg2mem.0, 1 ; [#uses=2]