From 1a42c342c2b3f6a2642138929d41b8e2434ecbb6 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 23 Aug 2001 17:08:51 +0000 Subject: [PATCH] Rename start methods to main so interpreter works easier git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/inductionvars.ll | 8 +++++++- test/inlinetest.ll | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/test/inductionvars.ll b/test/inductionvars.ll index dba38a03839..f280ddd83d0 100644 --- a/test/inductionvars.ll +++ b/test/inductionvars.ll @@ -1,6 +1,6 @@ implementation -int "loop test"(int %i, int %j) +int "looptest"(int %i, int %j) begin %whichLoop = setlt int %i, %j br bool %whichLoop, label %Loop1Header, label %Loop2Header @@ -41,3 +41,9 @@ Merge: ret int %v2 end +int "main"() +begin + call int %looptest(int 0, int 12) + ret int %0 +end + diff --git a/test/inlinetest.ll b/test/inlinetest.ll index 6db3076475a..f3b68d8b443 100644 --- a/test/inlinetest.ll +++ b/test/inlinetest.ll @@ -19,7 +19,7 @@ begin ret int %q end -int "FTIITII"() +int "main"() begin %z = call int(int) %FuncToInlineInto(int 1) ret int %z -- 2.34.1