Commit Graph

147 Commits

Author SHA1 Message Date
Reid Spencer
0f5aed5648 Make the llvm-runtest function much more amenable by eliminating all the
global variables that needed to be passed in. This makes it possible to
add new global variables with only a couple changes (Makefile and llvm-dg.exp)
instead of touching every single dg.exp file.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35918 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-11 19:56:59 +00:00
Devang Patel
773fd38553 New test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35868 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-10 21:43:01 +00:00
Devang Patel
f1bc4ad1e5 New tests for Packed structs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35686 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-05 17:14:21 +00:00
Chris Lattner
87a6428bf5 not not!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35537 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-01 06:19:41 +00:00
Chris Lattner
8667c76a36 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35391 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-28 00:03:10 +00:00
Chris Lattner
87c178c41e add an explanatory comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33565 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-27 00:23:45 +00:00
Reid Spencer
090acfb111 Apparently the last commit is wrong. Reverted.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33564 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-27 00:21:01 +00:00
Reid Spencer
5fc73d9ac8 Remove a double negative.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33563 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-27 00:16:07 +00:00
Reid Spencer
235b791f2a PR1085 is fixed now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33029 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-09 00:05:55 +00:00
Reid Spencer
5e85cd2723 XFAIL this test until PR1085 mystery is resolved.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33019 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-08 19:38:58 +00:00
Chris Lattner
43ebbcde00 Testcase for PR1085
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32968 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 00:32:15 +00:00
Chris Lattner
774abfefeb New testcase for PR1084
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32967 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 00:02:20 +00:00
Reid Spencer
eacb7020ec For PR950:
Update the test suite to accommodate the change from signed integer types
to signless integer types. The changes were of only a few kinds:

1. Make sure llvm-upgrade is run on the source which does the bulk of the
   changes automatically.

2. Change things like "grep 'int'" to "grep 'i32'"

3. In several tests bitcasting caused the same name to be reused in the
   same type plane. These had to be manually fixed. The fix was (generally)
   to leave the bitcast and provide the instruction with a new name. This
   should not affect the semantics of the test. In a few cases, the
   bitcasts were known to be superfluous and irrelevant to the test case
   so they were removed.

4. One test case uses a bytecode file which needed to be updated to the
   latest bytecode format.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32789 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-31 06:02:00 +00:00
Chris Lattner
772aa15a4d new testcase for PR1027
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32063 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-01 06:34:56 +00:00
Tanya Lattner
b1ae34008a Should be xfailed for llvmgcc4 and NOT *. * means all platforms regardless of what llvmgcc you use.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31577 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-08 23:25:58 +00:00
Tanya Lattner
185f755deb Should be xfailed for llvm-gcc3.4
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31568 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-08 20:16:05 +00:00
Chris Lattner
c87dadee0c xfail this for the 1.9 release. This is PR984.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31471 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-05 23:27:36 +00:00
Chris Lattner
c160744e92 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31307 91177308-0d34-0410-b5e6-96231b3b80d8
2006-10-31 06:15:14 +00:00
Jim Laskey
b05969e2f7 Make sure C++ protection shows up in debug info
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30626 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-27 16:55:19 +00:00
Bill Wendling
17cdf7b0f4 Use "%llvmgxx" instead of "llvm-g++".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30580 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-22 07:09:01 +00:00
Chris Lattner
c168faacef Testcase that crashes the C++ FE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30273 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-12 16:28:14 +00:00
Chris Lattner
c0c9c5e443 (indirect) test for the __builtin_powi builtin which we now support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30224 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-09 06:02:16 +00:00
Chris Lattner
4d4f52221b Another case where a dead cast was causing the test to spuriously
fail with the new front-end.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27663 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-13 17:28:28 +00:00
Chris Lattner
412a0bf58d Don't get confused by dead casts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27662 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-13 17:26:54 +00:00
Tanya Lattner
9727555859 Added the ability to xfail based on llvmgcc version
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27635 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-12 21:57:40 +00:00
Reid Spencer
2676f83776 Tired of wading through cvs's list ? files that are generated when building
with srcdir = objdir to see what's okay and what's cruft. So, in goes a
bunch of .cvsignore files to shut cvs up about known output from running
"make check".


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27009 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-23 23:41:57 +00:00
Reid Spencer
9a7ce7a09f Add a RUN: line so this test doesn't fail.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26790 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-16 03:05:57 +00:00
Chris Lattner
b18966c28c new regression test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26579 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-06 23:52:37 +00:00
Chris Lattner
5df5940693 testcase that crashed the new CFE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26465 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-01 22:45:12 +00:00
Chris Lattner
a9562059c2 new testcase for PR602
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22495 91177308-0d34-0410-b5e6-96231b3b80d8
2005-07-21 21:55:08 +00:00
Jeff Cohen
b02fbfc485 Eliminate tabs and trailing spaces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21479 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-23 21:26:11 +00:00
Misha Brukman
fd93908ae8 Remove trailing whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21427 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-21 23:48:37 +00:00
Chris Lattner
81ddb8aaf3 New testcase for PR529
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20356 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-27 19:28:30 +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
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
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
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
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
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
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
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
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
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
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
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