Commit Graph

755 Commits

Author SHA1 Message Date
Chris Lattner
8869c2cb6a New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5826 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-21 21:06:25 +00:00
Chris Lattner
2ff9343f2b Update testcases to match what is currently output by the CFE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5817 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-19 00:17:11 +00:00
Chris Lattner
9f755bd4dd Add testcase for constantexpr gep
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5815 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-19 00:15:00 +00:00
Chris Lattner
0892ace468 Test case for forward declared global array with no size
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5814 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-18 23:46:44 +00:00
Chris Lattner
bcecb4baf9 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5809 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-18 19:22:39 +00:00
Chris Lattner
681cfb9ab4 Add a simple test for hex constant integers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5803 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-17 22:19:23 +00:00
Chris Lattner
4d21cb4151 Test case to make sure that constexprs are automatically folded
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5798 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-17 19:21:22 +00:00
Chris Lattner
843c80f7a3 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5794 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-16 22:46:16 +00:00
Chris Lattner
25219a76fe Add tests for linker and linkonce globals
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5791 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-16 21:21:35 +00:00
Chris Lattner
a36e48d7d0 Add PRE directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5783 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-16 20:23:42 +00:00
Chris Lattner
9fa01f2fa5 New testcase that triggered assertion failure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5776 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-15 16:07:05 +00:00
Misha Brukman
5cd8ae9255 Simple arithmetic loop-based test case for modulo scheduling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5774 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-10 22:01:15 +00:00
Misha Brukman
cf54d17f75 Adding a simple test case in the hope that commit-diffs.pl will pick this up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5773 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-10 21:49:13 +00:00
Misha Brukman
c28e3c3880 Not only is this the first test case for ModuloScheduing, it's also the first
test case for the CVS commit-diffs.pl script which should show the entire
contents of this file below:


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5772 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-10 21:43:58 +00:00
Chris Lattner
228fd156f1 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5770 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-10 19:21:07 +00:00
Chris Lattner
7341178c5d Initial checkin of PRE test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5761 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-31 21:19:23 +00:00
Chris Lattner
7cd2fff2fd Initial checkin of PRE tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5760 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-31 19:57:36 +00:00
Chris Lattner
056e84c5b6 Fix testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5746 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-18 22:53:19 +00:00
Chris Lattner
be0fe12f72 Test limited reassociation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5742 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-11 00:10:59 +00:00
Chris Lattner
8408add00a Add optimizations:
- (A & C1)+(B & C2) -> (A & C1)|(B & C2) iff C1&C2 == 0
 - (A & C1)^(B & C2) -> (A & C1)|(B & C2) iff C1&C2 == 0


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5741 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-10 23:52:54 +00:00
Chris Lattner
533741a764 Add testcases for negated multiplies
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5739 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-10 23:22:50 +00:00
Chris Lattner
0cec701eb2 Add test for demorgans law with constants
Add test for other form of demorgans


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5737 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-10 23:13:32 +00:00
Chris Lattner
1b77300154 * Add testcases for associative operators
* Add testcase for or ubyte, 255 which was broken before


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5735 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-10 22:43:56 +00:00
Chris Lattner
2bd37807d0 Modernize testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5732 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-10 19:44:01 +00:00
Chris Lattner
c232870b6f Add a bunch of new tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5730 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-10 19:16:20 +00:00
Chris Lattner
63a9548591 Add test for: (A|B)^B == A & (~B)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5727 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-10 18:24:04 +00:00
Chris Lattner
a66e2fa195 Modernize testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5726 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-10 18:20:53 +00:00
Chris Lattner
5db057fbb0 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5721 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-07 17:42:55 +00:00
Chris Lattner
42289a3010 Update testcases to use long to index gep
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5717 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-06 19:59:08 +00:00
Chris Lattner
556b50c193 Add a link to source of inspiration
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5707 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-05 23:02:25 +00:00
Chris Lattner
2fc36e42ca New testcase for pow builtin recognition
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5706 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-05 22:56:59 +00:00
Chris Lattner
8e019aa9c9 Add another testcase that may eventually be handled...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5705 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-05 22:50:55 +00:00
Chris Lattner
4872eaf189 Add testcase for new instcombine xform
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5703 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-05 22:32:48 +00:00
Chris Lattner
a1040199e4 Add new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5701 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-05 21:34:35 +00:00
Chris Lattner
ceb536eda3 New testcase for feature simplifycfg should handle
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5698 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-05 20:35:24 +00:00
Chris Lattner
a8bda21c8d Add testcase for new feature for simplifycfg pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5697 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-05 20:22:50 +00:00
Chris Lattner
3fc7b6bd65 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5694 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-04 16:33:52 +00:00
Chris Lattner
1e6233af96 Make the testcase more interesting, test that two different array elements don't alias
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5689 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-03 23:27:15 +00:00
Chris Lattner
3475ed024e New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5688 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-03 21:29:00 +00:00
Chris Lattner
f5e84662c2 Add new testcase for forward reference of struct type
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5687 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-03 20:28:42 +00:00
Chris Lattner
2daba3bb1c Fix testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5674 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-28 19:21:27 +00:00
Chris Lattner
fc4b9bc1b0 Add a test for a feature that I hope will be implemented someday
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5673 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-28 19:20:56 +00:00
Chris Lattner
86ca0c1f8b New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5672 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-28 19:13:58 +00:00
Chris Lattner
46f1785def New test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5665 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-28 02:55:26 +00:00
Chris Lattner
a5ca8e5c50 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5660 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-27 22:34:31 +00:00
Chris Lattner
da336622be New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5657 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-27 21:59:31 +00:00
Chris Lattner
8ac33045d1 Testcase for Preheaders problem
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5654 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-27 21:38:56 +00:00
Chris Lattner
8856f4c478 New testcase crashing LICM
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5648 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-26 23:16:44 +00:00
Chris Lattner
cd4d41cd4f Fix test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5646 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-26 22:01:58 +00:00
Chris Lattner
2271fddb6d New testcase for size tracking brokenness
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5644 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-26 21:39:52 +00:00