1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
Commit Graph

525 Commits

Author SHA1 Message Date
Chris Lattner
cf5622ad22 Convert testcase to use correct syntax
llvm-svn: 3356
2002-08-15 19:48:48 +00:00
Chris Lattner
6a844fa8b0 Add another testcase
llvm-svn: 3355
2002-08-15 19:38:03 +00:00
Chris Lattner
ea7257ec94 There seem to be issues with constant exprs
llvm-svn: 3349
2002-08-15 17:04:40 +00:00
Chris Lattner
54a8a632ea Add a bunch of testcases for cast-of-casts that should be removed.
llvm-svn: 3345
2002-08-15 16:13:29 +00:00
Vikram S. Adve
7bad3cdc7a Add tests for unary NOT operations.
llvm-svn: 3340
2002-08-15 14:09:56 +00:00
Chris Lattner
de33f53011 Fix testcase to actually test what we think we are
llvm-svn: 3338
2002-08-14 23:01:19 +00:00
Chris Lattner
9294035c00 *** empty log message ***
llvm-svn: 3333
2002-08-14 19:29:38 +00:00
Chris Lattner
62ae28b6e7 This file does not belong here.
llvm-svn: 3332
2002-08-14 19:29:32 +00:00
Chris Lattner
03ab577d77 Fix tests that use the now dead not instruction
llvm-svn: 3331
2002-08-14 19:28:22 +00:00
Chris Lattner
55bdf1fec4 Fix testcases that used to now dead 'not' instruction
llvm-svn: 3330
2002-08-14 19:28:09 +00:00
Chris Lattner
7f5aa43c5d Change not's to xors
llvm-svn: 3329
2002-08-14 19:26:34 +00:00
Chris Lattner
ce6d033e05 Remove illegal test now that not instruction does not exist.
llvm-svn: 3312
2002-08-14 17:44:00 +00:00
Chris Lattner
bb12fdbe3b Make sure there is SOME output always so the test is not rerun when unneccesary.
llvm-svn: 3311
2002-08-14 17:38:15 +00:00
Chris Lattner
650f5add3c The not instruction is just a specialized form of XOR
llvm-svn: 3310
2002-08-14 17:37:04 +00:00
Chris Lattner
1bbd2eadb6 Tools are now moved into /shared
llvm-svn: 3292
2002-08-12 21:20:59 +00:00
Chris Lattner
a2f6c63713 Add comment
llvm-svn: 3287
2002-08-12 19:18:49 +00:00
Chris Lattner
e74955adc5 xor x, ALLONES should -> not x
llvm-svn: 3285
2002-08-09 23:34:39 +00:00
Chris Lattner
531bdf1aaf setcc of booleans should always be eliminated
llvm-svn: 3284
2002-08-09 23:34:18 +00:00
Chris Lattner
8f1085124e Add more strength reduction testcases
llvm-svn: 3283
2002-08-09 23:33:58 +00:00
Vikram S. Adve
95b42e5892 Add a sequence of GEPs with constant indices, for folding.
llvm-svn: 3247
2002-08-04 20:53:14 +00:00
Chris Lattner
63b816c7bc Testcase for stuff instcombine should do eventually
llvm-svn: 3240
2002-08-03 20:30:26 +00:00
Chris Lattner
439fb9cf91 Add some more features that we could instcombine away
llvm-svn: 3239
2002-08-03 20:24:58 +00:00
Chris Lattner
1fdeca3bb6 *** empty log message ***
llvm-svn: 3238
2002-08-03 20:24:45 +00:00
Vikram S. Adve
e876b94dc4 Run both *.ll and *.c tests.
llvm-svn: 3232
2002-08-03 13:17:03 +00:00
Vikram S. Adve
eb0d0bd4d8 Added expected decomposed sequence in comments, plus a couple of new cases.
llvm-svn: 3231
2002-08-03 13:16:47 +00:00
Chris Lattner
4481c27eed Fix yet another bug in the testcase
llvm-svn: 3224
2002-08-02 19:59:20 +00:00
Chris Lattner
4f1571b6ca Fix bug in testcase
llvm-svn: 3223
2002-08-02 19:54:05 +00:00
Chris Lattner
cdb6a7e022 These tests should not run -dce pass to cleanup instcombine.
If instcombine is making dead instructions, ALL that should be used is -die

llvm-svn: 3221
2002-08-02 19:27:58 +00:00
Chris Lattner
8256db1eb0 Add another testcase that isn't failing because of another bug in instcombine
llvm-svn: 3220
2002-08-02 18:48:09 +00:00
Chris Lattner
9e27b8d5b8 Change test to really test the cases we can hit
llvm-svn: 3219
2002-08-02 18:47:11 +00:00
Chris Lattner
bc08630f50 New testcase
llvm-svn: 3218
2002-08-02 18:46:53 +00:00
Chris Lattner
5a89c835c6 Add a note about where to put miscompilation tests.
llvm-svn: 3212
2002-08-02 16:44:09 +00:00
Chris Lattner
3cb4867479 New testcase for dominator problem
llvm-svn: 3209
2002-08-02 16:41:21 +00:00
Chris Lattner
ede834ac32 The verify pass is implicit
llvm-svn: 3208
2002-08-02 16:39:18 +00:00
Chris Lattner
4749976f52 New test
llvm-svn: 3207
2002-08-02 16:26:08 +00:00
Chris Lattner
b4527d9165 Tweak makefile after moving
llvm-svn: 3205
2002-08-02 16:10:24 +00:00
Chris Lattner
3b2db5cdbe Verify is implicit for opt
llvm-svn: 3204
2002-08-01 22:26:32 +00:00
Chris Lattner
91a2826c02 Fix makefile to work.
llvm-svn: 3203
2002-08-01 20:50:54 +00:00
Chris Lattner
56312feb24 Fix broken testcase
llvm-svn: 3202
2002-08-01 20:50:03 +00:00
Chris Lattner
e54367de03 Make testcase legal LLVM
llvm-svn: 3201
2002-08-01 20:48:21 +00:00
Vikram S. Adve
1e4ac639ad Feature test for stack size bigger than immed. field of SAVE instruction.
Also tests code generation for code with mixed indices.

llvm-svn: 3197
2002-08-01 14:21:05 +00:00
Chris Lattner
5fefc76529 NEw testcase
llvm-svn: 3194
2002-07-31 23:54:29 +00:00
Chris Lattner
171e39224f Trim down testcase a bit
llvm-svn: 3190
2002-07-31 21:10:11 +00:00
Chris Lattner
d405f843f4 New testcase for level-raise crash inspired by SPEC
llvm-svn: 3189
2002-07-31 21:06:29 +00:00
Chris Lattner
af02419459 Fix testcase
llvm-svn: 3182
2002-07-31 17:54:24 +00:00
Chris Lattner
bc4d9a426e New testcase
llvm-svn: 3181
2002-07-31 17:52:36 +00:00
Chris Lattner
0e0cc7f027 Testcase that was triggering an incorrect assertion failure
llvm-svn: 3180
2002-07-31 17:39:38 +00:00
Chris Lattner
256d7343a9 Verify pass has been run for a long time now
llvm-svn: 3179
2002-07-31 17:39:16 +00:00
Chris Lattner
7ea2d72484 This testcase is independant of varargsness
Simplify.

llvm-svn: 3174
2002-07-30 22:24:07 +00:00
Chris Lattner
b42a9d7191 Remove invokation of cleangcc pass which has been renamed, and is unneccesary anyway
llvm-svn: 3159
2002-07-30 18:01:06 +00:00
Chris Lattner
34164fb6c2 Test that logical operators are correctly constant propogated!
llvm-svn: 3152
2002-07-30 16:18:38 +00:00
Chris Lattner
b42ea387da Add test of newly checked in Union support!
llvm-svn: 3151
2002-07-30 06:47:29 +00:00
Chris Lattner
199f82ce4b Simplify testcase a bit
llvm-svn: 3150
2002-07-30 06:07:16 +00:00
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