Commit Graph

1922 Commits

Author SHA1 Message Date
Chris Lattner
2fac727fb0 New testcase.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19873 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-28 19:08:32 +00:00
Chris Lattner
9b5cb04a0a xfail this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19846 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-26 07:09:44 +00:00
Chris Lattner
c74b5a16c4 XFAIL this for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19845 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-26 07:08:42 +00:00
Chris Lattner
87a9b716c1 Remove this test. This test is already in PR269, so it should be
readded when the bug is fixed.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19722 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-20 20:58:42 +00:00
Chris Lattner
d4dd775a24 Add some new tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19705 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-19 21:48:31 +00:00
Chris Lattner
b51f2e3de2 New testcase for rotate instructions. Each function should codegen to a
rotate.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19691 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-19 08:04:08 +00:00
Chris Lattner
39d6396d01 Add a test for 16-bit sh*d.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19688 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-19 07:37:01 +00:00
Chris Lattner
7c79de7c65 Ensure that each these functions generates a sh[rl]d instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19682 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-19 06:30:36 +00:00
Chris Lattner
a8b6f68a55 This is a carefully contrived testcase where the X86 ISel is emitting all loads
before other ops, causing it to spill like mad.  This occurs in
164.gzip:flush_block.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19648 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-17 23:16:01 +00:00
Chris Lattner
f60513f71d New testcase for a problem that occurred in 132.ijpeg
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19630 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-17 06:25:59 +00:00
Chris Lattner
2349ba939d New testcase, problem found by Rob.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19556 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-14 20:21:51 +00:00
Chris Lattner
557671951f Testcase that crashes the PPC backend. Thanks to Rob for finding this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19554 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-14 19:30:42 +00:00
Chris Lattner
68f6b8cba8 More testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19543 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-14 00:26:25 +00:00
Chris Lattner
195e9176af new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19539 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-13 23:26:14 +00:00
Chris Lattner
61b8c9bf94 The pattern isel is aggressively codegen'ing all of the loads in these
functions together at the start of the basic block, causing massive spillage.
The old isel codegened the loads wherever they happened to land, so it
generated good code for the first case, but bad code for the second.

We really want the pattern isel to generate (the same) good code for both.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19448 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-11 03:05:03 +00:00
Jeff Cohen
b56013dda5 Test fails on all platforms, not just linux
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19405 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-08 23:44:03 +00:00
Chris Lattner
fb0c3bd531 New testcase.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19363 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-08 05:44:07 +00:00
Chris Lattner
9cd87dbccb Cleanup a bunch of tests. In particular do not allow target directives in
the .ll file or it forces the V9 backend.  This is the CodeGen/Generic dir,
so there is no use in doing that.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19355 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-07 22:05:31 +00:00
Chris Lattner
c33fc820d2 Make this test a bit more interesting by making there actually be a use of the
PHI node.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19351 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-07 21:37:13 +00:00
Chris Lattner
3b5d631747 modernize and clean up this test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19347 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-07 21:15:58 +00:00
Chris Lattner
186fcf6964 Add a testcase I forgot to commit earlier.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19338 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-07 07:56:08 +00:00
Chris Lattner
7c8ad7aa41 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19312 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-06 21:18:53 +00:00
Chris Lattner
785b9c0b59 Update this test to pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19285 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-05 15:23:06 +00:00
Chris Lattner
b9befc5179 Test that trivial constants are not printed in hex notation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19281 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-04 01:58:26 +00:00
Chris Lattner
a5698772d4 Add a testcase to check that initializer that CAN be evaluated statically ARE.
These used to result in dynamic initializations.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19278 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-03 22:27:58 +00:00
Chris Lattner
6c119813d9 Fix this script to work with hyphenated llvm-gcc and friend.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19277 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-03 22:26:38 +00:00
Chris Lattner
2abc27dfea new testcase for PR481
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19270 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-03 04:39:16 +00:00
Chris Lattner
7773fe4202 New testcase for PR487
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19268 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-03 04:15:11 +00:00
Reid Spencer
2d7eb98621 Make sure the path is properly set in the llvmgcc and llvmgxx variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19267 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-03 04:05:32 +00:00
Chris Lattner
4be483baa4 Testcase for PR494
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19258 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-02 21:11:11 +00:00
Chris Lattner
71dbefed4e xfail these tests, whcih require more info in the code generator to implement
correctly.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19257 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-02 19:01:33 +00:00
Chris Lattner
bbdfaf8ec7 Check in an old test that never made it into CVS
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19250 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-02 02:46:29 +00:00
Chris Lattner
ae37c2a543 Add several testcases for new optimizations in the code generator.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19244 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-02 02:30:04 +00:00
Chris Lattner
0f75849116 New testcases that we should combine.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19219 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-01 16:14:46 +00:00
Chris Lattner
095b51ee36 New testcase for common bitfield manipulation instruction sequences.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19218 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-01 16:14:18 +00:00
Chris Lattner
296fcbaf2c Add a bunch of tests for cases that should be eliminated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19217 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-01 16:13:43 +00:00
Chris Lattner
e768ff2cdc Add a bunch of tests for ANDs that should be eliminated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19216 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-01 16:13:19 +00:00
Chris Lattner
05b402ce9f This now works.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19215 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-01 16:12:52 +00:00
Chris Lattner
72a406eb14 Add new test to make sure simplifycfg doesn't leave around trivially
dead instructions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19211 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-01 16:00:56 +00:00
Chris Lattner
d0137cd0f4 Add a comment, add a new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19179 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-29 04:35:30 +00:00
Chris Lattner
1d078167a9 New testcase for PR491
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19178 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-29 04:27:26 +00:00
Chris Lattner
5a23c8bbdb new testcase for PR490
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19175 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-29 03:57:25 +00:00
Reid Spencer
96e5436e9b XFAIL this test everywhere.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19174 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-29 03:17:30 +00:00
Reid Spencer
2fcd29acea XFAIL this everywhere, the CFE doesn't support bitfield initialization.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19173 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-29 03:16:40 +00:00
Reid Spencer
6a901ecb6f Make sure LLVMGCCWITHPATH is used instead of just LLVMGCC so that the
CFE tools can find the correct LLVM tools to invoke.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19128 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-24 03:44:24 +00:00
Reid Spencer
4a25494ee6 The dejagnu scripts need a path for llvm-gcc/llvm-g++ as well so use the
correct variable to get a "set the path first" invocation of those tools.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19127 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-24 03:38:01 +00:00
Reid Spencer
c553403233 For PR432:
* Use LLVMGCC and LLVMGXX variables instead of computing the name


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19097 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-22 05:57:50 +00:00
Chris Lattner
feeeb30c32 Make this testcase a bit more challanging
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19019 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-17 17:14:00 +00:00
Chris Lattner
dbd4f1000e Change the test to check to see that CSE happens not dead call elim
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19017 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-17 17:11:41 +00:00
Chris Lattner
0adacc5670 New testcase that crashes the V9 backend.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18905 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-13 19:10:32 +00:00