X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FX86%2F2008-02-27-DeadSlotElimBug.ll;h=857e6237d14f317f864ad1b67bfff0e470eb9f56;hb=417a782401d671d2434d8bcedc6b10a5076525cd;hp=ad7950ccd8e3c112b688ac11a8b96c5c34ea9a51;hpb=36a0947820fd4aa4b8a5fa26e3f079bdf572bc81;p=oota-llvm.git diff --git a/test/CodeGen/X86/2008-02-27-DeadSlotElimBug.ll b/test/CodeGen/X86/2008-02-27-DeadSlotElimBug.ll index ad7950ccd8e..857e6237d14 100644 --- a/test/CodeGen/X86/2008-02-27-DeadSlotElimBug.ll +++ b/test/CodeGen/X86/2008-02-27-DeadSlotElimBug.ll @@ -13,8 +13,8 @@ entry: bb24: ; preds = %bb24, %entry %tmp9.0.reg2mem.0.rec = phi i32 [ %indvar.next, %bb24 ], [ 0, %entry ] ; [#uses=3] - %tmp3.i.i = getelementptr %struct.CompAtom* %tmp1819, i32 %tmp9.0.reg2mem.0.rec, i32 0, i32 1 ; [#uses=0] - %tmp5.i.i = getelementptr %struct.CompAtom* %tmp1819, i32 %tmp9.0.reg2mem.0.rec, i32 0, i32 2 ; [#uses=1] + %tmp3.i.i = getelementptr %struct.CompAtom, %struct.CompAtom* %tmp1819, i32 %tmp9.0.reg2mem.0.rec, i32 0, i32 1 ; [#uses=0] + %tmp5.i.i = getelementptr %struct.CompAtom, %struct.CompAtom* %tmp1819, i32 %tmp9.0.reg2mem.0.rec, i32 0, i32 2 ; [#uses=1] store double -9.999900e+04, double* %tmp5.i.i, align 4 %indvar.next = add i32 %tmp9.0.reg2mem.0.rec, 1 ; [#uses=2] %exitcond = icmp eq i32 %indvar.next, %n ; [#uses=1] @@ -33,8 +33,8 @@ bb35: ; preds = %bb24, %entry %tmp55 = srem i32 %i, 3 ; [#uses=1] %tmp56 = add i32 %tmp55, -1 ; [#uses=1] %tmp5657 = sitofp i32 %tmp56 to double ; [#uses=1] - %tmp15.i49 = getelementptr %struct.Lattice* %this, i32 0, i32 0, i32 0 ; [#uses=1] - %tmp16.i50 = load double* %tmp15.i49, align 4 ; [#uses=1] + %tmp15.i49 = getelementptr %struct.Lattice, %struct.Lattice* %this, i32 0, i32 0, i32 0 ; [#uses=1] + %tmp16.i50 = load double, double* %tmp15.i49, align 4 ; [#uses=1] %tmp17.i = fmul double %tmp5657, %tmp16.i50 ; [#uses=1] %tmp20.i39 = fadd double %tmp17.i, %tmp17.i63 ; [#uses=1] %tmp20.i23 = fadd double %tmp20.i39, %tmp17.i76 ; [#uses=1] @@ -45,13 +45,13 @@ bb58.preheader: ; preds = %bb35 br label %bb58 bb58: ; preds = %bb58, %bb58.preheader - %tmp20.i7 = getelementptr %struct.CompAtom* %d, i32 0, i32 2 ; [#uses=2] - %tmp25.i = getelementptr %struct.CompAtom* %tmp1819, i32 0, i32 2 ; [#uses=2] - %tmp74.i = load i32* %tmp20.i7, align 1 ; [#uses=1] + %tmp20.i7 = getelementptr %struct.CompAtom, %struct.CompAtom* %d, i32 0, i32 2 ; [#uses=2] + %tmp25.i = getelementptr %struct.CompAtom, %struct.CompAtom* %tmp1819, i32 0, i32 2 ; [#uses=2] + %tmp74.i = load i32, i32* %tmp20.i7, align 1 ; [#uses=1] %tmp82.i = and i32 %tmp74.i, 134217728 ; [#uses=1] %tmp85.i = or i32 0, %tmp82.i ; [#uses=1] store i32 %tmp85.i, i32* %tmp25.i, align 1 - %tmp88.i = load i32* %tmp20.i7, align 1 ; [#uses=1] + %tmp88.i = load i32, i32* %tmp20.i7, align 1 ; [#uses=1] %tmp95.i = and i32 %tmp88.i, -268435456 ; [#uses=1] %tmp97.i = or i32 0, %tmp95.i ; [#uses=1] store i32 %tmp97.i, i32* %tmp25.i, align 1