Commit Graph

499 Commits

Author SHA1 Message Date
Chris Lattner
08e12f1860 Testcase for PR116
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10034 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-16 21:47:01 +00:00
Chris Lattner
623f707bee Instcombine should promote this, and because it isn't, we are failing poolalloc tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9980 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 19:05:15 +00:00
Chris Lattner
c7f05ca2a3 This is not the instruction combiner's fault! No really!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9918 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 16:38:32 +00:00
Chris Lattner
9c9e9dfe6d Reduced testcase for PR 110
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9917 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 16:24:30 +00:00
Chris Lattner
1548c35a5e new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9746 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-05 22:06:03 +00:00
Chris Lattner
9716eb7676 New testcase for the other side
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9714 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-05 01:05:22 +00:00
Chris Lattner
519c6965f5 Since we're in the neighborhood, test for the inverse
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9710 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-04 23:49:53 +00:00
Chris Lattner
736cca670f Add a generalization of the previous case
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9707 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-04 23:36:50 +00:00
Chris Lattner
f61641f7d4 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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9706 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-04 23:21:22 +00:00
Chris Lattner
2bde8bdc16 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9695 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-04 16:40:40 +00:00
Chris Lattner
ab13ae8c46 New testcase for a bug in instcombine
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9680 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-03 18:33:44 +00:00
Chris Lattner
5fecdecda4 More testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9675 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-03 05:42:50 +00:00
Chris Lattner
4d3ba7397f Move a test from cast-set to a new bit-tracking.ll file. Update file comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9674 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-03 05:30:34 +00:00
Chris Lattner
26f9c065a7 Add another case, which an implementation of test6 must be sure to handle
correctly.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9672 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-03 05:08:53 +00:00
Chris Lattner
40cfd9ea41 Add the testcase from PR8
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9669 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-03 03:52:34 +00:00
Chris Lattner
a5c5666d48 Add another case, which occurs in em3d
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9668 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-03 03:51:26 +00:00
Chris Lattner
fc424c39de Add test for instcombine transmogrifying allocation instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9653 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-02 05:56:58 +00:00
Chris Lattner
1758d4d863 New testcase crashing the instruction combiner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9599 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-30 00:39:25 +00:00
Chris Lattner
06f6230121 New testcase distilled from:
UnitTests/2003-10-29-ScalarReplBug.c


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9584 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-29 16:24:10 +00:00
Chris Lattner
851e07490c New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9578 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-29 05:51:03 +00:00
Chris Lattner
5bf9ce9a3a New testcase.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9525 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-27 05:13:47 +00:00
Chris Lattner
5139f2b549 Update test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9414 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 16:01:03 +00:00
Chris Lattner
599dcb07f7 document real source of bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9413 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 16:00:59 +00:00
Chris Lattner
0655845a4a fix test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9409 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 15:57:45 +00:00
Chris Lattner
de08597fe6 Fix test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9408 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 15:51:55 +00:00
Chris Lattner
5e845c5444 A new testcase for an instcombine miscompilation!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9402 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 05:10:53 +00:00
Chris Lattner
de0dcc3593 New testcase for the deadreturnvalue deletion extension to -deadargelim
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9389 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 22:33:59 +00:00
Chris Lattner
f4e643ffe0 New testcase for fun hack that is absolutely necessary for the C++ stdlib.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9362 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 03:35:18 +00:00
Chris Lattner
4b611631bc New testcase: globals should be linked if they are the wrong type. We should
just moan loudly.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9358 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 23:17:45 +00:00
Chris Lattner
48c9cb6fd7 This was not a lower-switch bug, it was a preselection bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9340 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 18:02:17 +00:00
Misha Brukman
648cbd9804 Only fails on the Sparc, only when run via the JIT.
And yet, it's a failure in the ``LowerSwitch'' pass.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9315 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 04:13:37 +00:00
Chris Lattner
ebb3acc31d New testcase which the inliner breaks
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9108 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-14 01:04:12 +00:00
Chris Lattner
c00d23a727 make the indvar obviously non-canonical
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9070 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-13 03:31:42 +00:00
Chris Lattner
5fdd902b55 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9064 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-12 22:26:42 +00:00
Chris Lattner
9989a4e2a1 Files moved to the LoopSimplify directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9062 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-12 21:57:11 +00:00
Chris Lattner
915403f065 The -preheaders pass is now known as -loopsimplify
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9057 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-12 21:42:35 +00:00
Chris Lattner
b3c495f675 new testcase. globaldce should not delete the global
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8999 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-10 04:54:23 +00:00
Chris Lattner
ecfecfe114 old testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8967 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-08 18:28:10 +00:00
Chris Lattner
b8d3fd0390 Checkin an old bug, which appears to be fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8966 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-08 18:26:10 +00:00
Chris Lattner
d1c5ea1071 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8953 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 22:53:46 +00:00
Chris Lattner
5b15deedc0 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8882 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-05 21:11:57 +00:00
John Criswell
4797826e17 Changed all of these tests to be TestRunner tests (or, at least they can be
TestRunner tests).
This makes creating the new test database class easier to implement.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8841 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-03 18:42:25 +00:00
Chris Lattner
ad5727d173 Add new testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8816 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-02 15:11:09 +00:00
John Criswell
acdadf059d Updated for the new QMTest test suite. Temporary output file is now placed
inside the temporary file directory.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8744 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-29 21:21:59 +00:00
Chris Lattner
e1a37cba9c new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8688 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-23 20:26:38 +00:00
Chris Lattner
4611f729c5 new testcase, reduced by bugpoint
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8665 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-22 22:22:41 +00:00
Chris Lattner
21c6158d83 new testcase which crashes the inliner, thanks Bugpoint!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8663 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-22 21:58:46 +00:00
Chris Lattner
e420056842 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8617 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-20 05:02:54 +00:00
Chris Lattner
4acad5c9e7 New testcase that basicaa should be able to handle
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8614 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-20 03:08:21 +00:00
Chris Lattner
0daee350cf Two new tests for shifts followed by ands
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8606 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-19 19:04:43 +00:00