aboutsummaryrefslogtreecommitdiff
path: root/tests/cases/storestruct.ll
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-03-06 12:30:16 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-03-06 12:30:16 -0800
commit9b16e851b2639b9250bd00f81c1979375fc9455a (patch)
tree9693210990b062ea0eb4c1835e1480d8aefc9bf0 /tests/cases/storestruct.ll
parent079b348773eb03f2b471467e5280ed387d802002 (diff)
assert on no variable name collisions for #923
Diffstat (limited to 'tests/cases/storestruct.ll')
-rw-r--r--tests/cases/storestruct.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/cases/storestruct.ll b/tests/cases/storestruct.ll
index 15022e2f..5bd9224e 100644
--- a/tests/cases/storestruct.ll
+++ b/tests/cases/storestruct.ll
@@ -42,14 +42,14 @@ entry:
%tmp5 = load i32* %a1, align 4, !dbg !18 ; [#uses=1]
%tmp6 = load i32* %b2, align 4, !dbg !18 ; [#uses=1]
- %call = call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([9 x i8]* @.str, i32 0, i32 0), i32 %tmp5, i32 %tmp6), !dbg !18 ; [#uses=0]
+ %call2 = call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([9 x i8]* @.str, i32 0, i32 0), i32 %tmp5, i32 %tmp6), !dbg !18 ; [#uses=0]
%ptr = inttoptr i32 52 to i32* ; [#uses=1]
store %struct.X { i32 ptrtoint (i32* getelementptr inbounds (i32* %ptr, i32 1, i32 0) to i32), i32 3 }, %struct.X* %y, align 4 ; store entire struct at once
- %tmp5 = load i32* %a1, align 4, !dbg !18 ; [#uses=1]
- %tmp6 = load i32* %b2, align 4, !dbg !18 ; [#uses=1]
- %call = call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([9 x i8]* @.str, i32 0, i32 0), i32 %tmp5, i32 %tmp6), !dbg !18 ; [#uses=0]
+ %tmp5b = load i32* %a1, align 4, !dbg !18 ; [#uses=1]
+ %tmp6b = load i32* %b2, align 4, !dbg !18 ; [#uses=1]
+ %call3 = call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([9 x i8]* @.str, i32 0, i32 0), i32 %tmp5b, i32 %tmp6b), !dbg !18 ; [#uses=0]
ret i32 0, !dbg !19
}