Commit Graph

2004 Commits

Author SHA1 Message Date
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
Chris Lattner
1825e30dec Fix this test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18900 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-13 17:53:11 +00:00
Chris Lattner
cb8e9c94ff Add testcases for simple things we can handle that occur now in vortex.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18837 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-12 21:40:22 +00:00
Chris Lattner
60bdce6fd0 Dejagnu doesn't work if you do TESTSUITE=.../
You can't pass the trailing / into Dejagnu, so make the makefile strip it off


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18836 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-12 21:39:49 +00:00
Chris Lattner
081da56e9e New testcase that the PPC backend miscompiles. It is emitting
.comm _X,0

For X, which makes the linker thing that X is never defined.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18834 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-12 20:34:06 +00:00
Chris Lattner
ef07cc5e48 New testcase. Shrinking the variable to a bool allows instcombine to delete
the condition.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18816 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-12 05:52:12 +00:00
Chris Lattner
e0e50dbb9f New testcase. If one side of and/or is known to be 0/-1, it doesn't matter
if the other side is overdefined.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18806 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-11 23:14:40 +00:00
Chris Lattner
5df6895f75 Update test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18801 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-11 17:13:19 +00:00
Chris Lattner
0982145d85 New testcase that ipsccp should handle.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18789 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-11 05:14:55 +00:00
Chris Lattner
9b07c66501 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18780 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-10 22:28:49 +00:00
Chris Lattner
6e5fcf1898 New testcase that SCCP miscompiles. Luckily this is extremely unlikely to
happen in practice, but IP-SCCP can trigger it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18773 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-10 20:10:23 +00:00
Chris Lattner
2480535c1f Check in the right test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18767 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-10 17:43:43 +00:00
Chris Lattner
16483e50e2 New testcase for a bug exposed by the ipsccp pass, causing dparser to fail
last night.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18765 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-10 17:41:43 +00:00
Chris Lattner
41c6861609 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18750 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-10 07:54:51 +00:00
Alkis Evlogimenos
0cfbdf8fc3 Update testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18742 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-10 05:39:57 +00:00
Chris Lattner
a44f445d2c Simple testcase for quoted label.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18740 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-10 05:27:14 +00:00
Alkis Evlogimenos
c49741d047 Add testcase and fix for yet another case where we query the size an
abstract type.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18678 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 23:56:15 +00:00
Alkis Evlogimenos
a95cf3024b Add testcase and fix for another case where we query the size an
abstract type.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18676 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 23:42:11 +00:00
Chris Lattner
5cb77fb193 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18675 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 23:41:16 +00:00
Alkis Evlogimenos
54a96a2ad6 Fix this regression and remove the XFAIL from this test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18674 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 23:10:30 +00:00
Reid Spencer
8690180f49 Remove last remnants of Python/QMTest support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18672 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 23:07:27 +00:00
Chris Lattner
d5e4e1756f This testcase causes the instruction combiner to go spiraling into
an infinite loop.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18669 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 22:18:35 +00:00
Alkis Evlogimenos
00af662b4d Mark this as an XFAIL until a fix is worked out.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18651 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 18:43:39 +00:00
John Criswell
997715f1d2 Fix llvmgcc to use the TestRunner substition mechanism.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18634 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 16:41:34 +00:00
John Criswell
207a6e9af3 xfail this across all platforms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18633 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 16:31:06 +00:00
Alkis Evlogimenos
f08e961439 Add regression
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18624 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 07:25:10 +00:00
Chris Lattner
e36ae664b9 This test is xfail right now, to keep DJ clean, also mention the PR# in testcases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18609 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 02:25:32 +00:00
John Criswell
441c3cf82b This test still fails on Darwin and Sparc/Solaris.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18583 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-06 22:05:02 +00:00
Reid Spencer
66e10ab153 Test case for PR409:
Make sure that floating point constant values outside the range of a float
cannot be assigned to a constant.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18582 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-06 21:57:59 +00:00
John Criswell
06c2e66435 Remove the last pieces of QMTest.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18581 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-06 21:35:32 +00:00
Reid Spencer
135e1d8c3c Change check to check-local per Makefile.rules changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18568 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-06 05:35:38 +00:00
Chris Lattner
2969ba4ab3 Make this test actually capable of passing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18536 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 07:15:21 +00:00
Chris Lattner
bf90a5be71 Change this test to not require execution of the program.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18533 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 06:45:30 +00:00
Chris Lattner
c2e63a2d93 New testcase for the bug affecting 255.vortex in CBE mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18529 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 06:18:35 +00:00
Alkis Evlogimenos
5b554ade20 Remove unneeded code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18516 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 02:03:16 +00:00
Alkis Evlogimenos
bb622c8802 Match codegen string better
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18514 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 01:50:32 +00:00
Alkis Evlogimenos
84da5a6cc8 Add testcast for bug475
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18513 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 01:44:46 +00:00
Chris Lattner
9214a4787b Darwin and solaris don't support echo -e. This should get the test passing
for them.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18511 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-04 23:44:42 +00:00
Chris Lattner
bf16b8c2dc This fails due to the sun headers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18510 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-04 23:24:30 +00:00
Chris Lattner
70d61bc7e2 This test passes on all platforms
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18509 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-04 23:21:41 +00:00
Chris Lattner
40cc75aeba These tests pass on darwin now that the __ thing is fixed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18508 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-04 23:20:14 +00:00
Reid Spencer
ed2040d2fa Failing Feature/Regression test should fail the build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18507 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-04 22:34:47 +00:00
Chris Lattner
0e2f492a7c Clean feature also
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18491 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-04 06:47:07 +00:00
Tanya Lattner
9f97b4c228 Made it default to check instead of check-dejagnu.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18488 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-04 06:25:08 +00:00
Chris Lattner
f0db7a98ae Do not multiply define symbol
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18461 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-03 19:48:10 +00:00
Chris Lattner
8430182d80 new testcase for PR472
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18458 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-03 17:18:42 +00:00
John Criswell
c60c334612 These lookup symbols with leading underscores, which currently fails in
the PowerPC JIT.
Hence, they are XFAILs.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18443 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-02 21:28:37 +00:00
Chris Lattner
25f89656b0 This program doesn't break anything anymore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18411 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-02 02:26:18 +00:00
Tanya Lattner
78887f46ac Added TCLSH var to site.exp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18396 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-30 19:13:06 +00:00
Chris Lattner
d616597b85 Move this from the C test suite
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18395 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-30 18:25:12 +00:00
Chris Lattner
11875ec1b9 This is a c++ test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18394 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-30 18:25:05 +00:00
Chris Lattner
adc539044a Add back -e, which apparently works in sh's echo but not tcsh's, which does
not need it.  Also, grep some output so we know that this command does something.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18393 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-30 17:47:13 +00:00
Chris Lattner
5b0a4ff668 If TESTSUITE is set, we obviously want to run dejagnu
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18392 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-30 17:45:08 +00:00
Chris Lattner
907e9bc3f1 do not pass -e into llvm-db as a command.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18390 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-30 17:13:13 +00:00
Chris Lattner
13eef45ee5 Put the output in the temporary location
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18389 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-30 17:12:00 +00:00
Chris Lattner
15a286b665 This is a cross platform fail, failing on freebsd as well
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18388 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-30 17:10:47 +00:00
Chris Lattner
3a9e1fa428 This was fixed with the recent tester changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18385 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-30 16:48:26 +00:00
Chris Lattner
7d66434023 This passes on darwin now
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18380 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-30 07:38:41 +00:00
Chris Lattner
aac2d44bc3 New testcase that crashes the PPC BE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18375 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-30 06:39:45 +00:00
Chris Lattner
d510293e24 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18373 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-30 06:35:52 +00:00
Tanya Lattner
b761433e81 Adding timeout for a test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18372 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-30 06:29:45 +00:00
Chris Lattner
93e6d8329c New testcase that crashes the PPC backend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18370 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-30 06:28:53 +00:00
Chris Lattner
8cca1a7cbc New testcase for simplifycfg
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18367 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-30 00:31:16 +00:00
Reid Spencer
b2e4cd645a Update the test to match the optimization. The optimization can let some
casts through, but they will only be sbyte -> ubyte in this test case so
make sure we don't let any other kinds through.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18313 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-28 21:36:52 +00:00
Chris Lattner
f4a0e5093c New testcase. The store is not dead here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18307 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-28 19:54:02 +00:00
Chris Lattner
96d7dac55f new testcase for PR463
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18304 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-28 16:47:46 +00:00
Reid Spencer
2ded5d0053 Correct the RUN line to remove unneeded parameters and make sure the test
case is testing the right thing.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18302 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-28 08:15:33 +00:00
Reid Spencer
d3938b14ea Test case for PR454
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18301 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-28 04:29:29 +00:00
Chris Lattner
a17138424f New testcase for PR447
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18298 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-28 01:22:49 +00:00
Chris Lattner
1b64141716 New testcase for PR360
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18296 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-28 00:39:58 +00:00
Chris Lattner
393db9ddfd New testcase for PR244
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18294 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-28 00:06:07 +00:00
Chris Lattner
f97bf6dd7a New testcase for PR397
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18292 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 23:24:23 +00:00
Chris Lattner
df284a74ec new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18290 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 22:43:51 +00:00
Chris Lattner
65de86bac7 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18284 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 20:31:59 +00:00
Chris Lattner
cca50c6b84 Pass in llvmgxx
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18283 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 20:31:14 +00:00
Chris Lattner
e63632f16f New testcase for PR424
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18281 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 19:44:07 +00:00
Chris Lattner
ef1ef8272b New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18272 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 17:55:20 +00:00
Reid Spencer
e524156f5e Don't depend on grep or sed to be portable at all. Just compare against
static test files.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18271 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 06:44:10 +00:00
Reid Spencer
dc647db39c Put the expected tables of contents of the test archives into separate
files so we don't have to process them at test time at all.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18270 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 06:43:03 +00:00
Reid Spencer
f461ead599 Use grep instead of sed because on Solaris sed doesn't copy null bytes and
it needs to in order for the bug in MacOSX archives to be tested correctly.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18269 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 06:27:30 +00:00
Reid Spencer
9df7aea12e Accommodate the braindead Solaris "diff" that doesn't understand the -q
option.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18268 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 06:00:36 +00:00
Chris Lattner
4e4f7312e0 new testcase basicaa should handle
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18260 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-26 19:19:28 +00:00
Chris Lattner
fb0ac971fa New testcase for PR451
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18236 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-25 06:25:13 +00:00
Chris Lattner
0baf656edb Exit only with a value from 0-255.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18119 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-22 19:50:41 +00:00
Chris Lattner
0c41db8665 %p is expanded by dejagnu, avoid it in the test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18118 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-22 19:25:45 +00:00
Chris Lattner
f73820adc3 Pull out failing test into a seperate file, which is xfailed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18117 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-22 19:24:11 +00:00
Chris Lattner
1e17a1d77c This was fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18116 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-22 19:19:11 +00:00
Chris Lattner
b9849700ed These tests really are failing, do not let them accidentally be XPASS.
Note that apparently 'failing command | succeeding command' is a fail on
csh but not on sh.  :(


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18114 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-22 19:11:40 +00:00
Chris Lattner
baf790e809 Don't stop make if there are XFAIL or XPASSes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18113 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-22 19:06:22 +00:00
Reid Spencer
80fd9b4e08 Make sure output goes in the temporary/output directory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18096 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-22 02:46:31 +00:00
Reid Spencer
6d0e614d5e * Undo previous commit that breaks the test.
* Correct the test to work when srcdir == objdir.

NOTE: Since multiple tests run from the same source archive and llvm-ranlib
changes the archive, these tests MUST work on a copy of the archive or else
this test corrupts the archive file subsequent tests or subsequent runs of
the test suite.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18094 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-21 21:28:56 +00:00
Reid Spencer
2571791fa0 * Undo previous commit that breaks the test.
* Correct the test to work when srcdir == objdir.

NOTE: Since multiple tests run from the same source archive and llvm-ranlib
changes the archive, these tests MUST work on a copy of the archive or else
this test corrupts the archive file subsequent tests or subsequent runs of
the test suite.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18093 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-21 21:22:56 +00:00
Reid Spencer
39a11a1547 Test archive built with GNU ar(1).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18076 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-21 01:36:59 +00:00
Tanya Lattner
6fb9b52e2a Adding missing dg file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18062 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-20 23:51:38 +00:00
Tanya Lattner
ca1dd856d3 Removing unnecessary copies. Use %p to reference them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18059 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-20 23:47:23 +00:00
Reid Spencer
bab98e4a32 Test floating point constants
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18045 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-20 07:29:51 +00:00
Reid Spencer
e651c954aa An llvm-ar test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18043 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-20 07:25:41 +00:00
Reid Spencer
2e78cf6385 Provide the srcdir variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18042 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-20 07:25:10 +00:00
Reid Spencer
4fb6f81641 Describe the Archive test suite.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18041 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-20 07:24:28 +00:00
Reid Spencer
eee1f5e238 Contents separated into individual tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18040 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-20 07:23:56 +00:00
Tanya Lattner
9397204e50 Forgot to join srcdir and subdir for complete path for input files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18022 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 23:00:19 +00:00
Tanya Lattner
f9e7943915 Adding srcdir arg. Added ability to specify the path to an input file. This is needed for when srcdir != objdir.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18021 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 22:46:23 +00:00
Tanya Lattner
c8c1f12778 Adding srcdir arg
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18020 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 22:45:25 +00:00
Reid Spencer
f6abe385b6 Test case for reading MacOSX archives.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18014 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 21:30:15 +00:00
Reid Spencer
019d5e9d35 MacOSX test archive (buggy).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18013 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 21:29:45 +00:00
Reid Spencer
5711a332f3 Make sure we can read an archive after it has been ranlib'd
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18000 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 18:44:31 +00:00
Reid Spencer
ed26b31946 Test case for xpg4 style archive files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17984 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 04:46:10 +00:00
Reid Spencer
b7bd81963d Test reading of SVR4 style archives with llvm-ar
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17983 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 04:45:19 +00:00
Reid Spencer
30ce0f0c55 Test case for reading SVR4 style archives.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17982 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 04:33:13 +00:00
Reid Spencer
37d8bd92a2 Solaris built archives in SVR4 and XPG4 styles.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17980 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 03:41:57 +00:00
Reid Spencer
f5d957fb1f A test file that goes into the test archive.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17978 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 03:24:02 +00:00
Reid Spencer
9692e39afe Obligatory DejaGnu/expect file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17974 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 02:26:35 +00:00
Chris Lattner
2dee43d317 New testcase that crashes licm
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17912 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-17 17:39:19 +00:00
Chris Lattner
154113b78c New testcase for recent patch to SCCP, thanks to Nate Begeman for pointing
out this recent regression


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17898 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-16 16:39:20 +00:00
Chris Lattner
826c47ea5b New testcase. Believe it or not, this happens a LOT in vortex
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17745 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-14 20:41:39 +00:00
Chris Lattner
6e54db0852 New testcase: the phi can be eliminated if the casts are sucked into it.
Note that this reduces code size anyway (as well as making further
optimizations simpler) so it's always a win.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17739 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-14 19:12:17 +00:00
Chris Lattner
e58b25490b Fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17738 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-14 17:54:58 +00:00
Chris Lattner
56ef3aebd8 add a testcase, which we already handle
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17737 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-14 17:54:27 +00:00
Chris Lattner
f2c83db935 Oops, make this test the right thing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17731 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-14 06:11:41 +00:00