Commit Graph

654 Commits

Author SHA1 Message Date
Chris Lattner
a65c508fb4 Add capability to turn on the -no-fp-elim option
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5161 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-28 20:01:23 +00:00
Chris Lattner
6cc36d40e6 Add another simple call
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5160 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-28 20:01:07 +00:00
Chris Lattner
48664e7e2e Test argument passing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5159 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-28 20:00:47 +00:00
Chris Lattner
ce6754766f Add a variable sized alloca to test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5158 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-28 20:00:33 +00:00
Chris Lattner
3b24559df0 Initial fp test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5155 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-25 05:14:29 +00:00
Chris Lattner
2def884a6c Testcases for bugfixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5123 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-23 23:51:30 +00:00
Chris Lattner
eb6538cd13 Jello is now part of LLI
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5122 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-23 23:51:19 +00:00
Chris Lattner
f64387d835 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5121 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-23 23:50:35 +00:00
Chris Lattner
18fda6d7c3 Remove temp files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5118 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-23 23:47:39 +00:00
Chris Lattner
332ca6ccd5 Jello is going away
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5117 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-23 23:47:20 +00:00
Chris Lattner
2560bd8cdb Add stats output
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5110 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-20 04:14:19 +00:00
Chris Lattner
83702d3f30 Print argc as well as argv
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5105 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-18 02:07:21 +00:00
Chris Lattner
5b9cd61946 Make testcase return 0 on success
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5091 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-17 02:02:01 +00:00
Chris Lattner
b89818ed5a Add dummy implementation of __main
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5089 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-16 23:31:48 +00:00
Chris Lattner
1ada064803 New testcase for printing out arguments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5085 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-16 20:09:54 +00:00
Chris Lattner
315bad0bc6 Add new testcase for repeated preds
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5056 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-15 20:52:08 +00:00
Chris Lattner
e3912ee3ab New testcase for structure argument problems.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5042 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-15 17:46:18 +00:00
Chris Lattner
4fed97f801 New test to make sure I'm getting constness right
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5041 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-15 17:37:35 +00:00
Chris Lattner
1765b5dbcf New testcase, courtesy of Brian Gaeke
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5040 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-15 17:14:32 +00:00
Chris Lattner
49f20c45ff Allow folding together two globals through type resolution
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5038 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-15 16:32:21 +00:00
Chris Lattner
b65184e1ea Testcase identified by Brian Gaeke that breaks the C frontend...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5036 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-15 15:52:03 +00:00
Chris Lattner
a4c096d671 New testcase for bool support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5031 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-15 07:55:43 +00:00
Chris Lattner
e4adeb47ff Test indirect call
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5025 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-13 14:15:20 +00:00
Chris Lattner
84b7207df8 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5018 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-13 12:10:16 +00:00
Chris Lattner
790f64bce8 Return success on success
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5006 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-13 10:13:45 +00:00
Chris Lattner
0907c16cbf Test more phi stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5005 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-13 10:12:50 +00:00
Brian Gaeke
ed6902ca89 lib/Target/X86/InstSelectSimple.cpp: Start counting arguments with 2,
because arguments start two stack slots off of EBP. Break out of the
 for loop once the argument is found. Increment the counter at the end
 of the loop instead of the beginning. Use addRegOffset and compute
 the scale * index part at compile time instead of using the fancy
 load instruction. Just because an instruction set has wacky addressing
 modes doesn't mean we ought to use them (at least, if you believe Dave
 Patterson).

lib/Target/X86/X86InstrBuilder.h: Add some comments.

test/Regression/Jello/test-loadstore.ll:  Let main return int 0.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4999 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-13 09:28:50 +00:00
Chris Lattner
4373140d8a return 0 on success
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4996 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-13 06:57:24 +00:00
Chris Lattner
bfbed6dbb2 Stop sucking
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4992 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-13 05:51:32 +00:00
Misha Brukman
297372c523 Making main() return 0 so that we know it ran successfully when it exits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4991 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-13 05:44:21 +00:00
Misha Brukman
d74317acba Making main() return 0 to exit without error when no error actually occurs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4990 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-13 05:43:36 +00:00
Chris Lattner
9a32f07857 Fix testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4989 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-13 05:42:57 +00:00
Chris Lattner
8b88e8f298 Infinite loops, are, well, not good
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4987 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-13 05:28:50 +00:00
Misha Brukman
339ff0acb8 This way it's easier to test: if the call to external exit(0) succeeded,
program exits with code 0, no error. If the call does not work/succeed, main
returns 1, so we notice it. The other way around doesn't work. :)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4984 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-13 04:43:32 +00:00
Chris Lattner
61eadb0255 Check in an old testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4951 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-07 17:08:07 +00:00
Chris Lattner
c41ab22492 New testcase pointed out by Casey Carter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4934 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-05 22:25:47 +00:00
Misha Brukman
e78dba871b Return 0 to make it into a fully-functioning "Hello, World!" test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4931 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-04 23:58:41 +00:00
Chris Lattner
4461f54bce Fix testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4926 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-04 23:51:44 +00:00
Chris Lattner
67c2639ced New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4920 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-04 17:35:11 +00:00
Chris Lattner
9f1bd80102 Add main functions to benchmarks
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4915 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-04 17:15:07 +00:00
Chris Lattner
00af117381 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4912 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-04 17:00:25 +00:00
Chris Lattner
ac676bef50 Testcase for call instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4890 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-03 20:30:03 +00:00
Chris Lattner
92ae6c23f1 Standard hello-world test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4889 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-03 20:25:43 +00:00
Chris Lattner
69a09e5677 Make testcase more interesting
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4820 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-21 23:30:08 +00:00
Chris Lattner
78c1d9037b Move test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4808 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-21 17:20:32 +00:00
Chris Lattner
9932bcddfc Shuffle testcases around
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4807 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-21 17:20:12 +00:00
Chris Lattner
2b905fdb81 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4806 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-21 17:18:37 +00:00
Chris Lattner
d9624b04a1 Checkin testcases for bugpoint
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4791 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-20 22:30:02 +00:00
Chris Lattner
8437f4a7e4 Add support for bugpoint
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4768 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-19 21:57:18 +00:00
Chris Lattner
e4ae94c367 New testcase for loads and stores
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4715 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-17 21:06:13 +00:00