1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 23:42:52 +01:00
Commit Graph

3022 Commits

Author SHA1 Message Date
Chris Lattner
0cd1a705a7 New testcase found when working on union support *sigh*
llvm-svn: 3149
2002-07-30 06:05:40 +00:00
Chris Lattner
6b03d7d268 New testcase distilled from trying to compile burg with LLVM
llvm-svn: 3148
2002-07-30 05:57:03 +00:00
Chris Lattner
0249c3a1d8 Oops, fix testcase
llvm-svn: 3139
2002-07-30 00:49:42 +00:00
Chris Lattner
72b9a9b3b7 NEw testcase to handle "yet another" return type mismatch possibility
llvm-svn: 3138
2002-07-30 00:34:52 +00:00
Chris Lattner
2fcfcfc331 Trim down testcase, a lot.
llvm-svn: 3136
2002-07-30 00:10:05 +00:00
Chris Lattner
e2763e46bd Reduce testcase more
llvm-svn: 3135
2002-07-29 23:41:21 +00:00
Chris Lattner
dd32661f72 Reduce the size of the testcase
llvm-svn: 3132
2002-07-29 22:46:55 +00:00
Chris Lattner
e848314fdf Hrm, testcase was checking the wrong pass. :(
llvm-svn: 3126
2002-07-29 21:12:20 +00:00
Chris Lattner
449422ca8c New testcase
llvm-svn: 3120
2002-07-29 19:39:52 +00:00
Chris Lattner
9c0741f1a1 Fix testcase to not print pointer value
llvm-svn: 3119
2002-07-29 19:07:48 +00:00
Chris Lattner
8a4a8187d9 New testcase
llvm-svn: 3118
2002-07-29 19:02:49 +00:00
Chris Lattner
5dcc9d93a3 New testcase for bug
llvm-svn: 3102
2002-07-25 20:57:21 +00:00
Chris Lattner
deeef5cf39 New testcase
llvm-svn: 3100
2002-07-25 20:52:34 +00:00
Chris Lattner
993fb848c0 Add testcase for disassembler problem.
llvm-svn: 3098
2002-07-25 20:27:31 +00:00
Chris Lattner
5fc11f1bcb Checking testcase in my local tree only
llvm-svn: 3026
2002-07-23 18:28:03 +00:00
Chris Lattner
d35967a65c New testcase for bug
llvm-svn: 3025
2002-07-23 18:27:20 +00:00
Chris Lattner
d27e518109 TEstcases for old bugs
llvm-svn: 3024
2002-07-23 18:26:48 +00:00
Chris Lattner
c6a4a03783 Check in testcases that were just in my tree
llvm-svn: 3023
2002-07-23 18:25:39 +00:00
Chris Lattner
5368ef05ab New testcase
llvm-svn: 3022
2002-07-23 18:21:12 +00:00
Chris Lattner
b480754327 New testcase
llvm-svn: 2972
2002-07-19 03:51:49 +00:00
Chris Lattner
d9b7b367d4 Build globaldce tests
llvm-svn: 2962
2002-07-18 06:40:31 +00:00
Chris Lattner
e9894ca2e7 New testcase
llvm-svn: 2956
2002-07-18 04:25:11 +00:00
Chris Lattner
e25d9fb4d5 New testcases for bug in globaldce
llvm-svn: 2955
2002-07-18 04:01:02 +00:00
Chris Lattner
ca7e926623 New testcase
llvm-svn: 2940
2002-07-17 22:19:30 +00:00
Chris Lattner
3195ee9279 New testcase, unanalyzed.
llvm-svn: 2938
2002-07-17 20:04:07 +00:00
Chris Lattner
21de4a43ee New testcase finally identified!!
llvm-svn: 2935
2002-07-17 02:36:02 +00:00
Chris Lattner
4a6544d9df New testcase
llvm-svn: 2931
2002-07-16 21:33:27 +00:00
Chris Lattner
a2c9351030 Add testcase for raise opportunity missed.
llvm-svn: 2930
2002-07-16 19:10:00 +00:00
Chris Lattner
2c5c3c626a Bug fix to RUN line
llvm-svn: 2923
2002-07-16 18:02:43 +00:00
Chris Lattner
7627301035 New testcase distilled from olden-tsp.
llvm-svn: 2919
2002-07-16 17:32:17 +00:00
Chris Lattner
d5ac717fe4 New testcase
llvm-svn: 2918
2002-07-16 05:38:33 +00:00
Vikram S. Adve
dea5af5ec6 Added duplicate constant expressions to test uniqueness support.
llvm-svn: 2908
2002-07-15 18:18:45 +00:00
Chris Lattner
8f3307f2fc Check in tests that have been in my tree for a long time
llvm-svn: 2906
2002-07-14 23:48:42 +00:00
Chris Lattner
d75e811cbf Minor rename of output
llvm-svn: 2905
2002-07-14 23:25:23 +00:00
Chris Lattner
f48dda5b90 New testcase to track opaque type bug
llvm-svn: 2904
2002-07-14 23:25:14 +00:00
Vikram S. Adve
3409e5418c Minor additions.
llvm-svn: 2903
2002-07-14 23:18:33 +00:00
Vikram S. Adve
dafe6f20de Test the handling of constant expressions.
llvm-svn: 2889
2002-07-14 22:39:02 +00:00
Chris Lattner
1124fc513b Allow tests that use custom commands to run
llvm-svn: 2888
2002-07-14 22:32:59 +00:00
Chris Lattner
68eab072e1 Test to make sure that 'internal' flags don't get dropped accidentally!
llvm-svn: 2887
2002-07-14 22:30:45 +00:00
Chris Lattner
7185d128c3 Fix broken test
llvm-svn: 2867
2002-07-10 22:31:09 +00:00
Vikram S. Adve
ad64895c22 Include Makefile.singlesrc in order to compile .c tests.
Some of these are not regression tests and this directory needs
to be reorganized, but the tests are important.

llvm-svn: 2866
2002-07-10 22:02:37 +00:00
Vikram S. Adve
e0f2f074bb Some of these are feature tests, not regression tests.
This directory needs to be reorganized and some of the tests
need changes to make them executable.  Also comments would help...

llvm-svn: 2865
2002-07-10 21:54:05 +00:00
Chris Lattner
0f86d605e1 Add a new testcase. It actually is not infinite looping. It just takes
FOREVER to run.  That's the bug.  :)

llvm-svn: 2850
2002-07-09 19:58:06 +00:00
Chris Lattner
617103c154 New testcase for problem effecting mst
llvm-svn: 2848
2002-07-09 19:41:21 +00:00
Chris Lattner
74b836ae6a New testcase
llvm-svn: 2783
2002-06-25 19:53:12 +00:00
Chris Lattner
5296c04669 Build all subdirectories
llvm-svn: 2780
2002-06-25 16:16:20 +00:00
Chris Lattner
cf5d9510c1 Test more thoroughly
llvm-svn: 2769
2002-06-24 21:37:08 +00:00
Chris Lattner
d08a8d5e3a Expose the analyzer
llvm-svn: 2768
2002-06-24 21:35:50 +00:00
Chris Lattner
40321e039f Basic test of the inlinr
llvm-svn: 2767
2002-06-24 17:46:05 +00:00
Chris Lattner
5894311743 Testcase for unimplemented feature
llvm-svn: 2766
2002-06-24 17:45:37 +00:00
Chris Lattner
e3e59c6e97 New testcases for verifier
llvm-svn: 2763
2002-06-08 17:33:16 +00:00
Chris Lattner
f19cdf8254 New testcase that is a distilled form of the other one
llvm-svn: 2752
2002-05-28 21:29:28 +00:00
Chris Lattner
93df7c955c New testcase that crashes ADCE
llvm-svn: 2751
2002-05-28 21:22:46 +00:00
Chris Lattner
5e9e7f0b75 Testcases to show what -funcresolve does.
llvm-svn: 2744
2002-05-24 21:27:41 +00:00
Chris Lattner
bad25b6468 Run FuncResolve tests
llvm-svn: 2743
2002-05-24 21:21:36 +00:00
Chris Lattner
8246fb3a44 New testcase, to be inspected by hand
llvm-svn: 2739
2002-05-23 20:58:45 +00:00
Chris Lattner
8fc05f88c2 New testcase
llvm-svn: 2737
2002-05-23 18:51:27 +00:00
Chris Lattner
00c79bc218 New testcase
llvm-svn: 2735
2002-05-23 18:27:08 +00:00
Chris Lattner
237a98afb9 New testcase
llvm-svn: 2732
2002-05-23 16:51:25 +00:00
Chris Lattner
bbda2a095f Remove spaces from function names
While I was at it, I converted functions to new style % name

llvm-svn: 2725
2002-05-22 22:28:27 +00:00
Chris Lattner
cbf6b870c9 New testcase
llvm-svn: 2724
2002-05-22 22:17:54 +00:00
Chris Lattner
835d5f6927 Run profile paths tests
llvm-svn: 2723
2002-05-22 22:02:24 +00:00
Chris Lattner
8b91b218ae Test cases for profile paths pass
llvm-svn: 2722
2002-05-22 22:02:14 +00:00
Chris Lattner
96c2241685 New testcase
llvm-svn: 2718
2002-05-22 20:46:30 +00:00
Chris Lattner
31c7b46989 Add more testcases for ADCE
llvm-svn: 2715
2002-05-22 19:22:45 +00:00
Chris Lattner
7b30f09451 Must run cfgsimplify to eliminate dead blocks
llvm-svn: 2706
2002-05-22 15:49:14 +00:00
Chris Lattner
a29f0fe4e4 New testcase
llvm-svn: 2705
2002-05-21 22:23:38 +00:00
Chris Lattner
54e1edcecb New testcase
llvm-svn: 2695
2002-05-21 20:03:42 +00:00
Chris Lattner
77c333368c Update run line
llvm-svn: 2693
2002-05-21 19:33:17 +00:00
Chris Lattner
05b7ed23ec This testcase was very broken! The block could not be merged because then
there would be a broken PHI node

llvm-svn: 2692
2002-05-21 19:32:58 +00:00
Chris Lattner
bea29dd1db New testcase
llvm-svn: 2691
2002-05-21 19:22:10 +00:00
Chris Lattner
bbfc502d75 New TEstcase
llvm-svn: 2689
2002-05-21 18:04:58 +00:00
Chris Lattner
25a4e91333 Remove unneccesary path from link line now
llvm-svn: 2679
2002-05-20 21:47:40 +00:00
Chris Lattner
72b73e12f4 New testcase for bug
llvm-svn: 2670
2002-05-20 20:48:24 +00:00
Vikram S. Adve
986a4f61da Fix libs and includes for compiling with llc.
llvm-svn: 2654
2002-05-19 15:47:52 +00:00
Chris Lattner
6bc0815b11 New C backend testcases with first testcase
llvm-svn: 2638
2002-05-17 04:53:52 +00:00
Chris Lattner
7a5a9d057e Add tests of redundant load elimination
llvm-svn: 2636
2002-05-16 01:03:12 +00:00
Chris Lattner
92c56ccbfa New testcases for sub/neg reassociation
llvm-svn: 2635
2002-05-16 00:56:59 +00:00
Chris Lattner
27ade6e173 Fix testcase
llvm-svn: 2634
2002-05-16 00:56:36 +00:00
Chris Lattner
5393f68ffd New testcases to ensure sub's are maximally reassociable
llvm-svn: 2633
2002-05-15 21:59:31 +00:00
Chris Lattner
d666f1af99 Testcase to ensure trees structures are correctly linearized
llvm-svn: 2632
2002-05-15 21:56:51 +00:00
Chris Lattner
2de1df062f Test to ensure sub -> neg promotion is working and why.
llvm-svn: 2631
2002-05-15 20:30:48 +00:00
Chris Lattner
876da68baa New testcase
llvm-svn: 2630
2002-05-15 17:22:01 +00:00
Chris Lattner
4859d6b591 New testcase
llvm-svn: 2628
2002-05-14 19:56:14 +00:00
Chris Lattner
0535bc0d66 New testcase for bug
llvm-svn: 2626
2002-05-14 16:40:43 +00:00
Chris Lattner
6a7eccad5f New testcase
llvm-svn: 2622
2002-05-14 15:22:50 +00:00
Chris Lattner
1e198023b9 Add testcase for when there is no loop header
llvm-svn: 2611
2002-05-10 22:43:26 +00:00
Chris Lattner
717e99c79a A basic test that LICM is working
llvm-svn: 2610
2002-05-10 22:27:49 +00:00
Chris Lattner
c2766aada8 Run LICM tests
llvm-svn: 2609
2002-05-10 22:21:38 +00:00
Chris Lattner
1215378a67 run LICM tests
llvm-svn: 2608
2002-05-10 22:21:25 +00:00
Chris Lattner
d9e5159118 New testcase
llvm-svn: 2596
2002-05-10 15:14:54 +00:00
Chris Lattner
5295e03aa9 Test the Pi node inserter
llvm-svn: 2591
2002-05-10 05:38:39 +00:00
Chris Lattner
bfc208b405 Initial checkin of testcases for Pi node inserter
llvm-svn: 2590
2002-05-10 05:38:18 +00:00
Chris Lattner
160b51de7d New testcase for wierd combine opportunity found in bzip2 benchmark
llvm-svn: 2580
2002-05-09 19:52:36 +00:00
Chris Lattner
890652c8a2 Fix broken testcase
llvm-svn: 2565
2002-05-09 01:28:30 +00:00
Chris Lattner
70dd3548b3 Add two new patterns that instcombine should or does handle
llvm-svn: 2563
2002-05-08 23:15:01 +00:00
Chris Lattner
8fdec5f127 New testcase for LICM reassociation
llvm-svn: 2560
2002-05-08 22:20:55 +00:00
Chris Lattner
313f5a5fe0 Add some simple test of reassociation
llvm-svn: 2555
2002-05-08 21:34:22 +00:00
Chris Lattner
240027fdba run reassociate tests
llvm-svn: 2554
2002-05-08 21:34:11 +00:00
Chris Lattner
ae618ed6b8 New testcase for adce
llvm-svn: 2546
2002-05-07 21:05:36 +00:00
Chris Lattner
eb560983ad Build the ADCE tests
llvm-svn: 2545
2002-05-07 20:52:15 +00:00
Chris Lattner
4e234c9a1f ADCE tests
llvm-svn: 2544
2002-05-07 20:51:59 +00:00
Chris Lattner
49ac9debec Oops, forgot to check in makefile
llvm-svn: 2542
2002-05-07 20:39:18 +00:00
Chris Lattner
73b676d645 Add check that phi nodes get constant propogated away
llvm-svn: 2541
2002-05-07 20:32:19 +00:00
Chris Lattner
8916b11c77 constprop doesn't delete dead instructions, it just makes them dead.
llvm-svn: 2540
2002-05-07 20:25:44 +00:00
Chris Lattner
fdae27abc0 Add testcase for not expressions
llvm-svn: 2539
2002-05-07 20:22:12 +00:00
Chris Lattner
8866ffa232 Make the testcase more interesting so that DCE does not eliminate it.
Use DIE instead of DCE anyway

llvm-svn: 2500
2002-05-06 17:59:23 +00:00
Chris Lattner
8d68e13ccb New testcase for PHI folding
llvm-svn: 2495
2002-05-06 17:43:38 +00:00
Chris Lattner
a067255180 New testcase to make sure not instructions get combined
llvm-svn: 2492
2002-05-06 17:00:47 +00:00
Chris Lattner
a7c5a80fa8 More tests
llvm-svn: 2489
2002-05-06 16:44:53 +00:00
Chris Lattner
f5ca08da87 Add testcase for -(-A)
llvm-svn: 2488
2002-05-06 16:19:16 +00:00
Chris Lattner
a81c619d2b Fix testcase, the 'shift out all bits' doesn't apply to signed types.
llvm-svn: 2482
2002-05-06 16:11:31 +00:00
Chris Lattner
4e94e9328e More testcases I don't want to forget about
llvm-svn: 2480
2002-05-06 05:51:26 +00:00
Chris Lattner
c019944886 New testcases so I don't forget about these algebraic simplifications
llvm-svn: 2479
2002-05-06 05:43:36 +00:00
Chris Lattner
36af244bcb New testcase so I don't forget about this.
llvm-svn: 2478
2002-05-06 05:35:20 +00:00
Chris Lattner
34a909060c Testcase for missed merge opportunity
llvm-svn: 2477
2002-05-06 03:11:32 +00:00
Chris Lattner
bc54decdc7 Build CFGsimplify directory
llvm-svn: 2475
2002-05-06 03:03:55 +00:00
Chris Lattner
3b5ee47ef6 Initial testcases for CFG simplify (which is part of DCE for now)
llvm-svn: 2466
2002-05-06 02:37:38 +00:00
Chris Lattner
4362f06ccf Test moved to SCCP test directory
llvm-svn: 2465
2002-05-06 00:52:06 +00:00
Chris Lattner
578cb6582b New testcase for bugs in the constant propogator
llvm-svn: 2462
2002-05-03 20:25:40 +00:00
Chris Lattner
bc361e36af Add tests for floating point remainder elimination
llvm-svn: 2461
2002-05-03 20:16:29 +00:00
Chris Lattner
36afb8ee65 New testcase to see if constant propogation of remainder is implemented
llvm-svn: 2460
2002-05-03 20:14:21 +00:00
Chris Lattner
e7533432aa This testcase is a sanity check
llvm-svn: 2459
2002-05-03 20:12:31 +00:00
Chris Lattner
6635b10155 Add new testcase for general constant prop.
llvm-svn: 2457
2002-05-03 19:58:17 +00:00
Chris Lattner
3acc1de80e Add const prop pass to eliminate dead branches
llvm-svn: 2456
2002-05-03 19:57:16 +00:00
Chris Lattner
ecd7d90e2c We currently don't allow unresolved opaque types!
llvm-svn: 2453
2002-05-03 18:32:40 +00:00
Chris Lattner
09a356bd6a Add -d switch to test AsmWriter as well
llvm-svn: 2452
2002-05-03 18:31:30 +00:00
Chris Lattner
0faae7983c Eliminate usage of function level constant pool
llvm-svn: 2450
2002-05-02 21:52:35 +00:00
Chris Lattner
432dc486c2 Use unified diffs with gnu diff instead of old diffs
llvm-svn: 2449
2002-05-02 21:51:55 +00:00
Chris Lattner
4ffce19c71 More testcases for SCCP
llvm-svn: 2444
2002-05-02 20:41:39 +00:00
Chris Lattner
4d656517dc Additional testcase
llvm-svn: 2442
2002-05-02 20:19:11 +00:00
Chris Lattner
25a2a2b61c Run the SCCP test
llvm-svn: 2441
2002-05-02 20:18:53 +00:00
Chris Lattner
d76f5b3ce6 First testcase for SCCP pass
llvm-svn: 2440
2002-05-02 20:18:37 +00:00
Chris Lattner
295d802096 Simplify the testcase a bit
llvm-svn: 2439
2002-05-02 19:58:05 +00:00
Chris Lattner
55a557416c New testcase
llvm-svn: 2438
2002-05-02 19:54:58 +00:00
Chris Lattner
c0d1010e65 New testcase for assembler failure
llvm-svn: 2435
2002-05-02 19:12:21 +00:00
Chris Lattner
7222c2f810 Intitial checkin of cast tests
llvm-svn: 2427
2002-05-02 17:01:39 +00:00
Chris Lattner
6c6eb4e034 New testcase for bug found by Vikram
llvm-svn: 2426
2002-05-02 16:16:39 +00:00
Chris Lattner
87b97fc7c6 Check another case
llvm-svn: 2424
2002-05-02 15:24:40 +00:00
Chris Lattner
2d267a0074 New bug testcase
llvm-svn: 2422
2002-05-01 15:33:12 +00:00
Chris Lattner
f20e518434 New testcase
llvm-svn: 2419
2002-04-30 19:50:47 +00:00
Chris Lattner
4c8731d941 New test cases for mul folding
llvm-svn: 2416
2002-04-29 22:24:24 +00:00
Chris Lattner
657c514823 New test for broken asm parser
llvm-svn: 2398
2002-04-29 18:12:28 +00:00
Chris Lattner
8ced395069 New testcase for GCSE
llvm-svn: 2342
2002-04-28 01:46:36 +00:00
Chris Lattner
e5ec76827b Test GCSE
llvm-svn: 2341
2002-04-28 01:46:30 +00:00
Chris Lattner
323c46631a New testcase
llvm-svn: 2304
2002-04-18 20:30:58 +00:00
Chris Lattner
6e578a2b00 New testcase.
llvm-svn: 2291
2002-04-18 17:35:39 +00:00
Chris Lattner
a1f5a1b920 Check in the first test: make sure getelementptr gets folded
llvm-svn: 2288
2002-04-18 15:39:50 +00:00
Chris Lattner
9a7a1140d1 Test the instruction combiner
llvm-svn: 2287
2002-04-18 15:39:15 +00:00
Chris Lattner
7f3c232f01 Fix for buggy test
llvm-svn: 2267
2002-04-16 21:31:08 +00:00
Chris Lattner
52d1ff5be0 New testcase
llvm-svn: 2262
2002-04-16 05:58:24 +00:00
Chris Lattner
068a98c2a5 New testcase
llvm-svn: 2261
2002-04-16 05:44:56 +00:00
Chris Lattner
c1442592fb Checkin first unit testcases for the backend
llvm-svn: 2249
2002-04-14 06:23:00 +00:00
Chris Lattner
c48a0efddc New testcase for the verifier
llvm-svn: 2242
2002-04-13 22:46:24 +00:00
Chris Lattner
2a6b90e79f New testcase for structure valued parameters.
llvm-svn: 2220
2002-04-10 17:43:40 +00:00
Chris Lattner
cbb6139148 New testcase
llvm-svn: 2218
2002-04-09 20:43:18 +00:00
Chris Lattner
91c72eacec Checkin old testcase that is newly fixed.
llvm-svn: 2161
2002-04-08 19:32:51 +00:00
Chris Lattner
3efb75a95d New testcase
llvm-svn: 2160
2002-04-08 18:48:47 +00:00
Chris Lattner
798a30f8c0 Checkin old testcase for switch statement. For now we just decimate them
to conditional branches.

llvm-svn: 2159
2002-04-08 18:48:27 +00:00
Chris Lattner
1597f0994d Old testcase that missed getting checked in
llvm-svn: 2158
2002-04-08 15:19:02 +00:00
Chris Lattner
a19d7e1400 New testcase
llvm-svn: 2138
2002-04-07 08:14:44 +00:00
Chris Lattner
dd1e302d25 don't delete intermediate files!
llvm-svn: 2136
2002-04-07 08:11:07 +00:00
Chris Lattner
d84b895d43 Testcase for bad constant handling
llvm-svn: 2133
2002-04-07 07:58:25 +00:00
Chris Lattner
defa4ee352 Fix bug in testcase: no implementatino section make it not legal input, so
once the parser is fixed to handle the bug, it broke on the bad input.  :)

llvm-svn: 2123
2002-04-05 23:00:02 +00:00
Chris Lattner
32c9c0ab0e New testcases
llvm-svn: 2122
2002-04-05 22:25:51 +00:00
Chris Lattner
ea1141374b Testcase that breaks recursive type processing
llvm-svn: 2117
2002-04-05 19:39:55 +00:00
Chris Lattner
2bfc9bf835 Don't link in library that cannot be found, this should be removed eventually.
llvm-svn: 2111
2002-04-04 19:27:43 +00:00
Chris Lattner
42ebbcbaf7 Add subdirs to makefile
llvm-svn: 2017
2002-03-28 18:21:31 +00:00
Chris Lattner
f5c61bb390 Initial checkin of first regression test for mem2reg pass
llvm-svn: 2016
2002-03-28 18:21:05 +00:00
Vikram S. Adve
167ba9b1b2 Make test more rigorous. It was never reading the non-scalar variables
from memory!  Also, separate the writing and reading routines.

llvm-svn: 1983
2002-03-24 13:22:04 +00:00
Chris Lattner
22ca8cdc0d initialize sum variable
llvm-svn: 1982
2002-03-24 07:03:10 +00:00
Vikram S. Adve
950efd725f Fix out-of-date name.
llvm-svn: 1959
2002-03-24 03:18:49 +00:00
Vikram S. Adve
fa23963b6c Regression tests for DecomposeMultiDimRefs pass.
llvm-svn: 1958
2002-03-24 03:17:16 +00:00
Chris Lattner
1a72e3a234 New testcase
llvm-svn: 1942
2002-03-21 23:00:48 +00:00
Chris Lattner
8649cde7b2 New testcase
llvm-svn: 1940
2002-03-21 22:39:43 +00:00
Chris Lattner
a2a81aca9b Rerun test if opt gets changed
llvm-svn: 1937
2002-03-21 21:29:47 +00:00
Chris Lattner
7585694323 Run all testcases
llvm-svn: 1936
2002-03-21 21:24:19 +00:00
Chris Lattner
6f8efb32d7 Build LevelRaise subdirectory
llvm-svn: 1935
2002-03-21 21:24:13 +00:00
Chris Lattner
993135498b Testcase for a missed level raise opportunity
llvm-svn: 1932
2002-03-21 21:20:04 +00:00
Chris Lattner
8eacc46194 Fix bug in testcase
llvm-svn: 1928
2002-03-21 06:19:43 +00:00
Chris Lattner
daba86d4bf New testcase for YALRB (yet another level raise bug)
llvm-svn: 1925
2002-03-21 05:39:20 +00:00
Chris Lattner
c5c31062ab Checkin testcase that was just sitting in my tree. Looks like backreferences
have some problem in the parser, oh joy.

llvm-svn: 1923
2002-03-21 05:35:11 +00:00
Chris Lattner
9c6d73ebcc New testcase
llvm-svn: 1920
2002-03-21 03:01:14 +00:00
Vikram S. Adve
594306fd84 include Makefile.tests.
llvm-svn: 1914
2002-03-18 04:05:26 +00:00
Vikram S. Adve
f24cb15482 Fix libraries.
llvm-svn: 1912
2002-03-18 03:53:22 +00:00
Vikram S. Adve
09f3967db8 Minor changes.
llvm-svn: 1911
2002-03-18 03:52:31 +00:00
Vikram S. Adve
e801dabfc7 Regression tests for live-variable analysis on machine code
generated by llc.

llvm-svn: 1882
2002-03-16 21:42:33 +00:00
Chris Lattner
4b1351910e Testcase for bug
llvm-svn: 1875
2002-03-14 22:30:39 +00:00
Chris Lattner
b1a323859e New testcase
llvm-svn: 1874
2002-03-14 20:16:23 +00:00
Chris Lattner
e61d0b1898 New test case for long standing bug that was fixed
llvm-svn: 1873
2002-03-14 19:40:44 +00:00
Chris Lattner
1699a51763 Forgot to check this in a long time ago
llvm-svn: 1872
2002-03-14 19:31:32 +00:00
Chris Lattner
7bd087b865 New testcase
llvm-svn: 1871
2002-03-14 19:27:43 +00:00
Chris Lattner
f9a1258156 New testcase for bugfx
llvm-svn: 1868
2002-03-14 16:35:50 +00:00
Chris Lattner
561e6ab93b New testcase
llvm-svn: 1867
2002-03-12 18:56:45 +00:00
Chris Lattner
a42a4ce1f1 New testcase
llvm-svn: 1866
2002-03-12 17:45:36 +00:00
Chris Lattner
9040562121 New testcase
llvm-svn: 1863
2002-03-11 23:28:11 +00:00
Chris Lattner
76629f7ec4 New testcase
llvm-svn: 1860
2002-03-11 22:14:26 +00:00
Chris Lattner
8b9ffcc152 New testcase for failure
llvm-svn: 1857
2002-03-11 22:09:43 +00:00
Chris Lattner
797668548c Testcase that causes an assertion failure in lib/Analysis/Expressions.cpp
llvm-svn: 1855
2002-03-11 20:28:16 +00:00
Chris Lattner
aeac639e88 New testcase for broken GCCism
llvm-svn: 1854
2002-03-11 19:03:41 +00:00
Chris Lattner
47bd7bf322 Add var to find GCCLD tool
llvm-svn: 1846
2002-03-11 17:46:34 +00:00
Chris Lattner
c9ff9a1639 New testcase for crashing bug
llvm-svn: 1843
2002-03-11 17:25:50 +00:00
Chris Lattner
0bae163ea9 New testcase
llvm-svn: 1838
2002-03-08 19:10:09 +00:00
Chris Lattner
8c292eb226 New testcase
llvm-svn: 1835
2002-03-08 18:41:11 +00:00
Chris Lattner
8c42c6c92a Testcase for new bug
llvm-svn: 1797
2002-02-25 00:34:18 +00:00
Chris Lattner
b971ece3f1 New testcase
llvm-svn: 1775
2002-02-18 19:46:09 +00:00
Chris Lattner
1233cd5217 New testcase
llvm-svn: 1768
2002-02-17 06:42:02 +00:00
Chris Lattner
a0b7923836 Checking regression test for bugfix
llvm-svn: 1766
2002-02-14 22:20:54 +00:00
Chris Lattner
849f73b2e9 New testcase for bug in levelraise
llvm-svn: 1759
2002-02-14 18:52:18 +00:00
Chris Lattner
71649aaf9d New testcase for fixed GCC bug
llvm-svn: 1755
2002-02-14 05:41:15 +00:00
Chris Lattner
375e87c4e6 NEw testcase for bugfix
llvm-svn: 1753
2002-02-14 00:18:44 +00:00
Chris Lattner
3c0623935f Checking testcase for reload problem
llvm-svn: 1752
2002-02-13 20:35:17 +00:00
Chris Lattner
18b2ebd247 New testcase for fixed bug
llvm-svn: 1751
2002-02-13 20:25:16 +00:00
Chris Lattner
fa74003797 Add comments
Add rules to compile a program with LLC to machine code and an executable

llvm-svn: 1735
2002-02-12 15:39:38 +00:00
Chris Lattner
d6b0e2c487 test/Features should not contain whole programs
llvm-svn: 1734
2002-02-12 15:21:57 +00:00
Chris Lattner
4b69721730 New testcase for bug in -raise pass
llvm-svn: 1733
2002-02-11 23:44:06 +00:00
Chris Lattner
ca445ecc13 Allow multiline RUN:'s
llvm-svn: 1732
2002-02-11 23:32:43 +00:00
Chris Lattner
03334129dd Add testcase for sparc backend
llvm-svn: 1731
2002-02-11 23:22:56 +00:00
Vikram S. Adve
39dc45d020 Added command to build SPARC executable.
llvm-svn: 1730
2002-02-11 22:50:17 +00:00
Vikram S. Adve
6775a132a2 Simple fibonacci test.
llvm-svn: 1729
2002-02-11 22:48:18 +00:00
Chris Lattner
647edf79a4 New checkin
llvm-svn: 1630
2002-02-01 05:04:58 +00:00
Chris Lattner
a5184663ef Rip out irrelevant details
llvm-svn: 1625
2002-02-01 04:44:38 +00:00
Chris Lattner
64a3411bef Add TESTRUNR var
Correctly create directory for .bc target

llvm-svn: 1623
2002-02-01 04:25:12 +00:00
Chris Lattner
ab727e1cd4 Initial checkin
llvm-svn: 1622
2002-02-01 04:24:47 +00:00
Chris Lattner
27cd22f5a9 Initial checkin of 'Other' section
llvm-svn: 1621
2002-02-01 04:24:20 +00:00
Chris Lattner
11dfee78dc Forgot to force
llvm-svn: 1598
2002-01-31 00:27:32 +00:00
Chris Lattner
8d37e02ccd Testcase broken - Entry node of method cannot have predecessors!
llvm-svn: 1597
2002-01-31 00:25:00 +00:00
Chris Lattner
eac8c36f1d Make gcc tests depend on the part of GCC that actually gets updated.
llvm-svn: 1589
2002-01-26 22:48:08 +00:00
Chris Lattner
8b6c515583 Testcase for SymbolTable.cpp bug
llvm-svn: 1584
2002-01-25 03:58:05 +00:00
Chris Lattner
84b2d6c3c9 Check in testcase and fix
llvm-svn: 1581
2002-01-25 03:44:58 +00:00
Chris Lattner
6c2d73fc51 New testcase to ensure GCC doesn't emit type identifiers with spaces in them
llvm-svn: 1580
2002-01-24 20:45:45 +00:00
Chris Lattner
85c74cd440 Checkin testcase for bug recently fixed
llvm-svn: 1579
2002-01-24 19:50:30 +00:00
Chris Lattner
080ac9a78c Initial Checkin
llvm-svn: 1577
2002-01-23 21:56:15 +00:00
Chris Lattner
b8298b46c2 Initial checkin of now fixed bug
llvm-svn: 1575
2002-01-23 21:40:57 +00:00
Chris Lattner
de7089af1f Initial Checkin
llvm-svn: 1574
2002-01-23 21:40:31 +00:00
Chris Lattner
606fdfe109 More rules checked in
llvm-svn: 1571
2002-01-23 21:36:59 +00:00
Chris Lattner
1031805e32 Failure.sh moved up a level
llvm-svn: 1569
2002-01-23 20:39:56 +00:00
Chris Lattner
f41c2d2771 Initial checkin
llvm-svn: 1564
2002-01-23 19:42:52 +00:00
Chris Lattner
38c80eb857 Change test scripts so that they do not stop on failure, they just print
an error message

llvm-svn: 1563
2002-01-23 18:04:21 +00:00
Chris Lattner
54c2d67c3a Initial checking of Failure.sh
llvm-svn: 1562
2002-01-23 18:03:49 +00:00
Chris Lattner
b89443534f New minimal makefile
llvm-svn: 1561
2002-01-23 17:22:17 +00:00
Chris Lattner
e286e092e9 Removal of more unnecesary stuff
llvm-svn: 1557
2002-01-23 05:50:04 +00:00
Chris Lattner
3c54e3bcdc Moved to Programs/SingleSource
llvm-svn: 1544
2002-01-22 17:42:43 +00:00
Chris Lattner
4cc27cf936 Move some makefile stuff to subdirectories
llvm-svn: 1543
2002-01-22 16:56:41 +00:00
Chris Lattner
e9b1e57e98 These are unneccesary now
llvm-svn: 1535
2002-01-22 15:47:47 +00:00
Chris Lattner
8362bfcac2 Add a path to LD_LIBRARY_PATH so that programs can find the stdC++ libraries
llvm-svn: 1505
2002-01-21 06:50:08 +00:00
Vikram S. Adve
e7b51ff43a Renamed Makefile.target to Makefile.tests and folded in
Chris's Makefile.tests used to build and test single-source tests
(but with some uses of Output/ directory eliminated for now).
Let's not create two versions of this file!

llvm-svn: 1490
2001-12-15 01:13:42 +00:00
Vikram S. Adve
6a327ec117 Rename Makefile.target to Makefile.tests.
Make all a :: target.

llvm-svn: 1488
2001-12-15 01:04:39 +00:00
Vikram S. Adve
3e63399b59 Renaming to Makefile.tests
llvm-svn: 1487
2001-12-15 00:54:37 +00:00
Vikram S. Adve
2f88ccc297 Run testsparc, not testcodegen for testing the back end.
llvm-svn: 1482
2001-12-15 00:29:14 +00:00
Chris Lattner
b0112dd11a Update LLVM tests to use new pointer indexing, and remove unsized array test support
llvm-svn: 1474
2001-12-14 16:46:53 +00:00
Chris Lattner
29a25639b5 Build Programs subdirectory
llvm-svn: 1473
2001-12-14 16:43:59 +00:00
Vikram S. Adve
bd94ac530c Added TRACEM option. Use -g when building native code for tests.
llvm-svn: 1438
2001-12-12 15:19:55 +00:00
Chris Lattner
7a41b0f4b0 Use _LOCAL_ gccas to build instead of Chris's
llvm-svn: 1436
2001-12-09 16:55:43 +00:00
Chris Lattner
4c09847cc2 New testcase for globaldce
llvm-svn: 1398
2001-11-26 20:50:07 +00:00
Chris Lattner
b05afffd5b Add testcases for internal
llvm-svn: 1388
2001-11-26 19:17:06 +00:00
Chris Lattner
4a9dcadb10 Rename irreducible to cfgstructures.ll Include other interesting structures
llvm-svn: 1387
2001-11-26 19:16:37 +00:00
Chris Lattner
e71cbe1233 MAke sure diffs match
llvm-svn: 1386
2001-11-26 19:15:25 +00:00
Chris Lattner
0e61e3ded6 Test array indexing
llvm-svn: 1349
2001-11-26 17:02:56 +00:00
Chris Lattner
42ca69b918 Only use one form of printVal per program to avoid spurious link errors
llvm-svn: 1292
2001-11-13 06:27:19 +00:00
Chris Lattner
26fd330950 Overwrite files when linked
Remove native files when cleaned

llvm-svn: 1289
2001-11-13 05:44:27 +00:00
Vikram S. Adve
a503b77130 Distinguish LOCAL_LDFLAGS and LOCAL_LCFLAGS from LOCAL_CFLAGS.
In particular, never put -lm in LOCAL_[L]CFLAGS because it
disables an implicit rule that has LOCAL_CFLAGS as a prerequisite.

llvm-svn: 1281
2001-11-12 23:10:29 +00:00
Vikram S. Adve
c47553b77d Use cc instead of gcc to compile *.native
llvm-svn: 1250
2001-11-10 14:23:54 +00:00
Chris Lattner
485b4f452a Testcase for structure field reordering
llvm-svn: 1247
2001-11-10 07:26:59 +00:00
Vikram S. Adve
23c29608c8 Added function LL__main.
llvm-svn: 1230
2001-11-09 02:21:38 +00:00
Vikram S. Adve
588c8a623a Eliminate cleaning step for individual %.bc files created by our gcc.
llvm-svn: 1211
2001-11-08 18:42:08 +00:00
Vikram S. Adve
6894dc91f5 Took out .clean.bc target.
llvm-svn: 1210
2001-11-08 18:25:05 +00:00
Vikram S. Adve
1403a726ac Run cleaning pass only when linking multiple files.
llvm-svn: 1209
2001-11-08 18:14:20 +00:00
Vikram S. Adve
4a979f9321 Add cleaning pass after linking.
llvm-svn: 1208
2001-11-08 18:13:17 +00:00
Vikram S. Adve
2d86468029 Keep *.s files while we're debugging the native code.
Also, fix rule for $(LLCLIBS).

llvm-svn: 1206
2001-11-08 14:31:05 +00:00
Vikram S. Adve
9d78f2d0e6 Add rule for %.clean.bc.
llvm-svn: 1204
2001-11-08 05:28:08 +00:00
Vikram S. Adve
dc8f8a1ed4 Roll back all these changes that have broken Makefile.target again.
llvm-svn: 1172
2001-11-07 12:29:40 +00:00
Chris Lattner
6dde80a780 Minor fixes
llvm-svn: 1164
2001-11-06 22:53:17 +00:00
Chris Lattner
afabe43593 Build .bc from .c better.
llvm-svn: 1158
2001-11-06 20:44:15 +00:00
Chris Lattner
d37c4db956 Don't forget to make the clean version.
llvm-svn: 1157
2001-11-06 20:23:50 +00:00
Vikram S. Adve
8cb25d11ea Really fix Makefile to compile individual tests and Olden codes.
by using a better naming scheme.

llvm-svn: 1156
2001-11-06 17:09:49 +00:00
Vikram S. Adve
ee82b1c32e Moved *.c files into subdirectory TestSources to avoid overwriting
corresponding *.ll files.

llvm-svn: 1155
2001-11-06 17:06:06 +00:00
Chris Lattner
7df494872d Reorder paramters to make the command line more easily modifiable
llvm-svn: 1153
2001-11-06 08:34:56 +00:00
Chris Lattner
7ff2f7c96a Fix makefile to compile olden and main benchmarks
llvm-svn: 1142
2001-11-05 19:43:24 +00:00
Chris Lattner
138f1e2a4b Make the olden benchmarks compile again
llvm-svn: 1139
2001-11-05 18:25:37 +00:00
Vikram S. Adve
4bb90e1954 Put it back!
llvm-svn: 1136
2001-11-05 00:48:27 +00:00
Vikram S. Adve
f7cfaece3b Removed by mistake; will add it back immediately.
llvm-svn: 1135
2001-11-05 00:48:05 +00:00
Vikram S. Adve
d92f682f4c Make gcc generate assembly files (%.ll) until Chris has a stable
version of his gccas.  Plus another dumb bug fix (the bug, not the fix).

llvm-svn: 1134
2001-11-05 00:35:56 +00:00
Vikram S. Adve
6815cd9490 Delete rule to disassemble %.bc -- need to make it effective only when
%.ll is not a pre-existing file.

llvm-svn: 1133
2001-11-05 00:23:25 +00:00
Vikram S. Adve
518ff05cee Replaced another HERE.
llvm-svn: 1132
2001-11-05 00:22:16 +00:00
Vikram S. Adve
93451dde57 Put common rules for compiling programs into Makefile.target.
llvm-svn: 1130
2001-11-05 00:18:30 +00:00
Chris Lattner
7efe08fc03 Start testing the new cleangcc pass
llvm-svn: 1067
2001-10-31 06:36:34 +00:00
Chris Lattner
21b62e11c8 Initial checkin of heapsort benchmark
llvm-svn: 1057
2001-10-31 02:28:25 +00:00
Chris Lattner
66a557994b Initial checkin of ary3 "benchmark" from prog lang shootout
llvm-svn: 1051
2001-10-30 22:17:57 +00:00
Chris Lattner
a688ec5b15 Add testcase for missed SCCP optimization
llvm-svn: 1040
2001-10-30 03:22:59 +00:00
Chris Lattner
ad4eb90651 Test bitwise operations
llvm-svn: 1025
2001-10-29 13:56:42 +00:00
Vikram S. Adve
0f4d41632f Added printPointer.
llvm-svn: 1001
2001-10-28 21:34:59 +00:00
Vikram S. Adve
854917adfa Runtime routines implementing print<TYPE> for all basic types.
llvm-svn: 1000
2001-10-28 21:31:33 +00:00
Vikram S. Adve
aff56bc163 Add calls to print results in fib, simpleadd and sumarray.
indirectcall is the same as fib but uses function pointers.

llvm-svn: 996
2001-10-28 21:16:34 +00:00
Vikram S. Adve
984d6d10ea Added rules for building sparc executable with and without tracing,
and linking with local runtime library.

llvm-svn: 993
2001-10-28 20:18:11 +00:00
Vikram S. Adve
493f65bc17 Disable alloca code gen tests until size of extra args in stack frame
can be computed.

llvm-svn: 957
2001-10-22 22:33:08 +00:00
Vikram S. Adve
ea86d4fe08 *** empty log message ***
llvm-svn: 913
2001-10-18 22:47:50 +00:00
Chris Lattner
753ee3cf91 Check in new testcase based on .c file. Adapted to run with lli
llvm-svn: 908
2001-10-18 21:55:07 +00:00
Chris Lattner
d7b0ec49a2 Fix null termination issue
llvm-svn: 907
2001-10-18 21:54:42 +00:00
Chris Lattner
8e4c716d8a Add new testcase from C source
llvm-svn: 906
2001-10-18 21:50:39 +00:00
Vikram S. Adve
91375f630e Reverse previous change.
llvm-svn: 867
2001-10-18 00:23:32 +00:00
Vikram S. Adve
83de705ef7 Generate assembly code for testcodegen.
llvm-svn: 866
2001-10-18 00:22:14 +00:00
Vikram S. Adve
4e61ad56e4 Added several cases where a constant must be forwarded into a use.
llvm-svn: 865
2001-10-18 00:22:02 +00:00
Vikram S. Adve
3bc02a2111 Disable codgen test for calltest.ll.
llvm-svn: 855
2001-10-17 20:14:34 +00:00
Chris Lattner
ddb08e826c Add rule to build executables
llvm-svn: 846
2001-10-15 20:08:19 +00:00
Chris Lattner
abff6800b6 Make main do some simple work without requiring main arguments to be happy
llvm-svn: 842
2001-10-15 19:18:01 +00:00
Chris Lattner
706fdea521 Compile with v9 extensions
llvm-svn: 839
2001-10-15 17:55:35 +00:00
Chris Lattner
16ffc9987c Add some more interesting test cases for the linker
llvm-svn: 816
2001-10-15 03:11:58 +00:00
Chris Lattner
fcc8c249da More interesting testcase
llvm-svn: 809
2001-10-14 23:28:56 +00:00
Vikram S. Adve
167f77cf9e Enable most tests.
llvm-svn: 797
2001-10-14 23:15:42 +00:00
Vikram S. Adve
c3cdcdcb43 Added a string global variable.
llvm-svn: 796
2001-10-14 23:13:45 +00:00
Chris Lattner
0f05f26ebe Add C source for testmisc.ll
llvm-svn: 786
2001-10-13 07:32:16 +00:00
Chris Lattner
37f333c513 New testcase for testing constant pointers to globals
llvm-svn: 784
2001-10-13 07:16:11 +00:00
Chris Lattner
9e3b13cc29 Test files for linker
llvm-svn: 783
2001-10-13 07:15:38 +00:00
Chris Lattner
d4651b7cbf Use null keyword instead of kludge
llvm-svn: 778
2001-10-13 07:05:51 +00:00
Chris Lattner
bcd3ec56b0 Add more function call and prototype specific tests
llvm-svn: 777
2001-10-13 07:05:07 +00:00
Vikram S. Adve
8d89c1d8d6 Delete *.s on clean.
llvm-svn: 726
2001-10-11 04:24:10 +00:00
Vikram S. Adve
afd9787ce8 Moved first function to "simpleadd.ll".
llvm-svn: 716
2001-10-10 20:12:15 +00:00
Vikram S. Adve
cc952e1d5c testmemory and sumarray now work with instruction selection.
llvm-svn: 715
2001-10-10 20:10:48 +00:00
Chris Lattner
5c929fedef Fix broken testcase
llvm-svn: 705
2001-10-03 14:59:11 +00:00
Chris Lattner
fee01c0591 Adjust test cases to match the fact that methods are now explicit pointer values, not explicit
llvm-svn: 702
2001-10-03 14:50:12 +00:00
Chris Lattner
bdd805228a Modify testcases for new LLVM const syntax
llvm-svn: 698
2001-10-03 01:48:04 +00:00
Chris Lattner
0d1998546d Add path to as so it doesn't find llvm as if that path is set.
llvm-svn: 687
2001-10-01 00:50:36 +00:00
Chris Lattner
c82ad749e2 Exclude a couple of tests that the regalloc stuff doesn't handle yet
llvm-svn: 686
2001-10-01 00:40:49 +00:00
Vikram S. Adve
86af89c10d Add different "cast constant value" for several possible types.
Note these are actually generated by Phis with constant operands.

llvm-svn: 685
2001-10-01 00:23:12 +00:00
Chris Lattner
4c6db60979 Add a test for the new null keyword
llvm-svn: 669
2001-09-30 22:47:06 +00:00
Chris Lattner
b18a515a72 Add commands to assemble and compile a .ll file
llvm-svn: 661
2001-09-28 14:13:09 +00:00
Chris Lattner
51fd4a7b61 Adding the tool to the path doesn't break anything anymore
llvm-svn: 658
2001-09-28 00:07:10 +00:00
Chris Lattner
266f87aa6e Un-neuter makefile
llvm-svn: 623
2001-09-18 16:33:36 +00:00
Vikram S. Adve
ec23ce1838 Folded inssel*.ll into select.ll.
llvm-svn: 621
2001-09-18 13:10:26 +00:00
Chris Lattner
62945f1db1 Fix testcases to handle new syntax for construction and initializeation
Test constants

llvm-svn: 600
2001-09-18 04:38:50 +00:00
Chris Lattner
8700ac4be2 Remove invalid testcase
llvm-svn: 578
2001-09-14 20:30:58 +00:00
Chris Lattner
6f3d1ecb02 Remove invalid testcase. Unneccesary anyways
llvm-svn: 577
2001-09-14 20:28:57 +00:00
Chris Lattner
3c7f663441 Add new test cases
llvm-svn: 576
2001-09-14 20:03:04 +00:00
Chris Lattner
6ff8e8edce * Clean up InstrForest
* Fix ins sel problem, test case:
void "foo" (int *%x, int *%y)

begin
        seteq int *%x, %y
        ret void
end

llvm-svn: 552
2001-09-12 01:28:49 +00:00
Chris Lattner
9d1629d688 Implement global variable support
llvm-svn: 530
2001-09-10 07:58:01 +00:00
Chris Lattner
2ce19d622f Rerun backend tests if as or llc is changed
llvm-svn: 518
2001-09-09 21:58:36 +00:00
Chris Lattner
3fd41842ab New testcase to deal with lists
llvm-svn: 503
2001-09-07 23:00:46 +00:00
Chris Lattner
45ee843b29 Executables all live in a nice centralized location now
llvm-svn: 500
2001-09-07 22:58:50 +00:00
Chris Lattner
09b2eeca24 Executables have moved into centralized location
llvm-svn: 499
2001-09-07 22:58:33 +00:00
Chris Lattner
2eb5212b3e Add llc path to setup
Make code gen simpler, don't drop extra files all over the place

llvm-svn: 494
2001-09-07 22:13:44 +00:00
Chris Lattner
faedbcfe71 Make makefile not depend on where stuff is installed!!!!
llvm-svn: 491
2001-09-07 21:24:25 +00:00
Chris Lattner
71a712208e Check opaque, abstract, and recursive type handling
llvm-svn: 479
2001-09-07 20:59:20 +00:00
Chris Lattner
d6a18a62fb Symboltables are sorted in the bytecode, so no problems here!
llvm-svn: 468
2001-09-07 16:58:39 +00:00
Chris Lattner
6efa48a664 Make fib be more real
llvm-svn: 413
2001-09-01 01:47:52 +00:00
Vikram S. Adve
df6573f9e8 Add testcodegen target, and restrict which tests are run for it.
llvm-svn: 407
2001-08-28 23:26:44 +00:00
Chris Lattner
51db95102c Rename start methods to main so interpreter works easier
llvm-svn: 367
2001-08-23 17:08:51 +00:00
Vikram S. Adve
6744f75d62 Had used the wrong option.
llvm-svn: 339
2001-07-31 21:52:28 +00:00
Vikram S. Adve
e4a92c4029 Added support for testing instruction selection on all but 2 tests.
llvm-svn: 333
2001-07-31 21:45:56 +00:00
Chris Lattner
073fef2722 New test cases
llvm-svn: 329
2001-07-28 18:04:10 +00:00
Chris Lattner
c58c25ffc5 Changes to make test scripts more reliable
llvm-svn: 319
2001-07-28 17:40:15 +00:00
Chris Lattner
2143cd75d3 Add test of string constants
llvm-svn: 318
2001-07-28 17:39:46 +00:00
Chris Lattner
77257cae1a Work around a few 'sorting issues' with the bytecode output that causes the bytecode
not to be bit for bit identical.  This is a hack and should be fixed in the future

llvm-svn: 306
2001-07-26 16:30:18 +00:00
Chris Lattner
22608144d9 New test for varargs functions
llvm-svn: 301
2001-07-25 22:49:12 +00:00
Chris Lattner
5f04e68842 New test case
llvm-svn: 268
2001-07-22 05:00:34 +00:00
Vikram S. Adve
49857bdb28 Version of testmemory to test alloca, load and store.
llvm-svn: 238
2001-07-21 12:46:12 +00:00
Vikram S. Adve
f2f366d343 Used a bigger constant in loopfunc.ll that doesn't fit in immed field.
llvm-svn: 237
2001-07-21 12:44:24 +00:00
Chris Lattner
3e7e97bee3 New test case for prototype support
llvm-svn: 199
2001-07-15 21:43:17 +00:00
Chris Lattner
897bdcb525 New testcase from GCC doing array operations
llvm-svn: 192
2001-07-15 00:18:50 +00:00
Chris Lattner
510ad81e40 add coverage of newly implemented instructions.
llvm-svn: 165
2001-07-08 23:23:30 +00:00
Chris Lattner
7a7ddef47e Neg instruction removed. Cast instruction implemented.
llvm-svn: 156
2001-07-08 04:57:15 +00:00
Chris Lattner
8a17049e91 Added analyze to path for SetupOpt script
llvm-svn: 135
2001-07-03 15:30:10 +00:00
Chris Lattner
3bf48240c7 Add analyze tool to path for Setup script
llvm-svn: 134
2001-07-03 15:29:48 +00:00
Chris Lattner
d616582a7a Miscellaneous cleanups:
* Convert post to pre-increment for for loops
  * Use generic programming more
  * Use new Value::cast* instructions
  * Use new Module, Method, & BasicBlock forwarding methods
  * Use new facilities in STLExtras.h
  * Use new Instruction::isPHINode() method

llvm-svn: 96
2001-06-27 23:41:11 +00:00
Chris Lattner
d4d1cb558c Put in test of SCCP. Watch out though, because we need to sort the
constant pool for the final check to work.  :(

llvm-svn: 93
2001-06-27 23:37:22 +00:00
Chris Lattner
e6765b8961 Add a useless phi for testing with InductionVariables stuff
llvm-svn: 64
2001-06-24 04:06:23 +00:00
Chris Lattner
cd4c711ff3 Add a test case: an irreducible flow graph.
llvm-svn: 46
2001-06-21 03:00:25 +00:00
Chris Lattner
8deb3830c0 New test case
llvm-svn: 43
2001-06-20 23:05:53 +00:00
Chris Lattner
152920646b Add a more complex test case
llvm-svn: 37
2001-06-20 19:27:18 +00:00
Chris Lattner
848c35ed1f Updates to support
* Changes in PHI node structure
* We now run DCE after inlining because it helps clean up LOTS of inlining
  gunk.

llvm-svn: 26
2001-06-11 15:05:02 +00:00
Chris Lattner
89e70547f2 inlining can change methods a second time, so don't rerun inliner when testing for
differences in optimizations

llvm-svn: 12
2001-06-07 17:00:00 +00:00
Chris Lattner
e6b9b382e2 Initial revision
llvm-svn: 2
2001-06-06 20:29:01 +00:00