1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
Commit Graph

663 Commits

Author SHA1 Message Date
Chris Lattner
98c42292b4 Convert testcases to not use indexed loads/stores
llvm-svn: 3460
2002-08-22 16:39:14 +00:00
Chris Lattner
f84dbc6909 Convert testcases to not use indexed loads/stores
llvm-svn: 3459
2002-08-22 16:39:12 +00:00
Chris Lattner
39352fa2a4 Covnert testcases to not use indexed loads/stores
llvm-svn: 3458
2002-08-22 16:39:05 +00:00
Chris Lattner
6c3c7288c9 Covnert testcases to not use indexed loads/stores
llvm-svn: 3457
2002-08-22 16:39:04 +00:00
Chris Lattner
bec992a623 Remove obsolete test
llvm-svn: 3456
2002-08-22 16:15:20 +00:00
Chris Lattner
83913e005a Remove ancient test
llvm-svn: 3455
2002-08-22 16:14:53 +00:00
Chris Lattner
6890c815e9 Covnert tests to not use indexed load/stores
llvm-svn: 3454
2002-08-22 16:04:03 +00:00
Vikram S. Adve
55ac2d6c83 Add functions castbool and boolexpr.
llvm-svn: 3448
2002-08-22 03:05:13 +00:00
Vikram S. Adve
9a696dd528 *** empty log message ***
llvm-svn: 3447
2002-08-22 03:04:14 +00:00
Chris Lattner
ad1d057170 Fix testcase to not use indexing in non-gep instructions
llvm-svn: 3439
2002-08-21 23:52:57 +00:00
Chris Lattner
6d24b489f5 Test the C backend on all of the feature tests as well.
llvm-svn: 3437
2002-08-21 23:52:15 +00:00
Chris Lattner
b67e1ad397 Fix store to not index
llvm-svn: 3429
2002-08-21 22:45:23 +00:00
Chris Lattner
9f93dfeac0 Convert testcase to not use indexing on loads & stores
llvm-svn: 3428
2002-08-21 22:44:39 +00:00
Chris Lattner
795d6f0ccb Add testcase for the not (setcc A, B) case
llvm-svn: 3418
2002-08-21 17:11:18 +00:00
Chris Lattner
7d600cb270 Cleanup testsuite
llvm-svn: 3411
2002-08-20 19:34:51 +00:00
Chris Lattner
ecd6eabdc7 Clean up testcases to make them proper
llvm-svn: 3410
2002-08-20 19:32:17 +00:00
Chris Lattner
d7c6fb44a9 New testcase for constexpr problem.
llvm-svn: 3409
2002-08-20 19:29:20 +00:00
Chris Lattner
258ca4c73e Provide a way to actually run tests
llvm-svn: 3408
2002-08-20 19:29:08 +00:00
Chris Lattner
ad9f0fd080 Fix buggy testcase
llvm-svn: 3403
2002-08-20 17:07:02 +00:00
Chris Lattner
84282cf465 Don't stop the testing process if dis segfaults
llvm-svn: 3400
2002-08-20 16:33:28 +00:00
Chris Lattner
6a55577cc5 New testcase
llvm-svn: 3399
2002-08-20 16:01:23 +00:00
Chris Lattner
c1f5ceb42e Testcase for anonymous recursive types
llvm-svn: 3398
2002-08-20 15:49:52 +00:00
Chris Lattner
125fa35762 New testcase for instcombine
llvm-svn: 3396
2002-08-20 15:27:45 +00:00
Chris Lattner
c08e1244df New testcase
llvm-svn: 3395
2002-08-19 23:10:52 +00:00
Chris Lattner
1e0dd6d404 * Build with warnings
* Add a bunch of testcases.

llvm-svn: 3393
2002-08-19 23:09:30 +00:00
Chris Lattner
d68da32adf New testcase
llvm-svn: 3390
2002-08-19 21:48:09 +00:00
Chris Lattner
5a2d125f94 New testcase
llvm-svn: 3385
2002-08-19 19:08:52 +00:00
Chris Lattner
cdd2f12eb1 New testcase
llvm-svn: 3383
2002-08-19 16:14:10 +00:00
Chris Lattner
9054ff5f0b New testcase.
llvm-svn: 3380
2002-08-18 01:27:10 +00:00
Chris Lattner
4397add539 Add a simple testcase that just uses a CPR instead of a CPR & ConstExpr
llvm-svn: 3373
2002-08-17 23:20:37 +00:00
Chris Lattner
f9532f3682 New testcase
llvm-svn: 3372
2002-08-17 22:57:52 +00:00
Chris Lattner
1c0f9a6cf8 Include a basic simple test.
llvm-svn: 3369
2002-08-17 22:36:45 +00:00
Chris Lattner
f2a93d41f1 Add new testcase for gep instruction -> get constexpr promotion
llvm-svn: 3364
2002-08-16 21:18:21 +00:00
Chris Lattner
8c281eeac8 Fix typo
llvm-svn: 3361
2002-08-16 19:34:33 +00:00
Chris Lattner
feb5f57b91 New testcase distilled from much larger problem
llvm-svn: 3360
2002-08-16 16:54:52 +00:00
Chris Lattner
8851c60986 Convert constexpr over to new syntax
llvm-svn: 3359
2002-08-15 21:14:39 +00:00
Chris Lattner
b1a1627385 New testcase
llvm-svn: 3358
2002-08-15 21:08:38 +00:00
Chris Lattner
fcda164b39 Make 'features' testsuite work with the /shared changes.
llvm-svn: 3357
2002-08-15 19:49:06 +00:00
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
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