Commit Graph

112 Commits

Author SHA1 Message Date
John Criswell
e644ef7b09 Convert .cvsignore files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37801 91177308-0d34-0410-b5e6-96231b3b80d8
2007-06-29 16:35:07 +00:00
Reid Spencer
45d6764ca1 Add a test case for shl of APInt integers > 64 bits by 0 shift amount.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37009 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-12 17:59:55 +00:00
Reid Spencer
0504744409 Add a test case for testing the LLI interpreter wrt bitcast of fp to integer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36732 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-04 03:35:17 +00:00
Reid Spencer
a9338b6195 For PR1319: Upgrade to new test harness
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36070 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 10:26:05 +00:00
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
Reid Spencer
3ca56169e7 Make sure the value passed to test function is initialized.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33764 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-01 21:58:46 +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
Reid Spencer
b60528b8ab For PR950:
Test needs to be upgraded for the forthcoming FCmpInst patch.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32683 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-19 19:55:17 +00:00
Reid Spencer
81daddbf0d For PR950:
These tests need to be upgraded in preparation for the SETCC patch.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32668 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-19 02:09:20 +00:00
Reid Spencer
4dc9e5ac0d These tests need llvm-upgrade. This fixes last night's nightly test fallout.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32154 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-03 16:17:19 +00:00
Reid Spencer
69ccadd753 Use the llvm-upgrade program to upgrade llvm assembly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32115 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-02 04:23:10 +00:00
Chris Lattner
0f3961e4d0 Don't test an example
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29301 91177308-0d34-0410-b5e6-96231b3b80d8
2006-07-26 20:33:20 +00:00
Chris Lattner
f0dee9b36a This test is buggy: printf is a varargs function. This fixes the test with
the PPC JIT


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28375 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-17 23:43:56 +00:00
Evan Cheng
eba0bf5aff PR736 has already been fixed. Remove XFAIL marker.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28362 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-17 20:21:44 +00:00
Chris Lattner
3afb81e8f3 Try xfailing this
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27669 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-13 18:15:24 +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
Chris Lattner
aad707b2ff Fix a bug in the testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24579 91177308-0d34-0410-b5e6-96231b3b80d8
2005-12-03 17:20:57 +00:00
Chris Lattner
8e22200f2b new testcase for PR672
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24577 91177308-0d34-0410-b5e6-96231b3b80d8
2005-12-03 07:14:47 +00:00
John Criswell
c0c186d140 Merged from RELEASE_16.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24243 91177308-0d34-0410-b5e6-96231b3b80d8
2005-11-08 21:11:33 +00:00
Reid Spencer
87df3636e1 Add a test that runs the ParallelJIT example program to ensure that the
JIT can run against a multi-threaded program without getting its data
structures messed up. Also had to add the examples directory to the path
for the tests so that ParallelJIT can be found.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22415 91177308-0d34-0410-b5e6-96231b3b80d8
2005-07-13 00:35:12 +00:00
Chris Lattner
47b72fbf29 Fix misspellings, patch contributed by Gabor Greif!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20341 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-27 06:14:21 +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
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
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
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
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
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
Tanya Lattner
28b372f1d3 Adding subdirectory dg.exp files in order to be able to use dejagnu to only run specific tests (located in some subdirectory of Regression)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17712 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-13 23:00:45 +00:00
Tanya Lattner
e9789ef994 Adding RUN lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17536 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-06 23:32:43 +00:00
Brian Gaeke
2c9a94cd4f Add more casts. You can never have enough casts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13408 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-07 21:10:28 +00:00
John Criswell
1b4fb5a32c Renamed intermediate values that used the same type and name as previous
values.  All of these files should assemble now.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10239 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-26 14:45:37 +00:00
Chris Lattner
cb64241795 update test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10092 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 19:47:36 +00:00
Chris Lattner
607c317488 Genericize tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10091 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 19:44:28 +00:00
Chris Lattner
639b052e7b Cleanup test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10090 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 19:42:12 +00:00
Chris Lattner
547eaefb0e New testcase, distilled from 176.gcc codegen failure
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9248 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-18 23:54:45 +00:00
Misha Brukman
14285c89e7 Renamed as' => llvm-as', dis' => llvm-dis'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8544 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-15 20:02:53 +00:00
Chris Lattner
f687adae9b New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8128 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-24 19:23:31 +00:00
Chris Lattner
ae1c1ffacd new testcase distilled from 176.gcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8094 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 23:38:59 +00:00
Chris Lattner
11a7fd1926 Simplify test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8025 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-21 21:33:19 +00:00
John Criswell
59da488266 Regression test that verifies that the JIT passes the environment to the
main() function.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8023 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-21 21:18:21 +00:00
Chris Lattner
f2d4916dc7 New testcase identified by misha, distilled from the 'ls' program
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7909 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-15 22:36:55 +00:00
Chris Lattner
699104633a Somehow "simplest" test became a hello world test. Rectify this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7353 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-27 00:28:10 +00:00
Chris Lattner
e03d077941 Get rid of control flow in the test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6957 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 22:53:07 +00:00
Misha Brukman
62d95e8227 Return 'int 0' instead of 'void' so that the test can be seen as successful.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6654 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-06 08:00:40 +00:00
Misha Brukman
a5e7f35daa Return 'int 0' instead of void so that the test can be considered to pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6653 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-06 07:58:29 +00:00
Misha Brukman
c068bbcc5a Simplify test case: remove declaration of __main() and call to it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6648 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-06 06:50:43 +00:00
Chris Lattner
340a2875b5 New testcase, the JIT currently handles this right, I just don't want to
reintroduce a bug that didn't have a testcase.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6623 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-05 16:57:55 +00:00