aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/Assembler/2002-05-02-ParseError.ll10
-rw-r--r--test/Assembler/2002-08-15-ConstantExprProblem.ll2
-rw-r--r--test/Assembler/2002-08-15-UnresolvedGlobalReference.ll2
3 files changed, 6 insertions, 8 deletions
diff --git a/test/Assembler/2002-05-02-ParseError.ll b/test/Assembler/2002-05-02-ParseError.ll
index 321393c..44f97a0 100644
--- a/test/Assembler/2002-05-02-ParseError.ll
+++ b/test/Assembler/2002-05-02-ParseError.ll
@@ -1,10 +1,8 @@
-; This should parse correctly without an 'implementation', but there seems to
-; be a problem...
+; This should parse correctly without an 'implementation', but our current YACC
+; based parser doesn't have the required 2 token lookahead...
%T = type int *
-%T "test"()
-begin
+%T %test() {
ret %T null
-end
-
+}
diff --git a/test/Assembler/2002-08-15-ConstantExprProblem.ll b/test/Assembler/2002-08-15-ConstantExprProblem.ll
index 1f5a0a7..526bb7b 100644
--- a/test/Assembler/2002-08-15-ConstantExprProblem.ll
+++ b/test/Assembler/2002-08-15-ConstantExprProblem.ll
@@ -6,7 +6,7 @@ sbyte* %test() {
br label %BB1
BB1: ;[#uses=2]
- %ret = phi sbyte* [ getelementptr ([12 x sbyte]* %.LC0, uint 0, uint 0), %0 ], [ null, %BB2 ]
+ %ret = phi sbyte* [ getelementptr ([12 x sbyte]* %.LC0, long 0, long 0), %0 ], [ null, %BB2 ]
ret sbyte* %ret
BB2:
diff --git a/test/Assembler/2002-08-15-UnresolvedGlobalReference.ll b/test/Assembler/2002-08-15-UnresolvedGlobalReference.ll
index e0140f5..a4ab1a6 100644
--- a/test/Assembler/2002-08-15-UnresolvedGlobalReference.ll
+++ b/test/Assembler/2002-08-15-UnresolvedGlobalReference.ll
@@ -3,6 +3,6 @@
implementation ; Functions:
sbyte* %test() {
- ret sbyte* getelementptr ([12 x sbyte]* %.LC0, uint 0, uint 0)
+ ret sbyte* getelementptr ([12 x sbyte]* %.LC0, long 0, long 0)
}