X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;ds=sidebyside;f=test%2FInteger%2Fpacked_struct_bt.ll;h=ae9a04c69a3431f7f33d7673a0818c362012e781;hb=8cc212a07e6fc1918c1d9ada10f972830bf5a907;hp=97bf0ffaa31941395ccd66998832e05ac07e73ba;hpb=7c9c6ed761bf9d28c0c257a045b35781969136e0;p=oota-llvm.git diff --git a/test/Integer/packed_struct_bt.ll b/test/Integer/packed_struct_bt.ll index 97bf0ffaa31..ae9a04c69a3 100644 --- a/test/Integer/packed_struct_bt.ll +++ b/test/Integer/packed_struct_bt.ll @@ -16,9 +16,9 @@ define i35 @main() { - %tmp = load i35, i35* getelementptr (%struct.anon* @foos, i32 0, i32 1) ; [#uses=1] - %tmp3 = load i35, i35* getelementptr (%struct.anon* @foos, i32 0, i32 2) ; [#uses=1] - %tmp6 = load i35, i35* getelementptr (%struct.anon* @foos, i32 0, i32 3) ; [#uses=1] + %tmp = load i35, i35* getelementptr (%struct.anon, %struct.anon* @foos, i32 0, i32 1) ; [#uses=1] + %tmp3 = load i35, i35* getelementptr (%struct.anon, %struct.anon* @foos, i32 0, i32 2) ; [#uses=1] + %tmp6 = load i35, i35* getelementptr (%struct.anon, %struct.anon* @foos, i32 0, i32 3) ; [#uses=1] %tmp4 = add i35 %tmp3, %tmp ; [#uses=1] %tmp7 = add i35 %tmp4, %tmp6 ; [#uses=1] ret i35 %tmp7 @@ -26,8 +26,8 @@ define i35 @main() define i35 @bar() { entry: - %tmp = load i35, i35* getelementptr([2 x <{ i35, i8 }>]* @bara, i32 0, i32 0, i32 0 ) ; [#uses=1] - %tmp4 = load i35, i35* getelementptr ([2 x <{ i35, i8 }>]* @bara, i32 0, i32 1, i32 0) ; [#uses=1] + %tmp = load i35, i35* getelementptr([2 x <{ i35, i8 }>], [2 x <{ i35, i8 }>]* @bara, i32 0, i32 0, i32 0 ) ; [#uses=1] + %tmp4 = load i35, i35* getelementptr ([2 x <{ i35, i8 }>], [2 x <{ i35, i8 }>]* @bara, i32 0, i32 1, i32 0) ; [#uses=1] %tmp5 = add i35 %tmp4, %tmp ; [#uses=1] ret i35 %tmp5 }