Commit Graph

846 Commits

Author SHA1 Message Date
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
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
Chris Lattner
4b635b8316 Run indvars tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3643 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-10 04:55:36 +00:00
Chris Lattner
7a4e86d20e Add new testcase for broken indvars case
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3642 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-10 04:54:44 +00:00
Chris Lattner
5862173c84 Testcase no longer applicable since shifts of pointers are no longer allowed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3629 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-09 03:43:09 +00:00
Chris Lattner
e083a1d695 Eliminate multiply of pointer type
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3628 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-09 03:42:14 +00:00
Chris Lattner
05eb9581b2 New testcase for a bug identified by Vikram
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3625 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-08 21:37:49 +00:00
Chris Lattner
e4f318c7fc New testcase that tests for array pointer analysis type stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3615 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-08 18:08:36 +00:00
Chris Lattner
72846c2dcd Fix bug in testcase now that load-vn is not built into gcse
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3614 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-07 22:50:41 +00:00
Chris Lattner
92bab83913 Fix broken test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3613 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-07 22:48:30 +00:00
Chris Lattner
8617b3579b Make sure that setcc is implemented for bools.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3575 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-03 20:09:23 +00:00
Chris Lattner
b7f804c058 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3556 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-31 00:24:54 +00:00
Chris Lattner
eabb4950bd New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3554 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-30 23:22:15 +00:00
Chris Lattner
1a24282b5c Make sure to run these tests with load value #'ing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3530 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-30 20:18:09 +00:00
Vikram S. Adve
f9017b810a Eliminate hardcoded paths using LLVMGCCDIR variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3529 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-30 03:27:36 +00:00
Chris Lattner
aa250b8067 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3510 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-26 20:49:42 +00:00
Chris Lattner
31901f80f8 Test that demorgan's law is instcombined successfully
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3494 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-23 18:31:18 +00:00
Chris Lattner
b81258c278 Add new testcases for instcombine
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3477 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 21:26:15 +00:00
Chris Lattner
c642435f52 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3472 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 20:30:06 +00:00
Chris Lattner
8673e44639 Add a testcase that checks to make sure LICM uses basicaa correctly.
Add another gcse testcase.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3471 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 20:22:55 +00:00
Chris Lattner
74d8dcc9d2 Add readme file describing directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3469 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 20:20:08 +00:00
Chris Lattner
ac39b4ecab Initial testcases for basicaa alias analysis
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3462 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 17:31:36 +00:00
Chris Lattner
5a3e29c661 Convert testcases to not use indexed loads/stores
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3460 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 16:39:14 +00:00
Chris Lattner
472e8086cc Convert testcases to not use indexed loads/stores
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3459 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 16:39:12 +00:00
Chris Lattner
ac2cbb847d Covnert testcases to not use indexed loads/stores
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3458 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 16:39:05 +00:00
Chris Lattner
0fd5bfd79d Covnert testcases to not use indexed loads/stores
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3457 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 16:39:04 +00:00
Chris Lattner
b933529444 Remove obsolete test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3456 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 16:15:20 +00:00
Chris Lattner
317a47ff09 Remove ancient test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3455 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 16:14:53 +00:00
Chris Lattner
6458c31c67 Covnert tests to not use indexed load/stores
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3454 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 16:04:03 +00:00
Vikram S. Adve
ddd575101d Add functions castbool and boolexpr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3448 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 03:05:13 +00:00
Vikram S. Adve
397f58bb0b *** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3447 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 03:04:14 +00:00
Chris Lattner
e7e5918755 Fix testcase to not use indexing in non-gep instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3439 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-21 23:52:57 +00:00
Chris Lattner
5d338349e3 Test the C backend on all of the feature tests as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3437 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-21 23:52:15 +00:00
Chris Lattner
cdfe870a1f Fix store to not index
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3429 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-21 22:45:23 +00:00
Chris Lattner
236c4a33af Convert testcase to not use indexing on loads & stores
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3428 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-21 22:44:39 +00:00
Chris Lattner
d92ac5ae01 Add testcase for the not (setcc A, B) case
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3418 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-21 17:11:18 +00:00
Chris Lattner
f2b6b0288b Cleanup testsuite
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3411 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-20 19:34:51 +00:00
Chris Lattner
fce9d7002d Clean up testcases to make them proper
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3410 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-20 19:32:17 +00:00
Chris Lattner
730507cb5c New testcase for constexpr problem.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3409 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-20 19:29:20 +00:00
Chris Lattner
29ef1f51eb Provide a way to actually run tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3408 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-20 19:29:08 +00:00
Chris Lattner
41ca3f8ee4 Fix buggy testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3403 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-20 17:07:02 +00:00
Chris Lattner
a8b7c04d13 Don't stop the testing process if dis segfaults
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3400 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-20 16:33:28 +00:00
Chris Lattner
afadc96d28 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3399 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-20 16:01:23 +00:00
Chris Lattner
328d290e68 Testcase for anonymous recursive types
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3398 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-20 15:49:52 +00:00
Chris Lattner
dce9427985 New testcase for instcombine
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3396 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-20 15:27:45 +00:00
Chris Lattner
0f7c8c29d3 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3395 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-19 23:10:52 +00:00
Chris Lattner
d366e4094a * Build with warnings
* Add a bunch of testcases.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3393 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-19 23:09:30 +00:00
Chris Lattner
696bcf37ae New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3390 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-19 21:48:09 +00:00
Chris Lattner
d03de90bb1 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3385 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-19 19:08:52 +00:00
Chris Lattner
1967c7e9a3 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3383 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-19 16:14:10 +00:00
Chris Lattner
09540e2cc5 New testcase.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3380 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-18 01:27:10 +00:00
Chris Lattner
09674a297b Add a simple testcase that just uses a CPR instead of a CPR & ConstExpr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3373 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-17 23:20:37 +00:00
Chris Lattner
4a2211e980 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3372 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-17 22:57:52 +00:00
Chris Lattner
22de210b60 Include a basic simple test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3369 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-17 22:36:45 +00:00
Chris Lattner
edf6a84a75 Add new testcase for gep instruction -> get constexpr promotion
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3364 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-16 21:18:21 +00:00
Chris Lattner
750b9b080d Fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3361 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-16 19:34:33 +00:00
Chris Lattner
a9c677e41b New testcase distilled from much larger problem
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3360 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-16 16:54:52 +00:00
Chris Lattner
85907a64c2 Convert constexpr over to new syntax
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3359 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-15 21:14:39 +00:00
Chris Lattner
81003a4cc4 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3358 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-15 21:08:38 +00:00
Chris Lattner
d1c58ac7c3 Make 'features' testsuite work with the /shared changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3357 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-15 19:49:06 +00:00
Chris Lattner
83a278efad Convert testcase to use correct syntax
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3356 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-15 19:48:48 +00:00
Chris Lattner
9edfe8aa18 Add another testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3355 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-15 19:38:03 +00:00
Chris Lattner
657882cf6e There seem to be issues with constant exprs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3349 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-15 17:04:40 +00:00
Chris Lattner
8decbcbbfe Add a bunch of testcases for cast-of-casts that should be removed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3345 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-15 16:13:29 +00:00
Vikram S. Adve
0f63e22e84 Add tests for unary NOT operations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3340 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-15 14:09:56 +00:00
Chris Lattner
8360d0922a Fix testcase to actually test what we think we are
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3338 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-14 23:01:19 +00:00
Chris Lattner
d022471260 *** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3333 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-14 19:29:38 +00:00
Chris Lattner
a939a1e664 This file does not belong here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3332 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-14 19:29:32 +00:00
Chris Lattner
f39c24cbeb Fix tests that use the now dead not instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3331 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-14 19:28:22 +00:00
Chris Lattner
985792d870 Fix testcases that used to now dead 'not' instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3330 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-14 19:28:09 +00:00
Chris Lattner
d0cad7a5f5 Change not's to xors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3329 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-14 19:26:34 +00:00
Chris Lattner
500888b7e8 Remove illegal test now that not instruction does not exist.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3312 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-14 17:44:00 +00:00
Chris Lattner
3a6c063699 Make sure there is SOME output always so the test is not rerun when unneccesary.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3311 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-14 17:38:15 +00:00
Chris Lattner
23fbe30bc3 The not instruction is just a specialized form of XOR
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3310 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-14 17:37:04 +00:00
Chris Lattner
c0c4d70ad8 Tools are now moved into /shared
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3292 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-12 21:20:59 +00:00
Chris Lattner
ad1023b3cc Add comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3287 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-12 19:18:49 +00:00
Chris Lattner
42dbd3044c xor x, ALLONES should -> not x
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3285 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-09 23:34:39 +00:00
Chris Lattner
22fae29835 setcc of booleans should always be eliminated
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3284 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-09 23:34:18 +00:00
Chris Lattner
f8e2cf9221 Add more strength reduction testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3283 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-09 23:33:58 +00:00
Vikram S. Adve
7894d56023 Add a sequence of GEPs with constant indices, for folding.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3247 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-04 20:53:14 +00:00
Chris Lattner
7d20fe3727 Testcase for stuff instcombine should do eventually
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3240 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-03 20:30:26 +00:00
Chris Lattner
d3e7929626 Add some more features that we could instcombine away
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3239 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-03 20:24:58 +00:00
Chris Lattner
e8535486dc *** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3238 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-03 20:24:45 +00:00
Vikram S. Adve
a1396a163d Run both *.ll and *.c tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3232 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-03 13:17:03 +00:00
Vikram S. Adve
6ae7d3c9ec Added expected decomposed sequence in comments, plus a couple of new cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3231 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-03 13:16:47 +00:00
Chris Lattner
7b572eff48 Fix yet another bug in the testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3224 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-02 19:59:20 +00:00
Chris Lattner
77c1462728 Fix bug in testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3223 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-02 19:54:05 +00:00
Chris Lattner
4a6e4b30b4 These tests should not run -dce pass to cleanup instcombine.
If instcombine is making dead instructions, ALL that should be used is -die


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3221 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-02 19:27:58 +00:00
Chris Lattner
c7f9637a9d Add another testcase that isn't failing because of another bug in instcombine
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3220 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-02 18:48:09 +00:00