diff options
author | Chris Lattner <sabre@nondot.org> | 2001-08-23 17:08:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-08-23 17:08:51 +0000 |
commit | 1a42c342c2b3f6a2642138929d41b8e2434ecbb6 (patch) | |
tree | c8138ed1aebbb2d7c5cc88db93811015c3ed785b | |
parent | 8dc89a330c57c43f1eff23aabdb418874a2f38da (diff) |
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
-rw-r--r-- | test/inductionvars.ll | 8 | ||||
-rw-r--r-- | test/inlinetest.ll | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/test/inductionvars.ll b/test/inductionvars.ll index dba38a0383..f280ddd83d 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 6db3076475..f3b68d8b44 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 |