aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-02-10 17:36:42 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-02-11 14:54:56 -0800
commit71509977339accc2b8213767a613604e93eaa378 (patch)
tree6fa72993b7fdb463af5f600171f3653848b53296
parent79db56a186db69c6617b0670e4675c9f321bee7d (diff)
fix test_cases
-rw-r--r--tests/cases/i64toi8star.ll2
-rw-r--r--tests/cases/inttoptr.ll2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/cases/i64toi8star.ll b/tests/cases/i64toi8star.ll
index 53a31d02..d4a39340 100644
--- a/tests/cases/i64toi8star.ll
+++ b/tests/cases/i64toi8star.ll
@@ -27,6 +27,6 @@ entry:
%"alloca point" = bitcast i32 0 to i32 ; [#uses=0]
%5 = call i32 @PyLong_FromVoidPtr(i8* null) nounwind ; [#uses=0]
%13 = call i32 @PyLong_FromVoidPtr(i8* inttoptr (i64 1 to i8*)) nounwind ; [#uses=0]
- %0 = call i32 bitcast (i32 (i8*)* @puts to i32 (i32*)*)(i8* getelementptr inbounds ([14 x i8]* @.str, i32 0, i32 0)) ; [#uses=0]
+ %1 = call i32 bitcast (i32 (i8*)* @puts to i32 (i32*)*)(i8* getelementptr inbounds ([14 x i8]* @.str, i32 0, i32 0)) ; [#uses=0]
ret i32 0
}
diff --git a/tests/cases/inttoptr.ll b/tests/cases/inttoptr.ll
index c70904c8..b0711672 100644
--- a/tests/cases/inttoptr.ll
+++ b/tests/cases/inttoptr.ll
@@ -15,6 +15,6 @@ entry:
%"alloca point" = bitcast i32 0 to i32 ; [#uses=0]
%sz.i7 = inttoptr i32 64 to i32* ; [#uses=1 type=i32*]
store i32 184, i32* %sz.i7, align 8, !tbaa !1610
- %0 = call i32 bitcast (i32 (i8*)* @puts to i32 (i32*)*)(i8* getelementptr inbounds ([14 x i8]* @.str, i32 0, i32 0)) ; [#uses=0]
+ %1 = call i32 bitcast (i32 (i8*)* @puts to i32 (i32*)*)(i8* getelementptr inbounds ([14 x i8]* @.str, i32 0, i32 0)) ; [#uses=0]
ret i32 0
}