Commit Graph

269 Commits

Author SHA1 Message Date
Chris Lattner
b81258c278 Add new testcases for instcombine
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3477 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 21:26:15 +00:00
Chris Lattner
8673e44639 Add a testcase that checks to make sure LICM uses basicaa correctly.
Add another gcse testcase.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3471 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 20:22:55 +00:00
Chris Lattner
ac39b4ecab Initial testcases for basicaa alias analysis
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3462 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 17:31:36 +00:00
Chris Lattner
5a3e29c661 Convert testcases to not use indexed loads/stores
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3460 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 16:39:14 +00:00
Chris Lattner
472e8086cc Convert testcases to not use indexed loads/stores
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3459 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 16:39:12 +00:00
Chris Lattner
ac2cbb847d Covnert testcases to not use indexed loads/stores
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3458 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 16:39:05 +00:00
Chris Lattner
0fd5bfd79d Covnert testcases to not use indexed loads/stores
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3457 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 16:39:04 +00:00
Chris Lattner
d92ac5ae01 Add testcase for the not (setcc A, B) case
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3418 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-21 17:11:18 +00:00
Chris Lattner
41ca3f8ee4 Fix buggy testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3403 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-20 17:07:02 +00:00
Chris Lattner
dce9427985 New testcase for instcombine
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3396 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-20 15:27:45 +00:00
Chris Lattner
d03de90bb1 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3385 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-19 19:08:52 +00:00
Chris Lattner
09540e2cc5 New testcase.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3380 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-18 01:27:10 +00:00
Chris Lattner
09674a297b Add a simple testcase that just uses a CPR instead of a CPR & ConstExpr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3373 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-17 23:20:37 +00:00
Chris Lattner
4a2211e980 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3372 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-17 22:57:52 +00:00
Chris Lattner
22de210b60 Include a basic simple test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3369 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-17 22:36:45 +00:00
Chris Lattner
edf6a84a75 Add new testcase for gep instruction -> get constexpr promotion
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3364 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-16 21:18:21 +00:00
Chris Lattner
9edfe8aa18 Add another testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3355 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-15 19:38:03 +00:00
Chris Lattner
8decbcbbfe Add a bunch of testcases for cast-of-casts that should be removed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3345 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-15 16:13:29 +00:00
Chris Lattner
8360d0922a Fix testcase to actually test what we think we are
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3338 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-14 23:01:19 +00:00
Chris Lattner
f39c24cbeb Fix tests that use the now dead not instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3331 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-14 19:28:22 +00:00
Chris Lattner
985792d870 Fix testcases that used to now dead 'not' instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3330 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-14 19:28:09 +00:00
Chris Lattner
d0cad7a5f5 Change not's to xors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3329 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-14 19:26:34 +00:00
Chris Lattner
500888b7e8 Remove illegal test now that not instruction does not exist.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3312 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-14 17:44:00 +00:00
Chris Lattner
3a6c063699 Make sure there is SOME output always so the test is not rerun when unneccesary.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3311 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-14 17:38:15 +00:00
Chris Lattner
23fbe30bc3 The not instruction is just a specialized form of XOR
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3310 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-14 17:37:04 +00:00
Chris Lattner
ad1023b3cc Add comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3287 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-12 19:18:49 +00:00
Chris Lattner
42dbd3044c xor x, ALLONES should -> not x
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3285 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-09 23:34:39 +00:00
Chris Lattner
22fae29835 setcc of booleans should always be eliminated
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3284 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-09 23:34:18 +00:00
Chris Lattner
f8e2cf9221 Add more strength reduction testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3283 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-09 23:33:58 +00:00
Chris Lattner
7d20fe3727 Testcase for stuff instcombine should do eventually
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3240 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-03 20:30:26 +00:00
Chris Lattner
d3e7929626 Add some more features that we could instcombine away
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3239 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-03 20:24:58 +00:00
Chris Lattner
e8535486dc *** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3238 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-03 20:24:45 +00:00
Vikram S. Adve
a1396a163d Run both *.ll and *.c tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3232 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-03 13:17:03 +00:00
Vikram S. Adve
6ae7d3c9ec Added expected decomposed sequence in comments, plus a couple of new cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3231 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-03 13:16:47 +00:00
Chris Lattner
7b572eff48 Fix yet another bug in the testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3224 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-02 19:59:20 +00:00
Chris Lattner
77c1462728 Fix bug in testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3223 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-02 19:54:05 +00:00
Chris Lattner
4a6e4b30b4 These tests should not run -dce pass to cleanup instcombine.
If instcombine is making dead instructions, ALL that should be used is -die


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3221 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-02 19:27:58 +00:00
Chris Lattner
c7f9637a9d Add another testcase that isn't failing because of another bug in instcombine
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3220 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-02 18:48:09 +00:00
Chris Lattner
d656922f9d Change test to really test the cases we can hit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3219 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-02 18:47:11 +00:00
Chris Lattner
b01a8d0165 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3218 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-02 18:46:53 +00:00
Chris Lattner
5315599b9c Verify is implicit for opt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3204 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-01 22:26:32 +00:00
Chris Lattner
15de8f6f4a Trim down testcase a bit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3190 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-31 21:10:11 +00:00
Chris Lattner
69cea5424b New testcase for level-raise crash inspired by SPEC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3189 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-31 21:06:29 +00:00
Chris Lattner
72de9ae46b Test that logical operators are correctly constant propogated!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3152 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-30 16:18:38 +00:00
Chris Lattner
3f6496ab11 Oops, fix testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3139 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-30 00:49:42 +00:00
Chris Lattner
9559ac2876 NEw testcase to handle "yet another" return type mismatch possibility
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3138 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-30 00:34:52 +00:00
Chris Lattner
5922e4734d Trim down testcase, a lot.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3136 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-30 00:10:05 +00:00
Chris Lattner
e4b733f31c Reduce testcase more
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3135 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-29 23:41:21 +00:00
Chris Lattner
0b0554596e Reduce the size of the testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3132 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-29 22:46:55 +00:00
Chris Lattner
6eea01ed8e Hrm, testcase was checking the wrong pass. :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3126 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-29 21:12:20 +00:00
Chris Lattner
6ea2a07271 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3118 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-29 19:02:49 +00:00
Chris Lattner
dc6c7619da New testcase for bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3025 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-23 18:27:20 +00:00
Chris Lattner
1eeefa268d New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2972 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-19 03:51:49 +00:00
Chris Lattner
ebfd1b903b Build globaldce tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2962 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-18 06:40:31 +00:00
Chris Lattner
4f5e49c20d New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2956 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-18 04:25:11 +00:00
Chris Lattner
e28751f388 New testcases for bug in globaldce
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2955 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-18 04:01:02 +00:00
Chris Lattner
e76c4f6edf New testcase, unanalyzed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2938 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-17 20:04:07 +00:00
Chris Lattner
1ab8425c1c New testcase finally identified!!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2935 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-17 02:36:02 +00:00
Chris Lattner
4069c8400b New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2931 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-16 21:33:27 +00:00
Chris Lattner
c2c5a6428d Add testcase for raise opportunity missed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2930 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-16 19:10:00 +00:00
Chris Lattner
0af0dff8a0 Bug fix to RUN line
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2923 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-16 18:02:43 +00:00
Chris Lattner
b39df57bf3 New testcase distilled from olden-tsp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2919 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-16 17:32:17 +00:00
Chris Lattner
14329b1b51 New testcase for problem effecting mst
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2848 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-09 19:41:21 +00:00
Chris Lattner
3eaf59b8bc Build all subdirectories
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2780 91177308-0d34-0410-b5e6-96231b3b80d8
2002-06-25 16:16:20 +00:00
Chris Lattner
f49764070d Basic test of the inlinr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2767 91177308-0d34-0410-b5e6-96231b3b80d8
2002-06-24 17:46:05 +00:00
Chris Lattner
578cf90040 Testcase for unimplemented feature
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2766 91177308-0d34-0410-b5e6-96231b3b80d8
2002-06-24 17:45:37 +00:00
Chris Lattner
5454f82af2 New testcase that is a distilled form of the other one
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2752 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-28 21:29:28 +00:00
Chris Lattner
1303b5d3cb New testcase that crashes ADCE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2751 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-28 21:22:46 +00:00
Chris Lattner
77ff8fa9f9 Testcases to show what -funcresolve does.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2744 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-24 21:27:41 +00:00
Chris Lattner
76ec6e1dcc Run FuncResolve tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2743 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-24 21:21:36 +00:00
Chris Lattner
0fa59061d0 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2737 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-23 18:51:27 +00:00
Chris Lattner
37dc78d0d3 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2732 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-23 16:51:25 +00:00
Chris Lattner
faa967ea61 Run profile paths tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2723 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-22 22:02:24 +00:00
Chris Lattner
567c1e890a Test cases for profile paths pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2722 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-22 22:02:14 +00:00
Chris Lattner
277f651ce8 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2718 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-22 20:46:30 +00:00
Chris Lattner
91c93376ae Add more testcases for ADCE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2715 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-22 19:22:45 +00:00
Chris Lattner
bec7dcad14 Must run cfgsimplify to eliminate dead blocks
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2706 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-22 15:49:14 +00:00
Chris Lattner
53eaf1e431 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2705 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-21 22:23:38 +00:00
Chris Lattner
069667c8bb New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2695 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-21 20:03:42 +00:00
Chris Lattner
4a4e39d647 Update run line
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2693 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-21 19:33:17 +00:00
Chris Lattner
2f3ee642a8 This testcase was very broken! The block could not be merged because then
there would be a broken PHI node


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2692 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-21 19:32:58 +00:00
Chris Lattner
58e06e7393 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2691 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-21 19:22:10 +00:00
Chris Lattner
7add8bdc08 New testcase for bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2670 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-20 20:48:24 +00:00
Chris Lattner
c95057b1b7 New testcases for sub/neg reassociation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2635 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-16 00:56:59 +00:00
Chris Lattner
6759ca0994 Fix testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2634 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-16 00:56:36 +00:00
Chris Lattner
2241b7bfbb New testcases to ensure sub's are maximally reassociable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2633 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-15 21:59:31 +00:00
Chris Lattner
b064baf851 Testcase to ensure trees structures are correctly linearized
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2632 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-15 21:56:51 +00:00
Chris Lattner
11d13fbfba Test to ensure sub -> neg promotion is working and why.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2631 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-15 20:30:48 +00:00
Chris Lattner
193d916983 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2630 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-15 17:22:01 +00:00
Chris Lattner
f54d0dea8f New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2628 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-14 19:56:14 +00:00
Chris Lattner
cdece545dd New testcase for bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2626 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-14 16:40:43 +00:00
Chris Lattner
0c131b6adf New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2622 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-14 15:22:50 +00:00
Chris Lattner
fe8f5b5ad7 Add testcase for when there is no loop header
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2611 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-10 22:43:26 +00:00
Chris Lattner
8672a4eb8c A basic test that LICM is working
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2610 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-10 22:27:49 +00:00
Chris Lattner
ee583d621b Run LICM tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2609 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-10 22:21:38 +00:00
Chris Lattner
511cbbeba2 run LICM tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2608 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-10 22:21:25 +00:00
Chris Lattner
c79260af6e New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2596 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-10 15:14:54 +00:00
Chris Lattner
38fc13149c Test the Pi node inserter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2591 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-10 05:38:39 +00:00
Chris Lattner
8832c1e853 Initial checkin of testcases for Pi node inserter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2590 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-10 05:38:18 +00:00
Chris Lattner
0097e41993 New testcase for wierd combine opportunity found in bzip2 benchmark
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2580 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-09 19:52:36 +00:00
Chris Lattner
8c7333e17c Fix broken testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2565 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-09 01:28:30 +00:00
Chris Lattner
d086fb20eb Add two new patterns that instcombine should or does handle
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2563 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-08 23:15:01 +00:00
Chris Lattner
44f87aca32 New testcase for LICM reassociation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2560 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-08 22:20:55 +00:00
Chris Lattner
557a143b82 Add some simple test of reassociation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2555 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-08 21:34:22 +00:00
Chris Lattner
8446cf405b run reassociate tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2554 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-08 21:34:11 +00:00
Chris Lattner
9d5adb0e11 New testcase for adce
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2546 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-07 21:05:36 +00:00
Chris Lattner
fc29f3b20e Build the ADCE tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2545 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-07 20:52:15 +00:00
Chris Lattner
d2abd3b81f ADCE tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2544 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-07 20:51:59 +00:00
Chris Lattner
0651a9d207 Oops, forgot to check in makefile
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2542 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-07 20:39:18 +00:00
Chris Lattner
1610df20bf Add check that phi nodes get constant propogated away
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2541 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-07 20:32:19 +00:00
Chris Lattner
0a1581bfa8 constprop doesn't delete dead instructions, it just makes them dead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2540 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-07 20:25:44 +00:00
Chris Lattner
e473a34caf Add testcase for not expressions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2539 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-07 20:22:12 +00:00
Chris Lattner
fee97e83ce Make the testcase more interesting so that DCE does not eliminate it.
Use DIE instead of DCE anyway


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2500 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-06 17:59:23 +00:00
Chris Lattner
32e1740c7c New testcase for PHI folding
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2495 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-06 17:43:38 +00:00
Chris Lattner
9bfed886a8 New testcase to make sure not instructions get combined
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2492 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-06 17:00:47 +00:00
Chris Lattner
fa78358a05 More tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2489 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-06 16:44:53 +00:00
Chris Lattner
c1bfd13c0a Add testcase for -(-A)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2488 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-06 16:19:16 +00:00
Chris Lattner
79a31b1782 Fix testcase, the 'shift out all bits' doesn't apply to signed types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2482 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-06 16:11:31 +00:00
Chris Lattner
829b79dd8c More testcases I don't want to forget about
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2480 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-06 05:51:26 +00:00
Chris Lattner
33a90b18e0 New testcases so I don't forget about these algebraic simplifications
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2479 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-06 05:43:36 +00:00
Chris Lattner
97555b59b3 New testcase so I don't forget about this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2478 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-06 05:35:20 +00:00
Chris Lattner
c3a53f9aa8 Testcase for missed merge opportunity
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2477 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-06 03:11:32 +00:00
Chris Lattner
267730367f Build CFGsimplify directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2475 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-06 03:03:55 +00:00
Chris Lattner
2077ffab85 Initial testcases for CFG simplify (which is part of DCE for now)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2466 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-06 02:37:38 +00:00
Chris Lattner
8a2e64ce87 New testcase for bugs in the constant propogator
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2462 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-03 20:25:40 +00:00
Chris Lattner
6a7cd2206b Add tests for floating point remainder elimination
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2461 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-03 20:16:29 +00:00
Chris Lattner
8e122e1148 New testcase to see if constant propogation of remainder is implemented
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2460 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-03 20:14:21 +00:00
Chris Lattner
4f538507b6 This testcase is a sanity check
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2459 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-03 20:12:31 +00:00
Chris Lattner
b6df79a6b2 Add new testcase for general constant prop.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2457 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-03 19:58:17 +00:00
Chris Lattner
46d51f7ba8 Add const prop pass to eliminate dead branches
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2456 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-03 19:57:16 +00:00
Chris Lattner
a1ab959de3 More testcases for SCCP
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2444 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-02 20:41:39 +00:00
Chris Lattner
fecfa61009 Additional testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2442 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-02 20:19:11 +00:00
Chris Lattner
66333632a8 Run the SCCP test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2441 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-02 20:18:53 +00:00
Chris Lattner
f36c34f625 First testcase for SCCP pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2440 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-02 20:18:37 +00:00
Chris Lattner
e23a7e99b3 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2438 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-02 19:54:58 +00:00
Chris Lattner
fa49f810c2 Intitial checkin of cast tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2427 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-02 17:01:39 +00:00
Chris Lattner
a38ef97d0b New testcase for bug found by Vikram
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2426 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-02 16:16:39 +00:00
Chris Lattner
01853e8773 Check another case
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2424 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-02 15:24:40 +00:00
Chris Lattner
5061263285 New bug testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2422 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-01 15:33:12 +00:00
Chris Lattner
fdc7c29679 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2419 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-30 19:50:47 +00:00
Chris Lattner
efc01f62c6 New test cases for mul folding
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2416 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-29 22:24:24 +00:00
Chris Lattner
89bf005646 New testcase for GCSE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2342 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-28 01:46:36 +00:00
Chris Lattner
923caadfab Test GCSE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2341 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-28 01:46:30 +00:00
Chris Lattner
fe053c77c1 New testcase.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2291 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-18 17:35:39 +00:00
Chris Lattner
dce153e112 Check in the first test: make sure getelementptr gets folded
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2288 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-18 15:39:50 +00:00
Chris Lattner
88f2501eda Test the instruction combiner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2287 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-18 15:39:15 +00:00
Chris Lattner
61b064759d New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2261 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-16 05:44:56 +00:00
Chris Lattner
b55a5b47e2 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2218 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-09 20:43:18 +00:00
Chris Lattner
846f1c3c13 Add subdirs to makefile
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2017 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-28 18:21:31 +00:00
Chris Lattner
c4d5fec26f Initial checkin of first regression test for mem2reg pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2016 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-28 18:21:05 +00:00