Commit Graph

1953 Commits

Author SHA1 Message Date
Chris Lattner
fe75292503 A testcase that we miscompile, noticed from the demo page.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20336 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-26 18:49:04 +00:00
Chris Lattner
d802347a2e new testcase for a simple optimization that simplifycfg is about to do.
All CFG edges to DEAD should be eliminated.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20299 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-24 06:15:27 +00:00
Chris Lattner
90970609f2 add another testcase to make sure it gets turned into a switch (answer: yes it does)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20291 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-24 02:13:50 +00:00
Chris Lattner
333f75dfe9 new testcase for PR523
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20261 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-21 04:03:32 +00:00
Chris Lattner
c19ff5c925 New testcase for PR522.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20259 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-20 23:29:23 +00:00
Chris Lattner
e8dfeed597 Testcase for PR520
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20248 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-19 17:07:48 +00:00
Chris Lattner
8e0de32cc9 Adjust this test to pass after recent CFE changes. We now generate:
%XX = global int cast (int* getelementptr ([2 x int]* getelementptr (%struct.S* null, int 0, uint 0), int 0, int 1) to int)

which is the literal translation of the testcase :)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20247 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-19 07:31:54 +00:00
Chris Lattner
630f340f8f Make this testcase harder, to test the read case as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20245 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-19 06:56:46 +00:00
Chris Lattner
9f95ab7e61 new testcase.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20244 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-19 06:54:44 +00:00
Reid Spencer
18c5729033 Quote the value of the PATH variable so that Cygwin and Windows can have
spaces in path names and not confuse the shell.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20241 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-18 20:24:09 +00:00
Reid Spencer
13a29035cc Allow dejagnu tests to run on Windows/Cygwin. Quote the value of the PATH
variable so that spaces don't screw it up.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20240 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-18 20:17:44 +00:00
Chris Lattner
ae02b723bf New files, testing for a crash in ADCE compiling QT and a missed optimization.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20226 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-17 19:27:44 +00:00
Chris Lattner
491a1b87d5 new testcase for PR515
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20223 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-17 16:53:41 +00:00
Chris Lattner
8d358174da New testcase for PR510.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20189 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-15 05:18:05 +00:00
Chris Lattner
0a8794d043 execution tests shouldn't go here. This was killing the PPC nightly tester.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20186 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-14 21:54:32 +00:00
Chris Lattner
eb28797506 A testcase that LLC produces illegal asm on for Prolangs-C/cdecl now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20182 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-14 21:31:41 +00:00
Chris Lattner
ee6cfda17c new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20176 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-14 16:45:38 +00:00
Chris Lattner
d2beaa63b3 new testcase for PR509
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20171 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-14 02:54:41 +00:00
Chris Lattner
5b7dcaa96b New test, adjust other test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20134 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-12 19:19:36 +00:00
Chris Lattner
23cf18003d Reinstate this test, it is correct after all.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20133 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-12 19:14:11 +00:00
Chris Lattner
2b13055835 This test is invalid
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20131 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-12 19:02:30 +00:00
Chris Lattner
50237f28c5 new testcase for PR504
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20128 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-12 03:26:30 +00:00
Chris Lattner
81efd8c026 Actually, this testcase is invalid, the bug is in the C++ FE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20123 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-11 23:18:40 +00:00
Chris Lattner
94ca3fe5ea New testcase that manyoso found compiling QT 4.0.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20122 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-11 23:08:34 +00:00
Chris Lattner
f2884785f3 New testcase for PR501
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20117 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-11 19:26:06 +00:00
Chris Lattner
55d813aef6 New testcase that the asmwriter botches.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20088 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-09 17:42:24 +00:00
Chris Lattner
70dd7709e5 This bug crashes the assembler, distilled from a testcase produced by Andrew.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19964 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-01 01:44:54 +00:00
Chris Lattner
0f991191eb New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19952 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-31 05:51:18 +00:00
Chris Lattner
71dd598023 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19949 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-31 05:36:19 +00:00
Chris Lattner
2a73a0bbb1 Rename these to start with %c, as they are the only ones that are checked.
No change to the tests themselves.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19948 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-31 05:17:31 +00:00
Chris Lattner
36559a4bc8 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19946 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-31 04:49:22 +00:00
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