Commit Graph

152 Commits

Author SHA1 Message Date
Chris Lattner
20c1b4db39 Add more testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5330 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-16 19:43:11 +00:00
Chris Lattner
3ddad6f277 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5263 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-13 20:02:16 +00:00
Chris Lattner
4a8068f19a New testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5261 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-13 01:03:16 +00:00
Chris Lattner
8e4a9144ec test the shift cases for long that are implemented
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5250 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-13 00:57:49 +00:00
Chris Lattner
6ce8d60a70 test longs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5249 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-13 00:57:37 +00:00
Chris Lattner
2ecd495235 Test longs and fp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5248 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-13 00:57:19 +00:00
Chris Lattner
67920c563b TEst longs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5247 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-13 00:57:11 +00:00
Chris Lattner
e1ac72a68c Add test for longs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5246 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-13 00:57:04 +00:00
Chris Lattner
6442a3eaae add div test as well
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5245 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-13 00:56:54 +00:00
Chris Lattner
102f533f69 test a bunch of stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5244 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-13 00:56:37 +00:00
Chris Lattner
376b12707a Test long support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5243 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-13 00:56:27 +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
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
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
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
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
Brian Gaeke
1cc1ad7171 comment out the 64-bit cases for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4604 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-07 18:09:02 +00:00
Brian Gaeke
1749d6359b Add instruction selection code and tests for setcc instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4603 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-07 17:59:21 +00:00
Chris Lattner
f37ca3acda Enable div and mod tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4507 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-02 20:54:11 +00:00
Chris Lattner
bbe75fe78f Enable multiply tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4505 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-02 20:28:47 +00:00
Chris Lattner
d04b51d447 New testcase for arithmetic operations
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4504 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-02 20:13:40 +00:00
Chris Lattner
5a23ddfa17 New testcase for logical operators
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4501 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-02 20:04:02 +00:00
Brian Gaeke
8e0a6bf556 A new test case that tries to generate all the different possible shift
opcodes.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4478 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-31 23:05:22 +00:00