From: Chris Lattner Date: Thu, 6 Mar 2003 19:59:08 +0000 (+0000) Subject: Update testcases to use long to index gep X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=42289a30106c16681365a4e535263569ce9c6a4f;p=oota-llvm.git Update testcases to use long to index gep git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5717 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Assembler/2002-05-02-ParseError.ll b/test/Assembler/2002-05-02-ParseError.ll index 321393c3a5c..44f97a0be09 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 1f5a0a78e28..526bb7b2194 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 e0140f5fc58..a4ab1a6fb78 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) }