Commit Graph

167 Commits

Author SHA1 Message Date
Chris Lattner fa7a203b57 ADCE tests
llvm-svn: 2544
2002-05-07 20:51:59 +00:00
Chris Lattner c8ab06d452 Oops, forgot to check in makefile
llvm-svn: 2542
2002-05-07 20:39:18 +00:00
Chris Lattner bafd51a722 Add check that phi nodes get constant propogated away
llvm-svn: 2541
2002-05-07 20:32:19 +00:00
Chris Lattner 26910ded0e constprop doesn't delete dead instructions, it just makes them dead.
llvm-svn: 2540
2002-05-07 20:25:44 +00:00
Chris Lattner 5cd7dbb304 Add testcase for not expressions
llvm-svn: 2539
2002-05-07 20:22:12 +00:00
Chris Lattner a9c099d1d2 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 5ff36750e7 New testcase for PHI folding
llvm-svn: 2495
2002-05-06 17:43:38 +00:00
Chris Lattner 679da03275 New testcase to make sure not instructions get combined
llvm-svn: 2492
2002-05-06 17:00:47 +00:00
Chris Lattner e0c3fbb559 More tests
llvm-svn: 2489
2002-05-06 16:44:53 +00:00
Chris Lattner 973db87308 Add testcase for -(-A)
llvm-svn: 2488
2002-05-06 16:19:16 +00:00
Chris Lattner bcb8138e08 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 6022ad064c More testcases I don't want to forget about
llvm-svn: 2480
2002-05-06 05:51:26 +00:00
Chris Lattner 74e95476d4 New testcases so I don't forget about these algebraic simplifications
llvm-svn: 2479
2002-05-06 05:43:36 +00:00
Chris Lattner 8170e8f397 New testcase so I don't forget about this.
llvm-svn: 2478
2002-05-06 05:35:20 +00:00
Chris Lattner 5fc509b008 Testcase for missed merge opportunity
llvm-svn: 2477
2002-05-06 03:11:32 +00:00
Chris Lattner fed6d77c43 Build CFGsimplify directory
llvm-svn: 2475
2002-05-06 03:03:55 +00:00
Chris Lattner dac95a012b 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 37c4d69860 New testcase for bugs in the constant propogator
llvm-svn: 2462
2002-05-03 20:25:40 +00:00
Chris Lattner 7ad7bf0071 Add tests for floating point remainder elimination
llvm-svn: 2461
2002-05-03 20:16:29 +00:00
Chris Lattner f91d56355f New testcase to see if constant propogation of remainder is implemented
llvm-svn: 2460
2002-05-03 20:14:21 +00:00
Chris Lattner 177dac4d92 This testcase is a sanity check
llvm-svn: 2459
2002-05-03 20:12:31 +00:00
Chris Lattner 40acfe3554 Add new testcase for general constant prop.
llvm-svn: 2457
2002-05-03 19:58:17 +00:00
Chris Lattner 8a1313ba26 Add const prop pass to eliminate dead branches
llvm-svn: 2456
2002-05-03 19:57:16 +00:00
Chris Lattner eb164bc1fb We currently don't allow unresolved opaque types!
llvm-svn: 2453
2002-05-03 18:32:40 +00:00
Chris Lattner 4f9a452284 Add -d switch to test AsmWriter as well
llvm-svn: 2452
2002-05-03 18:31:30 +00:00
Chris Lattner 830b5290d0 More testcases for SCCP
llvm-svn: 2444
2002-05-02 20:41:39 +00:00
Chris Lattner 39e976d83a Additional testcase
llvm-svn: 2442
2002-05-02 20:19:11 +00:00
Chris Lattner af5cdf3c1a Run the SCCP test
llvm-svn: 2441
2002-05-02 20:18:53 +00:00
Chris Lattner f124e8ff35 First testcase for SCCP pass
llvm-svn: 2440
2002-05-02 20:18:37 +00:00
Chris Lattner 3f6b8335d5 Simplify the testcase a bit
llvm-svn: 2439
2002-05-02 19:58:05 +00:00
Chris Lattner ed1228aedf New testcase
llvm-svn: 2438
2002-05-02 19:54:58 +00:00
Chris Lattner 624fe0b0ba New testcase for assembler failure
llvm-svn: 2435
2002-05-02 19:12:21 +00:00
Chris Lattner 90f608c002 Intitial checkin of cast tests
llvm-svn: 2427
2002-05-02 17:01:39 +00:00
Chris Lattner dff664314a New testcase for bug found by Vikram
llvm-svn: 2426
2002-05-02 16:16:39 +00:00
Chris Lattner 254e086e65 Check another case
llvm-svn: 2424
2002-05-02 15:24:40 +00:00
Chris Lattner 65d4dcb6ca New bug testcase
llvm-svn: 2422
2002-05-01 15:33:12 +00:00
Chris Lattner 12fc22300e New testcase
llvm-svn: 2419
2002-04-30 19:50:47 +00:00
Chris Lattner 5c9040e0e0 New test cases for mul folding
llvm-svn: 2416
2002-04-29 22:24:24 +00:00
Chris Lattner 68383d80de New test for broken asm parser
llvm-svn: 2398
2002-04-29 18:12:28 +00:00
Chris Lattner df8fcca994 New testcase for GCSE
llvm-svn: 2342
2002-04-28 01:46:36 +00:00
Chris Lattner 17602ba1c7 Test GCSE
llvm-svn: 2341
2002-04-28 01:46:30 +00:00
Chris Lattner d8cec98cc1 New testcase
llvm-svn: 2304
2002-04-18 20:30:58 +00:00
Chris Lattner 7bfa8b6223 New testcase.
llvm-svn: 2291
2002-04-18 17:35:39 +00:00
Chris Lattner ccfebfbb36 Check in the first test: make sure getelementptr gets folded
llvm-svn: 2288
2002-04-18 15:39:50 +00:00
Chris Lattner 5afa50eb5b Test the instruction combiner
llvm-svn: 2287
2002-04-18 15:39:15 +00:00
Chris Lattner 26efe0b95c New testcase
llvm-svn: 2262
2002-04-16 05:58:24 +00:00
Chris Lattner c3f661b17f New testcase
llvm-svn: 2261
2002-04-16 05:44:56 +00:00
Chris Lattner 91eda67aaf Checkin first unit testcases for the backend
llvm-svn: 2249
2002-04-14 06:23:00 +00:00
Chris Lattner 8d7a6d246e New testcase for the verifier
llvm-svn: 2242
2002-04-13 22:46:24 +00:00
Chris Lattner 0fda698670 New testcase for structure valued parameters.
llvm-svn: 2220
2002-04-10 17:43:40 +00:00
Chris Lattner 9387364f8d New testcase
llvm-svn: 2218
2002-04-09 20:43:18 +00:00
Chris Lattner fec8df44ba Checkin old testcase that is newly fixed.
llvm-svn: 2161
2002-04-08 19:32:51 +00:00
Chris Lattner 3e39da81f2 New testcase
llvm-svn: 2160
2002-04-08 18:48:47 +00:00
Chris Lattner c446f9c414 Checkin old testcase for switch statement. For now we just decimate them
to conditional branches.

llvm-svn: 2159
2002-04-08 18:48:27 +00:00
Chris Lattner 265704cf6b Old testcase that missed getting checked in
llvm-svn: 2158
2002-04-08 15:19:02 +00:00
Chris Lattner 9a432f739a New testcase
llvm-svn: 2138
2002-04-07 08:14:44 +00:00
Chris Lattner 3448216f32 Testcase for bad constant handling
llvm-svn: 2133
2002-04-07 07:58:25 +00:00
Chris Lattner 7babb7cc66 Fix bug in testcase: no implementatino section make it not legal input, so
once the parser is fixed to handle the bug, it broke on the bad input.  :)

llvm-svn: 2123
2002-04-05 23:00:02 +00:00
Chris Lattner c10f379f5a New testcases
llvm-svn: 2122
2002-04-05 22:25:51 +00:00
Chris Lattner 4bc4297b5d Testcase that breaks recursive type processing
llvm-svn: 2117
2002-04-05 19:39:55 +00:00
Chris Lattner 674ff853b9 Add subdirs to makefile
llvm-svn: 2017
2002-03-28 18:21:31 +00:00
Chris Lattner 0a0e090e4e Initial checkin of first regression test for mem2reg pass
llvm-svn: 2016
2002-03-28 18:21:05 +00:00
Vikram S. Adve 66f939fc33 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 0a830e61da initialize sum variable
llvm-svn: 1982
2002-03-24 07:03:10 +00:00
Vikram S. Adve ec4a8205a7 Regression tests for DecomposeMultiDimRefs pass.
llvm-svn: 1958
2002-03-24 03:17:16 +00:00
Chris Lattner 14a9a20771 New testcase
llvm-svn: 1942
2002-03-21 23:00:48 +00:00
Chris Lattner ef7023bd94 New testcase
llvm-svn: 1940
2002-03-21 22:39:43 +00:00
Chris Lattner 8a36ae8ab9 Rerun test if opt gets changed
llvm-svn: 1937
2002-03-21 21:29:47 +00:00
Chris Lattner 70ff2aedef Run all testcases
llvm-svn: 1936
2002-03-21 21:24:19 +00:00
Chris Lattner c5d2df184b Build LevelRaise subdirectory
llvm-svn: 1935
2002-03-21 21:24:13 +00:00
Chris Lattner 70b130f27b Testcase for a missed level raise opportunity
llvm-svn: 1932
2002-03-21 21:20:04 +00:00
Chris Lattner 261df367e0 Fix bug in testcase
llvm-svn: 1928
2002-03-21 06:19:43 +00:00
Chris Lattner 8054a1cd14 New testcase for YALRB (yet another level raise bug)
llvm-svn: 1925
2002-03-21 05:39:20 +00:00
Chris Lattner 14bfd557f3 Checkin testcase that was just sitting in my tree. Looks like backreferences
have some problem in the parser, oh joy.

llvm-svn: 1923
2002-03-21 05:35:11 +00:00
Chris Lattner 0f8a4bb762 New testcase
llvm-svn: 1920
2002-03-21 03:01:14 +00:00
Chris Lattner 96f633af95 Testcase for bug
llvm-svn: 1875
2002-03-14 22:30:39 +00:00
Chris Lattner 74f5ce7aab New testcase
llvm-svn: 1874
2002-03-14 20:16:23 +00:00
Chris Lattner 724d872ca7 New test case for long standing bug that was fixed
llvm-svn: 1873
2002-03-14 19:40:44 +00:00
Chris Lattner 96f4382c19 Forgot to check this in a long time ago
llvm-svn: 1872
2002-03-14 19:31:32 +00:00
Chris Lattner dace30004c New testcase
llvm-svn: 1871
2002-03-14 19:27:43 +00:00
Chris Lattner edef6552de New testcase for bugfx
llvm-svn: 1868
2002-03-14 16:35:50 +00:00
Chris Lattner 015bf1a6ba New testcase
llvm-svn: 1867
2002-03-12 18:56:45 +00:00
Chris Lattner 8ec585d330 New testcase
llvm-svn: 1866
2002-03-12 17:45:36 +00:00
Chris Lattner e16ff36af8 New testcase
llvm-svn: 1863
2002-03-11 23:28:11 +00:00
Chris Lattner fbc26f3be9 New testcase
llvm-svn: 1860
2002-03-11 22:14:26 +00:00
Chris Lattner 7d1c5b31b6 New testcase for failure
llvm-svn: 1857
2002-03-11 22:09:43 +00:00
Chris Lattner 6c51cb7a1b Testcase that causes an assertion failure in lib/Analysis/Expressions.cpp
llvm-svn: 1855
2002-03-11 20:28:16 +00:00
Chris Lattner 23ca4f2eb5 New testcase for broken GCCism
llvm-svn: 1854
2002-03-11 19:03:41 +00:00
Chris Lattner 159033875d New testcase for crashing bug
llvm-svn: 1843
2002-03-11 17:25:50 +00:00
Chris Lattner ff74b62f66 New testcase
llvm-svn: 1838
2002-03-08 19:10:09 +00:00
Chris Lattner fcf6ccdd1c New testcase
llvm-svn: 1835
2002-03-08 18:41:11 +00:00
Chris Lattner 28aa0c17a3 Testcase for new bug
llvm-svn: 1797
2002-02-25 00:34:18 +00:00
Chris Lattner b4ba39dc2c New testcase
llvm-svn: 1775
2002-02-18 19:46:09 +00:00
Chris Lattner 278dfafab2 New testcase
llvm-svn: 1768
2002-02-17 06:42:02 +00:00
Chris Lattner 18786d45b2 Checking regression test for bugfix
llvm-svn: 1766
2002-02-14 22:20:54 +00:00
Chris Lattner 23682869c0 New testcase for bug in levelraise
llvm-svn: 1759
2002-02-14 18:52:18 +00:00
Chris Lattner 49242560a4 New testcase for fixed GCC bug
llvm-svn: 1755
2002-02-14 05:41:15 +00:00
Chris Lattner feeeffa170 NEw testcase for bugfix
llvm-svn: 1753
2002-02-14 00:18:44 +00:00
Chris Lattner 50ce08e6af Checking testcase for reload problem
llvm-svn: 1752
2002-02-13 20:35:17 +00:00
Chris Lattner 8996df4a7e New testcase for fixed bug
llvm-svn: 1751
2002-02-13 20:25:16 +00:00