Commit Graph

733 Commits

Author SHA1 Message Date
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
Chris Lattner
64c8d3cfb7 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4703 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-13 06:54:00 +00:00
Chris Lattner
b401e64971 Run local, bu, & td analyses
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4670 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-10 06:41:19 +00:00
Chris Lattner
e9a1cbbfe0 Add new test that causes infinite recursion in bu pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4669 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-10 06:41:07 +00:00
Chris Lattner
48e989e902 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4667 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-10 03:35:43 +00:00
Chris Lattner
60afae448a Allow tests to be run with release tools when ENABLE_OPTIMIZED=1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4650 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-09 00:50:02 +00:00
Chris Lattner
a91f8ca884 Fix predicate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4617 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-08 00:31:27 +00:00
Chris Lattner
1aa11cf08a Add testcase that is fscking twolf
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4615 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-08 00:22:07 +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
Nick Hildenbrandt
6d608154d6 Certain characters not getting escaped properly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4582 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-06 21:38:39 +00:00
Chris Lattner
c433e64f7d libraries is used for internal stuff, not as a real testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4580 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-06 20:36:52 +00:00
Chris Lattner
a434ae74e7 New testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4563 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-06 06:20:53 +00:00
Chris Lattner
5051e9cb23 New testcase to handle eventually
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4558 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-06 00:52:21 +00:00
Chris Lattner
5cd95ba4ad New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4553 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-05 21:12:30 +00:00
Chris Lattner
a3c4ba427b Add new getelementptr elimination test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4535 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-04 16:35:14 +00:00
Chris Lattner
0eaaa56f1f New testcase for malloc promotion
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4533 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-04 16:18:07 +00:00
Chris Lattner
4d5f10f8d6 Add information about why this testcase fails
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4529 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-04 06:16:13 +00:00
Chris Lattner
2b0679ff0b Convert uint gep operands to long
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4528 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-04 06:09:46 +00:00
Chris Lattner
69afeca154 Convert old style gep index from uint to long
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4527 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-04 06:07:04 +00:00
Chris Lattner
f9415dd8c2 Improve the clean target
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4519 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-04 00:33:19 +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
Chris Lattner
275c637208 Make phi test a bit more challenging
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4499 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-02 19:45:30 +00:00
Chris Lattner
6a353ed5da Only test that uncond branch works
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4497 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-02 19:27:45 +00:00
Chris Lattner
8b6c5e4412 Expose a LJELLO variable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4495 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-02 01:41:07 +00:00
Chris Lattner
b3e3cae32b Tests results are invalidated when jello is rebuilt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4494 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-02 01:40:24 +00:00
Chris Lattner
09e89faf8c Add a testcase cee should eventually pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4484 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-01 17:29:35 +00:00
Vikram S. Adve
1b3b4c5ab0 Use absolute path name for "analyze" since we are changing directories.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4483 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-01 16:49:10 +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
Nick Hildenbrandt
baa2c40edb CBE doesn't alloc correctly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4474 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-31 18:23:09 +00:00
Chris Lattner
db94ca13b8 New testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4464 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-31 05:38:19 +00:00
Chris Lattner
f89e7c90c7 Tell cvs to ignore *.dot and *.ps files in this directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4463 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-31 04:59:02 +00:00
Chris Lattner
2230b412f7 New testcase for the possible array merging scenarios
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4462 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-31 04:48:32 +00:00
Chris Lattner
b07a4409c2 New testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4455 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-31 01:25:13 +00:00
Chris Lattner
5728abc675 Make the testcase MORE complex
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4448 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-30 02:03:59 +00:00
Chris Lattner
1162262a28 Name the first basic block
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4445 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-30 01:54:42 +00:00
Chris Lattner
16612dbe47 Make pointless testcase a bit more "challenging"
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4299 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-27 21:18:06 +00:00
Chris Lattner
1405ec0ce1 Checkin simple testcases for LLVM-JIT
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4288 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-25 23:01:51 +00:00
Chris Lattner
6648645559 Update test to use long instead of uint getelementptr subscripts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4280 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-25 22:29:07 +00:00
Chris Lattner
8de3fc6f2d New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4200 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-16 20:08:19 +00:00
Chris Lattner
8371299258 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4189 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-16 00:08:08 +00:00
Chris Lattner
71b6f9d9dc Clean up testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4187 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-15 21:39:49 +00:00
Chris Lattner
1b7de965dd Cleanup test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4185 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-15 21:21:42 +00:00
Chris Lattner
30aa0856a9 Fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4184 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-15 21:20:18 +00:00
Chris Lattner
e175b84ffc New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4183 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-15 21:18:03 +00:00
Chris Lattner
b12805f795 Cleanup testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4182 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-15 21:14:24 +00:00
Chris Lattner
ac79a77c06 Fix testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4181 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-15 21:10:53 +00:00
Vikram S. Adve
8becaedfa8 Test case that shows some poor results for register allocation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4167 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-14 14:53:06 +00:00
Chris Lattner
5f8bd7d966 MAke sure llc output is regenerated if the LLC binary changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4164 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-14 06:12:10 +00:00
Chris Lattner
be99614bbb Simplify again
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4154 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-13 21:51:55 +00:00
Chris Lattner
d2db6c5236 Simplify testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4152 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-13 21:47:43 +00:00
Chris Lattner
e22abec520 Rename test so that we can run the disassembler on it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4151 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-13 21:43:56 +00:00
Chris Lattner
0cd05debae Checking testcase for bytecode reader/writer that is causing the SPEC parser
benchmark to not build.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4150 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-13 21:38:21 +00:00
Vikram S. Adve
f289911a6c Add a test for folding a GEP into a load.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4139 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-13 00:44:00 +00:00
Vikram S. Adve
cd334b8dc6 Added inline constant expressions, including uses in binary subtract.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4125 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-12 23:47:36 +00:00
Chris Lattner
ff47702a6e New testcase that causes invalid llvm to be emitted by cfe
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4124 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-12 23:37:34 +00:00
Chris Lattner
5199e1691d Add check to see if opt aborts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4098 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-09 20:55:32 +00:00
Chris Lattner
a99fb66d89 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4097 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-09 20:37:13 +00:00
Chris Lattner
388f56d7dc Avoid having testcases spit out bytecode on error
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4096 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-09 20:36:54 +00:00
Chris Lattner
6a7096e685 Cleanup testcase a lot to test JUST funcresolve of globals
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4095 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-09 17:44:34 +00:00
Chris Lattner
b58d0d54a1 New testcase for infinite loop that the raise pass is getting into
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4087 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-09 00:09:59 +00:00
Chris Lattner
a20021b20b New testcase that the assembler is unacceptably slow on
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4084 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-08 22:35:04 +00:00
Chris Lattner
8576bd6220 New testcase for bug that messes up the CWriter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4082 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-08 21:57:49 +00:00
Chris Lattner
de013f53a7 Cleanup testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4073 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-08 19:11:21 +00:00
Chris Lattner
b82992827d Make test more interesting by adding dummy phi node
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4072 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-08 19:11:02 +00:00
Chris Lattner
af1b4ad24c Add new testcase for arithmetic shr of -1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4069 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-08 16:10:35 +00:00
Chris Lattner
2e217a7d96 This test was mistakenly matching 'predecessors' that the new asmwriter
spits out


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4068 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-08 16:09:47 +00:00
Chris Lattner
48f9e6276d New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4065 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-07 20:32:38 +00:00
Chris Lattner
fd2836ac5f Fix testcase to run correctly, add description
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4064 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-07 20:25:45 +00:00
Chris Lattner
7b96c8d046 Finally I'm able to distill a testcase for a problem I'm seeing!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4063 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-07 20:05:27 +00:00
Chris Lattner
e423406e6a Update testcase to be legal llvm
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4057 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-07 17:00:53 +00:00
Chris Lattner
67855103bc Remove really old testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4056 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-07 16:59:51 +00:00
Chris Lattner
cacfb31197 Checkin new "feature" test for cee
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4054 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-06 23:31:09 +00:00
Chris Lattner
19ee34a334 NEw "feature" test that cee should eventually handle
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4053 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-06 23:05:38 +00:00
Chris Lattner
7209bfff92 - Cleaned up all of the test/Feature tests to not use uint's with
getelementptr instructions and not to add pointers.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4049 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-06 22:43:49 +00:00
Chris Lattner
c5eafb57da Remove old crusty test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4048 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-06 22:35:56 +00:00
Chris Lattner
47dd0c343c Test "external" modifier on global variable
Fix getelementptr instruction to use long isntead of uint index


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4047 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-06 22:32:38 +00:00
Chris Lattner
41a29f2b6f New testcase for bug never checked into CVS, but that I hit during debugging a
new feature


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4039 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-04 23:29:40 +00:00
Chris Lattner
24b7799a10 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4030 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-03 20:06:33 +00:00
Chris Lattner
87d9138f01 New testcase for a problem discovered in the SPECINT gzip benchmark.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4015 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-02 18:32:38 +00:00
Chris Lattner
999b63b453 Allow production of -stats output for benchmarks by specifying
ENABLE_STATS=1 on the make command line.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3989 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-30 19:24:07 +00:00
Chris Lattner
9551817d4f Allow production of -stats output for benchmarks by specifying
ENABLE_STATS=1 on the make command line.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3988 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-30 19:23:55 +00:00
Vikram S. Adve
925ad19292 On this code, llc did not pass the sixth argument (%reg321) to printf.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3986 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-30 16:14:14 +00:00
Chris Lattner
76e51a87e7 Enable buidling of programs on Linux again
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3984 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-29 22:58:51 +00:00
Vikram S. Adve
d28c8c801e Regression test for llc bug that was folding two getelementptrs illegally.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3971 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-28 18:09:05 +00:00
Vikram S. Adve
0188ce4543 Regression test for live range bug for call arguments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3962 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-28 16:51:47 +00:00
Vikram S. Adve
6ec010a680 Simple test for constant expressions constructed from global addresses.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3956 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-27 13:27:14 +00:00
Vikram S. Adve
3c94e48722 Overhauled completely.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3955 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-27 13:26:36 +00:00
Chris Lattner
5817b4e117 * Run preheaders pass tests
* Linearize list of directories so I don't have to keep dealing with
  wrapping problems.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3953 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-26 19:53:02 +00:00
Chris Lattner
0a4e422d07 Checkin the simple features tests for the preheader insertion pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3952 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-26 19:50:11 +00:00
Chris Lattner
04b9d2903e New feature test for something we have done for a long time
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3914 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-24 16:13:20 +00:00
Chris Lattner
d7490bcf9a New testcase that causes SimplifyCFG to assert out.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3912 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-24 16:02:44 +00:00
Chris Lattner
aaab467e44 Convert to using long indexes instead of uint
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3898 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-23 23:41:53 +00:00
Chris Lattner
a30b70f381 Add some more testcases for things to get optimized away
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3896 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-23 23:39:17 +00:00
Chris Lattner
10b37b6493 New testcase distilled from SPEC vortex benchmark
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3894 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-23 22:31:04 +00:00
Chris Lattner
da37a05774 Run constantmerge tests too
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3893 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-23 22:26:23 +00:00
Chris Lattner
cba39ca9fe Fix testcase to accurately expose bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3890 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-23 20:04:54 +00:00
Chris Lattner
b9c0d60991 New testcase distilled from SPEC MCF benchmark
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3889 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-23 19:54:06 +00:00
Vikram S. Adve
26d4a48ee6 C tests are run via Makefile.singlesrc so don't run them twice.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3885 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-23 14:23:15 +00:00
Chris Lattner
61e4391b57 Build with $(CC), not gcc explicitly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3869 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-20 22:32:00 +00:00
Chris Lattner
90d7119211 New testcase for cbe
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3868 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-20 22:28:03 +00:00
Nick Hildenbrandt
c92779bcb0 New testcase for broken type printing for the cwriter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3867 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-20 21:44:32 +00:00
Chris Lattner
70019ab03c Checkin old testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3855 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-20 14:37:46 +00:00
Vikram S. Adve
ad6b4f3b5e Fix data types header file and declarations to work on Linux.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3851 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-20 01:05:16 +00:00
Vikram S. Adve
ba3b3e86d1 Fix to avoid addition on pointers, which is no longer legal.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3850 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-20 00:57:37 +00:00
Chris Lattner
3aaff7eebd Reenable these options because they break testing on sparc without them.
Conditionalizing them on DISABLE_LLC means they aren't enabled under linux.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3837 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-19 21:46:03 +00:00
Chris Lattner
90c7d67b9d Point gccld to the correct library directory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3827 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-19 19:22:30 +00:00
Chris Lattner
ecd3546ff6 It turns out that the cannonical name for the llvm-gcc compiler is, well
llvm-gcc, not gcc.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3824 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-19 19:06:05 +00:00
Vikram S. Adve
c63ffc54e5 Avoid Solaris-specific defines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3823 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-19 18:45:11 +00:00
Chris Lattner
dfd621f3fc New testcase that breaks the CFE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3821 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-19 16:54:57 +00:00
Chris Lattner
75fb432dcb New testcase for a bug fixed in the GCC SSA construction algorithm:
http://gcc.gnu.org/ml/gcc/2002-09/msg00760.html


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3817 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-19 04:23:59 +00:00
Chris Lattner
44404ec89d New regression test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3782 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 21:02:24 +00:00
Chris Lattner
db5e5df43a Convert to use long indexes instead of uint
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3781 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 20:47:46 +00:00
Chris Lattner
47287be7dc Run the cee pass tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3765 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-16 19:09:11 +00:00
Chris Lattner
876a75c79e Checking testcases for cee pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3764 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-16 19:08:36 +00:00
Chris Lattner
dabb94adc1 Check for cannonicalization of shl X, 1 -> add X, X
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3670 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-10 23:03:10 +00:00
Chris Lattner
2b37c03f8c Clean up pointer using testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3662 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-10 20:04:19 +00:00
Chris Lattner
544b0dcd14 Remove a testcase that is irrelevant now, fix a pointer adding testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3659 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-10 19:55:40 +00:00
Chris Lattner
4229be3ce7 New testcase for poitner problem
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3657 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-10 19:41:57 +00:00