Commit Graph

1385 Commits

Author SHA1 Message Date
Chris Lattner 720348331c Add a new testcase which breaks the sinker because the loop canonnicalization
pass does not do a canonnicalization that the sinker wants.

llvm-svn: 10346
2003-12-09 22:05:08 +00:00
Chris Lattner b7924b166a Fix buggy test
llvm-svn: 10345
2003-12-09 21:45:23 +00:00
Chris Lattner 88ca84b809 New testcase for sinking operations from loops with multiple exits
llvm-svn: 10344
2003-12-09 21:40:36 +00:00
Chris Lattner eea64fd916 Make the test a bit harder so that we test to ensure that _both_ instructions
are sunk

llvm-svn: 10343
2003-12-09 20:50:20 +00:00
Chris Lattner d719cd1e5b New testcases for LICM improvement: code sinking.
llvm-svn: 10339
2003-12-09 16:56:51 +00:00
Chris Lattner 9056881d76 Improve portability with Mac OS/X
llvm-svn: 10338
2003-12-09 16:49:12 +00:00
Chris Lattner 9c9240447b Improve testcase portability on OS/X
llvm-svn: 10337
2003-12-09 16:48:24 +00:00
Chris Lattner db677331f2 New testcase that is not actually handled yet, but should be in the future.
This is here to remind me to get back to this after a while.

llvm-svn: 10336
2003-12-09 16:26:42 +00:00
Chris Lattner 18b6f0f46d Whoops, forgot to check this in. :)
llvm-svn: 10334
2003-12-08 23:41:09 +00:00
Chris Lattner 3c31f8c5c3 New testcase for automatic insertion of accumulator variables to eliminate
tail recursion

llvm-svn: 10331
2003-12-08 23:16:25 +00:00
Chris Lattner b8d989e055 New testcase for PR165
llvm-svn: 10314
2003-12-08 06:18:37 +00:00
Chris Lattner 82ac26c8ba New testcase, this should be -tailcallelim'inated
llvm-svn: 10311
2003-12-08 05:32:48 +00:00
Chris Lattner ffb2d08c4a New testcase that the raiseallocations pass should be able to handle.
llvm-svn: 10304
2003-12-07 01:25:36 +00:00
Chris Lattner 462444e1ea Move rule to top-level makefile
llvm-svn: 10255
2003-11-29 09:49:14 +00:00
Chris Lattner 212e596ede Testcase for duplicated cleanup work (PR11). Note that this testcase is not actually
tested automatically, so it is practically useless.  However, it seemed silly to throw
away my testcase, so here it is.

llvm-svn: 10253
2003-11-29 09:10:50 +00:00
Chris Lattner 6d94d10377 new testcase for problem causing 2003-10-12-GlobalVarInitializers failures
llvm-svn: 10251
2003-11-29 05:19:15 +00:00
Chris Lattner 68ac670086 Testcase for PR160
llvm-svn: 10247
2003-11-28 01:32:03 +00:00
Chris Lattner 9201586a98 New testcase for PR158
llvm-svn: 10246
2003-11-27 21:25:07 +00:00
Chris Lattner ff4aa6dbe2 testcase for PR159
llvm-svn: 10244
2003-11-27 20:47:16 +00:00
John Criswell 96be650984 Renamed intermediate values that used the same type and name as previous
values.  All of these files should assemble now.

llvm-svn: 10239
2003-11-26 14:45:37 +00:00
Chris Lattner 9192f90865 Testcase for PR157
llvm-svn: 10237
2003-11-26 07:35:52 +00:00
Chris Lattner 1ffe97d37e testcase for PR 148
llvm-svn: 10206
2003-11-25 08:45:38 +00:00
Chris Lattner 4d9a30c0c4 Testcase for PR147
llvm-svn: 10205
2003-11-25 03:58:49 +00:00
Brian Gaeke 8581a625df Unbreak this test case - llvm-as no longer tolerates redefining names in any
given type plane.

llvm-svn: 10169
2003-11-22 06:18:35 +00:00
Brian Gaeke 27a077209b Strengthen test case.
llvm-svn: 10166
2003-11-22 05:01:57 +00:00
Brian Gaeke b4c1782c7a C Writer was dumping core on this test case.
llvm-svn: 10165
2003-11-22 04:58:25 +00:00
Chris Lattner 519900a36d New testcase that breaks the pruneeh pass
llvm-svn: 10162
2003-11-22 02:20:08 +00:00
Chris Lattner 0e10ae4d0b New testcase
llvm-svn: 10144
2003-11-21 22:28:49 +00:00
Brian Gaeke 71040f9251 Clean more qmtest files.
llvm-svn: 10125
2003-11-21 01:12:47 +00:00
Chris Lattner 4eb18ce26d Fix an all too common form of the 'Found global types that are not compatible' warning
llvm-svn: 10122
2003-11-20 21:04:35 +00:00
Chris Lattner 72e6b0c252 New testcase for PR143
llvm-svn: 10120
2003-11-20 20:57:33 +00:00
Brian Gaeke ce9a00cea6 Blow away compiled versions of qmtest classes on 'make clean'.
llvm-svn: 10119
2003-11-20 19:57:17 +00:00
Brian Gaeke 67ae512a4b Fix0r a test that mistakenly used %llvmg++ instead of %llvmgxx.
llvm-svn: 10118
2003-11-20 19:51:11 +00:00
Chris Lattner e5c6861b70 New testcase for PR132
llvm-svn: 10116
2003-11-20 19:27:12 +00:00
Chris Lattner f636784489 New testcase for PR141
llvm-svn: 10112
2003-11-20 19:05:21 +00:00
Chris Lattner 5a3a2398f4 Testcase for PR113
llvm-svn: 10101
2003-11-20 00:32:57 +00:00
Chris Lattner b1b4359294 New testcase for PR133
llvm-svn: 10095
2003-11-19 21:37:52 +00:00
John Criswell f4720a1575 We now support different expectations for different OS's/architectures.
llvm-svn: 10094
2003-11-19 21:13:25 +00:00
Chris Lattner 20816bc43e update test
llvm-svn: 10092
2003-11-19 19:47:36 +00:00
Chris Lattner efdc952714 Genericize tests
llvm-svn: 10091
2003-11-19 19:44:28 +00:00
Chris Lattner ff675bf580 Cleanup test
llvm-svn: 10090
2003-11-19 19:42:12 +00:00
Chris Lattner c39fcfff0d Improve test portability
llvm-svn: 10087
2003-11-19 18:37:06 +00:00
Chris Lattner d19da4ce5b Fix testcase. This should no longer be XFAIL'd
llvm-svn: 10086
2003-11-19 18:34:44 +00:00
Chris Lattner eedde31b7d New testcase for PR 130
llvm-svn: 10076
2003-11-19 01:03:16 +00:00
Chris Lattner c4cc197549 Testcase for PR131
llvm-svn: 10074
2003-11-18 23:46:07 +00:00
Chris Lattner ef8c3fed25 new testcase for PR126
llvm-svn: 10072
2003-11-18 21:05:55 +00:00
Chris Lattner 47487608a9 New testcase for PR125
llvm-svn: 10071
2003-11-18 20:30:00 +00:00
Chris Lattner 05906cf0f0 Testcase for PR128
llvm-svn: 10070
2003-11-18 20:24:46 +00:00
Chris Lattner 5529caeba7 There is no need to rely on LLI working for this test
llvm-svn: 10036
2003-11-16 22:07:45 +00:00
Chris Lattner eec1307f43 Testcase for PR116
llvm-svn: 10034
2003-11-16 21:47:01 +00:00
Chris Lattner 1765b4cfbd New testcase, for PR 115
llvm-svn: 10031
2003-11-16 20:47:05 +00:00
Chris Lattner 7ef8dfa9c3 Instcombine should promote this, and because it isn't, we are failing poolalloc tests
llvm-svn: 9980
2003-11-13 19:05:15 +00:00
Chris Lattner 133ba7a2a6 NEW testcase for PR84 :(
llvm-svn: 9967
2003-11-13 06:19:56 +00:00
Chris Lattner 2203f2509e Add new testcase for PR112
llvm-svn: 9940
2003-11-12 22:15:55 +00:00
Chris Lattner f88e8d9c12 The bytecode reader/writer is borking this testcase
llvm-svn: 9919
2003-11-12 16:40:08 +00:00
Chris Lattner a360143bed This is not the instruction combiner's fault! No really!
llvm-svn: 9918
2003-11-12 16:38:32 +00:00
Chris Lattner 33f27de303 Reduced testcase for PR 110
llvm-svn: 9917
2003-11-12 16:24:30 +00:00
Chris Lattner b0aa83ee0a New testcase for PR107
llvm-svn: 9910
2003-11-12 04:40:11 +00:00
Chris Lattner b09ad87eb9 New testcase
llvm-svn: 9829
2003-11-09 07:05:02 +00:00
Chris Lattner 3faf03a00f new testcase
llvm-svn: 9817
2003-11-09 00:23:05 +00:00
Chris Lattner 123ba49839 new testcase
llvm-svn: 9815
2003-11-08 23:00:49 +00:00
Brian Gaeke 18027874ef All 'llvmgcc' tests should specify %llvmgcc so that the path is passed
in by qmtest.

llvm-svn: 9757
2003-11-06 21:13:45 +00:00
Chris Lattner 83bc0a06b6 new testcase
llvm-svn: 9746
2003-11-05 22:06:03 +00:00
Chris Lattner 51b560602e New testcase
llvm-svn: 9733
2003-11-05 19:43:36 +00:00
Chris Lattner 21c7894ea0 Add a dtor to ensure that they are called the right number of times.
llvm-svn: 9721
2003-11-05 05:31:24 +00:00
Chris Lattner b3a9b6626f NEw testcase
llvm-svn: 9720
2003-11-05 05:22:15 +00:00
Chris Lattner d4741c5ee9 New testcase
llvm-svn: 9718
2003-11-05 01:36:49 +00:00
Chris Lattner b6ca46e0f9 New testcase for the other side
llvm-svn: 9714
2003-11-05 01:05:22 +00:00
Chris Lattner f6368c803c Since we're in the neighborhood, test for the inverse
llvm-svn: 9710
2003-11-04 23:49:53 +00:00
Chris Lattner e3a932c6d0 Add a generalization of the previous case
llvm-svn: 9707
2003-11-04 23:36:50 +00:00
Chris Lattner f622d7c31e New testcase for masking operation that frequently occurs in the pool allocator
for converting a number that is a power of two into a mask

llvm-svn: 9706
2003-11-04 23:21:22 +00:00
Chris Lattner 12d304d4d8 New testcase for PR80
llvm-svn: 9699
2003-11-04 18:52:01 +00:00
Chris Lattner ba4b1c47c1 New testcase
llvm-svn: 9698
2003-11-04 18:34:05 +00:00
Chris Lattner 604ac9cfc0 While working on the pool allocator, I noticed that basicaa is failing a scary
number of simple cases.  Someday when I get a chance to work on it again, this
testcase should be corrected.

llvm-svn: 9695
2003-11-04 16:40:40 +00:00
Chris Lattner 72974ffdbf New testcase for PR84
llvm-svn: 9690
2003-11-03 21:37:08 +00:00
Chris Lattner bf1b435d04 New testcase
llvm-svn: 9682
2003-11-03 19:27:17 +00:00
Chris Lattner 05f448173e New testcase for a bug in instcombine
llvm-svn: 9680
2003-11-03 18:33:44 +00:00
Chris Lattner d33bc06316 More testcases
llvm-svn: 9675
2003-11-03 05:42:50 +00:00
Chris Lattner e600cec9ec Move a test from cast-set to a new bit-tracking.ll file. Update file comments
llvm-svn: 9674
2003-11-03 05:30:34 +00:00
Chris Lattner 11bea4f7c7 Add another case, which an implementation of test6 must be sure to handle
correctly.

llvm-svn: 9672
2003-11-03 05:08:53 +00:00
Chris Lattner efde768bf5 Add the testcase from PR8
llvm-svn: 9669
2003-11-03 03:52:34 +00:00
Chris Lattner c75cfac56d Add another case, which occurs in em3d
llvm-svn: 9668
2003-11-03 03:51:26 +00:00
Chris Lattner 175c0839ca New testcase for DSA which is improperly collapsed!
llvm-svn: 9657
2003-11-02 20:43:10 +00:00
Chris Lattner 1f30e93306 The 'thefunc' function should not have weak linkage, it should have linkonce linkage.
llvm-svn: 9655
2003-11-02 06:30:39 +00:00
Chris Lattner fd2183a9cc Add test for instcombine transmogrifying allocation instructions
llvm-svn: 9653
2003-11-02 05:56:58 +00:00
Chris Lattner 91d79bb4be New testcase for PR79
llvm-svn: 9645
2003-11-02 00:57:56 +00:00
Chris Lattner 22c19cdf99 new testcase, for PR 81
llvm-svn: 9644
2003-11-02 00:22:27 +00:00
Chris Lattner ecbf07b6cd Regression test for PR 80
llvm-svn: 9643
2003-11-01 23:42:08 +00:00
Chris Lattner 3cffc56451 New testcase crashing the instruction combiner
llvm-svn: 9599
2003-10-30 00:39:25 +00:00
Chris Lattner cbeda5ad9b New testcase
llvm-svn: 9587
2003-10-29 19:18:48 +00:00
Chris Lattner 9e761b40af New testcase distilled from:
UnitTests/2003-10-29-ScalarReplBug.c

llvm-svn: 9584
2003-10-29 16:24:10 +00:00
Chris Lattner fa979bd78b New testcase
llvm-svn: 9578
2003-10-29 05:51:03 +00:00
Chris Lattner c0a9905d1d New testcase
llvm-svn: 9573
2003-10-29 01:23:01 +00:00
Brian Gaeke 329265fa87 New testcase, reduced from DOOM.
llvm-svn: 9568
2003-10-28 22:54:56 +00:00
Chris Lattner 2a4349e1bd New testcase which crashes the C++ FE
llvm-svn: 9534
2003-10-27 17:51:31 +00:00
John Criswell cdde075fa9 Merged RELEASE_1.
llvm-svn: 9533
2003-10-27 17:46:42 +00:00
Chris Lattner f38da836f0 Fix initializers to match
llvm-svn: 9529
2003-10-27 16:30:29 +00:00
Chris Lattner eba4dbf28d New testcase
llvm-svn: 9528
2003-10-27 16:18:28 +00:00
Chris Lattner 0fd9c24e56 New testcase.
llvm-svn: 9525
2003-10-27 05:13:47 +00:00
Chris Lattner 70a3b9024e New testcase, which failes to compile. 252.eon hits this problem
llvm-svn: 9440
2003-10-23 19:25:53 +00:00