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

1047 Commits

Author SHA1 Message Date
Chris Lattner
b229912fd7 New testcase reduced from 197.parser by bugpoint
llvm-svn: 5404
2003-01-23 02:11:29 +00:00
Chris Lattner
3cde2e355e New testcase pointed out by Casey Carter
llvm-svn: 4934
2002-12-05 22:25:47 +00:00
Chris Lattner
c185d38059 New testcase
llvm-svn: 4703
2002-11-13 06:54:00 +00:00
Chris Lattner
8175700c70 Run local, bu, & td analyses
llvm-svn: 4670
2002-11-10 06:41:19 +00:00
Chris Lattner
b5493b772c Add new test that causes infinite recursion in bu pass
llvm-svn: 4669
2002-11-10 06:41:07 +00:00
Chris Lattner
d700f5db93 New testcase
llvm-svn: 4667
2002-11-10 03:35:43 +00:00
Chris Lattner
b196fead59 Fix predicate
llvm-svn: 4617
2002-11-08 00:31:27 +00:00
Chris Lattner
e00133efd0 Add testcase that is fscking twolf
llvm-svn: 4615
2002-11-08 00:22:07 +00:00
Chris Lattner
b08ece4571 New testcases
llvm-svn: 4563
2002-11-06 06:20:53 +00:00
Chris Lattner
328212ad42 New testcase
llvm-svn: 4553
2002-11-05 21:12:30 +00:00
Chris Lattner
9f359e4395 Add new getelementptr elimination test
llvm-svn: 4535
2002-11-04 16:35:14 +00:00
Chris Lattner
862c22518a New testcase for malloc promotion
llvm-svn: 4533
2002-11-04 16:18:07 +00:00
Chris Lattner
b3f6e9491f Add information about why this testcase fails
llvm-svn: 4529
2002-11-04 06:16:13 +00:00
Chris Lattner
007c4d3141 Convert uint gep operands to long
llvm-svn: 4528
2002-11-04 06:09:46 +00:00
Chris Lattner
6765b6d381 Convert old style gep index from uint to long
llvm-svn: 4527
2002-11-04 06:07:04 +00:00
Chris Lattner
716ff3f4e6 Improve the clean target
llvm-svn: 4519
2002-11-04 00:33:19 +00:00
Chris Lattner
202087ea2a Add a testcase cee should eventually pass
llvm-svn: 4484
2002-11-01 17:29:35 +00:00
Vikram S. Adve
fb09c1e402 Use absolute path name for "analyze" since we are changing directories.
llvm-svn: 4483
2002-11-01 16:49:10 +00:00
Chris Lattner
dbe9db0e15 New testcases
llvm-svn: 4464
2002-10-31 05:38:19 +00:00
Chris Lattner
2b71e7f10b Tell cvs to ignore *.dot and *.ps files in this directory
llvm-svn: 4463
2002-10-31 04:59:02 +00:00
Chris Lattner
3b827bcaaf New testcase for the possible array merging scenarios
llvm-svn: 4462
2002-10-31 04:48:32 +00:00
Chris Lattner
6543ec06a6 New testcases
llvm-svn: 4455
2002-10-31 01:25:13 +00:00
Chris Lattner
1e2887855d Update test to use long instead of uint getelementptr subscripts
llvm-svn: 4280
2002-10-25 22:29:07 +00:00
Chris Lattner
cc46ccb8eb Clean up testcases
llvm-svn: 4187
2002-10-15 21:39:49 +00:00
Chris Lattner
62b5f7040d Cleanup test
llvm-svn: 4185
2002-10-15 21:21:42 +00:00
Chris Lattner
75631d4e51 Fix typo
llvm-svn: 4184
2002-10-15 21:20:18 +00:00
Chris Lattner
6d75a44cd0 Cleanup testcase
llvm-svn: 4182
2002-10-15 21:14:24 +00:00
Chris Lattner
c62d322984 Fix testcase
llvm-svn: 4181
2002-10-15 21:10:53 +00:00
Chris Lattner
8081455368 Add check to see if opt aborts
llvm-svn: 4098
2002-10-09 20:55:32 +00:00
Chris Lattner
a92a64af7c New testcase
llvm-svn: 4097
2002-10-09 20:37:13 +00:00
Chris Lattner
c9ed9a594a Avoid having testcases spit out bytecode on error
llvm-svn: 4096
2002-10-09 20:36:54 +00:00
Chris Lattner
0ca434ecd5 Cleanup testcase a lot to test JUST funcresolve of globals
llvm-svn: 4095
2002-10-09 17:44:34 +00:00
Chris Lattner
929c9c90be New testcase for infinite loop that the raise pass is getting into
llvm-svn: 4087
2002-10-09 00:09:59 +00:00
Chris Lattner
2da5975c47 New testcase for bug that messes up the CWriter
llvm-svn: 4082
2002-10-08 21:57:49 +00:00
Chris Lattner
35c02b84ff Make test more interesting by adding dummy phi node
llvm-svn: 4072
2002-10-08 19:11:02 +00:00
Chris Lattner
1e39dc6f80 Add new testcase for arithmetic shr of -1
llvm-svn: 4069
2002-10-08 16:10:35 +00:00
Chris Lattner
717bd8eb0b This test was mistakenly matching 'predecessors' that the new asmwriter
spits out

llvm-svn: 4068
2002-10-08 16:09:47 +00:00
Chris Lattner
b9cacc43f7 New testcase
llvm-svn: 4065
2002-10-07 20:32:38 +00:00
Chris Lattner
0d8fa625ea Fix testcase to run correctly, add description
llvm-svn: 4064
2002-10-07 20:25:45 +00:00
Chris Lattner
21aba702ee Finally I'm able to distill a testcase for a problem I'm seeing!
llvm-svn: 4063
2002-10-07 20:05:27 +00:00
Chris Lattner
f04f2bc929 Checkin new "feature" test for cee
llvm-svn: 4054
2002-10-06 23:31:09 +00:00
Chris Lattner
82fa78a6ea NEw "feature" test that cee should eventually handle
llvm-svn: 4053
2002-10-06 23:05:38 +00:00
Chris Lattner
75e143a29e New testcase for bug never checked into CVS, but that I hit during debugging a
new feature

llvm-svn: 4039
2002-10-04 23:29:40 +00:00
Chris Lattner
c135b54584 New testcase
llvm-svn: 4030
2002-10-03 20:06:33 +00:00
Chris Lattner
febd4191fe New testcase for a problem discovered in the SPECINT gzip benchmark.
llvm-svn: 4015
2002-10-02 18:32:38 +00:00
Chris Lattner
61e617c5f2 Allow production of -stats output for benchmarks by specifying
ENABLE_STATS=1 on the make command line.

llvm-svn: 3989
2002-09-30 19:24:07 +00:00
Chris Lattner
e96e0a72c4 * Run preheaders pass tests
* Linearize list of directories so I don't have to keep dealing with
  wrapping problems.

llvm-svn: 3953
2002-09-26 19:53:02 +00:00
Chris Lattner
fb2874639f Checkin the simple features tests for the preheader insertion pass.
llvm-svn: 3952
2002-09-26 19:50:11 +00:00
Chris Lattner
1cbd9f2010 New feature test for something we have done for a long time
llvm-svn: 3914
2002-09-24 16:13:20 +00:00
Chris Lattner
5323e8ef58 New testcase that causes SimplifyCFG to assert out.
llvm-svn: 3912
2002-09-24 16:02:44 +00:00
Chris Lattner
cb44e9f152 Convert to using long indexes instead of uint
llvm-svn: 3898
2002-09-23 23:41:53 +00:00
Chris Lattner
bacc51a4e3 Add some more testcases for things to get optimized away
llvm-svn: 3896
2002-09-23 23:39:17 +00:00
Chris Lattner
8a7da2fe0d New testcase distilled from SPEC vortex benchmark
llvm-svn: 3894
2002-09-23 22:31:04 +00:00
Chris Lattner
4bf3ffe7f5 Run constantmerge tests too
llvm-svn: 3893
2002-09-23 22:26:23 +00:00
Chris Lattner
26a4bbb2f6 Fix testcase to accurately expose bug
llvm-svn: 3890
2002-09-23 20:04:54 +00:00
Chris Lattner
dea32da482 New testcase distilled from SPEC MCF benchmark
llvm-svn: 3889
2002-09-23 19:54:06 +00:00
Chris Lattner
26e44e3d21 Checkin old testcase
llvm-svn: 3855
2002-09-20 14:37:46 +00:00
Chris Lattner
556d2f6013 New regression test
llvm-svn: 3782
2002-09-17 21:02:24 +00:00
Chris Lattner
b77ecb3bc6 Convert to use long indexes instead of uint
llvm-svn: 3781
2002-09-17 20:47:46 +00:00
Chris Lattner
97e757b8b8 Run the cee pass tests
llvm-svn: 3765
2002-09-16 19:09:11 +00:00
Chris Lattner
c22413c699 Checking testcases for cee pass
llvm-svn: 3764
2002-09-16 19:08:36 +00:00
Chris Lattner
9b5ccd195a Check for cannonicalization of shl X, 1 -> add X, X
llvm-svn: 3670
2002-09-10 23:03:10 +00:00
Chris Lattner
7bbde74ab5 Clean up pointer using testcases
llvm-svn: 3662
2002-09-10 20:04:19 +00:00
Chris Lattner
5ee202eb3e Remove a testcase that is irrelevant now, fix a pointer adding testcase
llvm-svn: 3659
2002-09-10 19:55:40 +00:00
Chris Lattner
f23529513c New testcase for poitner problem
llvm-svn: 3657
2002-09-10 19:41:57 +00:00
Chris Lattner
8d0869c928 Run indvars tests
llvm-svn: 3643
2002-09-10 04:55:36 +00:00
Chris Lattner
24543fac4c Add new testcase for broken indvars case
llvm-svn: 3642
2002-09-10 04:54:44 +00:00
Chris Lattner
2e9fc50086 Testcase no longer applicable since shifts of pointers are no longer allowed
llvm-svn: 3629
2002-09-09 03:43:09 +00:00
Chris Lattner
349050906a Eliminate multiply of pointer type
llvm-svn: 3628
2002-09-09 03:42:14 +00:00
Chris Lattner
71447ecb91 New testcase for a bug identified by Vikram
llvm-svn: 3625
2002-09-08 21:37:49 +00:00
Chris Lattner
d562a01cf2 New testcase that tests for array pointer analysis type stuff
llvm-svn: 3615
2002-09-08 18:08:36 +00:00
Chris Lattner
0333d57a31 Fix bug in testcase now that load-vn is not built into gcse
llvm-svn: 3614
2002-09-07 22:50:41 +00:00
Chris Lattner
67dd76548b Fix broken test
llvm-svn: 3613
2002-09-07 22:48:30 +00:00
Chris Lattner
4470e33494 Make sure that setcc is implemented for bools.
llvm-svn: 3575
2002-09-03 20:09:23 +00:00
Chris Lattner
fbd9dc8c44 New testcase
llvm-svn: 3554
2002-08-30 23:22:15 +00:00
Chris Lattner
8c0c2f8776 Make sure to run these tests with load value #'ing
llvm-svn: 3530
2002-08-30 20:18:09 +00:00
Chris Lattner
21c1619f4a Test that demorgan's law is instcombined successfully
llvm-svn: 3494
2002-08-23 18:31:18 +00:00
Chris Lattner
b9184b5e1f Add new testcases for instcombine
llvm-svn: 3477
2002-08-22 21:26:15 +00:00
Chris Lattner
203e6006dc Add a testcase that checks to make sure LICM uses basicaa correctly.
Add another gcse testcase.

llvm-svn: 3471
2002-08-22 20:22:55 +00:00
Chris Lattner
70bf6f1c6c Initial testcases for basicaa alias analysis
llvm-svn: 3462
2002-08-22 17:31:36 +00:00
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
795d6f0ccb Add testcase for the not (setcc A, B) case
llvm-svn: 3418
2002-08-21 17:11:18 +00:00
Chris Lattner
ad9f0fd080 Fix buggy testcase
llvm-svn: 3403
2002-08-20 17:07:02 +00:00
Chris Lattner
125fa35762 New testcase for instcombine
llvm-svn: 3396
2002-08-20 15:27:45 +00:00
Chris Lattner
5a2d125f94 New testcase
llvm-svn: 3385
2002-08-19 19:08:52 +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
6a844fa8b0 Add another testcase
llvm-svn: 3355
2002-08-15 19:38:03 +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
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
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
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
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
3b2db5cdbe Verify is implicit for opt
llvm-svn: 3204
2002-08-01 22:26:32 +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
34164fb6c2 Test that logical operators are correctly constant propogated!
llvm-svn: 3152
2002-07-30 16:18:38 +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
8a4a8187d9 New testcase
llvm-svn: 3118
2002-07-29 19:02:49 +00:00
Chris Lattner
d35967a65c New testcase for bug
llvm-svn: 3025
2002-07-23 18:27:20 +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
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
617103c154 New testcase for problem effecting mst
llvm-svn: 2848
2002-07-09 19:41:21 +00:00
Chris Lattner
5296c04669 Build all subdirectories
llvm-svn: 2780
2002-06-25 16:16:20 +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
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
8fc05f88c2 New testcase
llvm-svn: 2737
2002-05-23 18:51:27 +00:00
Chris Lattner
237a98afb9 New testcase
llvm-svn: 2732
2002-05-23 16:51:25 +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
72b73e12f4 New testcase for bug
llvm-svn: 2670
2002-05-20 20:48:24 +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
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
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
55a557416c New testcase
llvm-svn: 2438
2002-05-02 19:54:58 +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
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
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
068a98c2a5 New testcase
llvm-svn: 2261
2002-04-16 05:44:56 +00:00
Chris Lattner
cbb6139148 New testcase
llvm-svn: 2218
2002-04-09 20:43:18 +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
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
9c6d73ebcc New testcase
llvm-svn: 1920
2002-03-21 03:01:14 +00:00
Chris Lattner
f9a1258156 New testcase for bugfx
llvm-svn: 1868
2002-03-14 16:35:50 +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
c9ff9a1639 New testcase for crashing bug
llvm-svn: 1843
2002-03-11 17:25:50 +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
4b69721730 New testcase for bug in -raise pass
llvm-svn: 1733
2002-02-11 23:44:06 +00:00