Commit Graph

436 Commits

Author SHA1 Message Date
Chris Lattner
b4b8f7c9bc Fix old style test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8390 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-08 16:29:02 +00:00
Chris Lattner
84991f332e New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8275 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-31 21:05:39 +00:00
Chris Lattner
0c21021799 new tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8249 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-31 02:38:46 +00:00
Chris Lattner
2b771055d7 Add tests for the pruneeh pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8248 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-31 02:36:10 +00:00
Chris Lattner
5464da982f New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8151 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-27 01:05:19 +00:00
Chris Lattner
cd98c72561 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8125 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-24 17:58:24 +00:00
Chris Lattner
93ee3f66ad Fix grep
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8114 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-24 12:53:20 +00:00
Chris Lattner
71f74b3721 Fix typeos and add descriptions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8108 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-24 12:16:58 +00:00
Chris Lattner
8a376a591f New testcases for inlining invoke instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8103 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-24 06:55:07 +00:00
Chris Lattner
66197a9d23 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8100 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-24 05:02:26 +00:00
Chris Lattner
7bf617ab02 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8098 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-24 04:06:04 +00:00
Chris Lattner
2231d5892b Add a new switch folding testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8092 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 23:17:59 +00:00
Chris Lattner
4d34adad67 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8086 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 22:43:42 +00:00
Chris Lattner
c4d360d1d4 new testcase: we warn if we are merging together two functions whose argument
types to not match, but we should not warn unless their _primitive_ types mismatch


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8075 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 19:59:55 +00:00
Chris Lattner
59bc1a7ad3 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8071 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 19:37:39 +00:00
Chris Lattner
13fc1eaee5 Fix buggy testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7966 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-18 22:34:14 +00:00
Chris Lattner
09864a1ef0 New testcase to ensure that switch folding happens correctly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7922 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-17 20:19:31 +00:00
Chris Lattner
f0cd835784 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7920 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-17 19:37:57 +00:00
Chris Lattner
128cf79bcc New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7918 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-17 19:29:34 +00:00
Chris Lattner
fd80ff55cd No need to print in the testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7914 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-16 20:56:35 +00:00
Chris Lattner
a1ee42ac8e new testcase narrowed down from xboard
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7910 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-15 23:15:37 +00:00
Chris Lattner
eb320c69ed I must have missed these when eliminating the cast to bool cannonicalizations
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7829 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-13 20:17:41 +00:00
Chris Lattner
b5dbd9a798 Add some more tests for: (A <setcc1> B) logicalop (A <setcc2> B)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7827 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-13 20:13:15 +00:00
Chris Lattner
d2ae23979c Add some tests for difficult reassociation cases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7824 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-13 19:01:09 +00:00
Chris Lattner
545513918a Reorganize tests because we no longer cannonicalize X != 0 -> cast X to bool
In fact, we plan to eliminate cast to bool entirely.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7805 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-13 05:27:57 +00:00
Chris Lattner
ab04c365b8 Update test to represent new cannonicalization rules for multiplies
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7804 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-13 04:20:06 +00:00
Chris Lattner
bb5395b586 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7791 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-12 21:35:55 +00:00
Chris Lattner
dc20a3e7d3 Right, instcombine cannot remove ((X >> C) << C) if it's signed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7790 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-12 21:22:51 +00:00
Chris Lattner
b310196abc New testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7789 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-12 21:20:49 +00:00
Chris Lattner
c6da691cfe New testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7781 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-12 19:10:50 +00:00
Chris Lattner
df398f729f Testcase for feature we should support eventually
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7772 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-12 14:58:08 +00:00
Tanya Lattner
7526eed382 Added LICM test cases to:
1) Check that trapping instructionns that are not guaranteed to execute are not hoisted.
2) Check that trapping instructions that are guaranteed to execute are hoisted.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7613 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-05 18:52:42 +00:00
Chris Lattner
5d6bdae118 new testcases that simplifycfg breaks
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7598 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-05 16:11:36 +00:00
Chris Lattner
12642fda09 More testcases, which I'll implement later
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7298 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-24 19:44:51 +00:00
Chris Lattner
d2a0896832 Modernize testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7297 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-24 19:42:28 +00:00
Chris Lattner
b5874f1499 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7296 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-24 19:31:08 +00:00
Chris Lattner
709ad40dc8 New testcases for signed shifts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7294 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-24 18:38:09 +00:00
Chris Lattner
84f644aacf Add new tests, make existing tests more difficult
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7286 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-23 23:21:08 +00:00
Chris Lattner
a99d4f2975 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7284 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-23 22:02:39 +00:00
Chris Lattner
ae623cb303 New testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7281 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-23 21:36:01 +00:00
Chris Lattner
c2a2e73c7f Renumber tests sequentially
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7280 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-23 21:11:56 +00:00
Chris Lattner
f8527989b5 Split the or and xor tests into two separate files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7279 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-23 21:10:55 +00:00
Chris Lattner
2fc5e59362 Remove obscure test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7278 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-23 21:06:34 +00:00
Chris Lattner
4daaebf170 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7271 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-23 19:35:51 +00:00
Chris Lattner
b5cfb6cb1a New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7267 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-23 19:24:34 +00:00
Chris Lattner
0afcd442a1 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7266 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-23 19:05:29 +00:00
Chris Lattner
31a7f85346 New testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7263 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-23 18:28:42 +00:00
Chris Lattner
2b8e478b5d New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7261 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-23 17:56:34 +00:00
Chris Lattner
347319a4c9 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7259 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-23 17:25:55 +00:00
Chris Lattner
f7b447eb69 New tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7256 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-23 17:01:18 +00:00