Commit Graph

273 Commits

Author SHA1 Message Date
Dale Johannesen
f6a15eb1a1 tests for struct/union as input operands to asm.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35976 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-13 22:54:11 +00:00
Dale Johannesen
39cd6f1662 testcases for function linkage
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35955 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-12 21:01:53 +00:00
Devang Patel
cfa71e026d New test case for PR 1321.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35934 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-12 00:32:43 +00:00
Chris Lattner
efebe444aa new testcase.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35931 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-11 23:45:16 +00:00
Chris Lattner
e6a2c4b989 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35927 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-11 22:36:10 +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
Dale Johannesen
285d96e63f testcase for padding before zero-length fields.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35687 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-05 19:05:43 +00:00
Devang Patel
13eb4c6587 New tests for Packed structs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35685 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-05 17:07:48 +00:00
Jeff Cohen
00361004a6 Fix some FreeBSD/amd64 regressions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35675 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-04 22:07:44 +00:00
Anton Korobeynikov
779dff1eee Add testcase for correct sret handling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35562 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-01 22:03:04 +00:00
Duncan Sands
320c6e97df Testcase for the problem worked around in
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070319/046204.html


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35554 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-01 15:29:02 +00:00
Chris Lattner
431b4d51a7 llvm-gcc now requires -fnested-functions to enable them in C.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35217 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-20 17:34:31 +00:00
Duncan Sands
3a7f7ab73f Test handling of structs with multiple variable-sized fields.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35212 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-20 14:13:20 +00:00
Reid Spencer
c1a6e30274 Use opt instead of gccas.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35168 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-19 18:25:55 +00:00
Reid Spencer
202a445ed9 Fix the pattern.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34994 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-07 00:39:11 +00:00
Reid Spencer
230b8c2fd1 Make this test more reliable across platforms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34993 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-07 00:32:12 +00:00
Reid Spencer
f429e82c98 Don't run lli in llvm-test. Instead just check that the datalayout string
is the right length.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34973 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-06 17:48:25 +00:00
Reid Spencer
2967c5012b Fix this to put its output in the output directory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34971 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-06 17:44:43 +00:00
Reid Spencer
7ca0689b9b Test to ensure that data layout is generated correctly for host platform.
This is for PR1242.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34944 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-06 03:00:17 +00:00
Chris Lattner
68cbcee824 testcase for PR1233
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34840 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-02 07:29:59 +00:00
Chris Lattner
876e5942bc new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34611 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-25 22:02:01 +00:00
Chris Lattner
96c2f349f0 this passes now
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34426 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-19 20:20:04 +00:00
Chris Lattner
7824cc625b testcase for PR1170
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34366 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-17 05:44:57 +00:00
Chris Lattner
4b0d93a7b5 new testcase for -fwritable-strings
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34365 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-17 05:07:40 +00:00
Chris Lattner
946b72af75 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34361 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-17 01:44:21 +00:00
Reid Spencer
1bb52e00ac Eliminate the use of gccas in the test suite.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34088 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-09 15:15:21 +00:00
Chris Lattner
f596a97287 New testcase for PR947
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34038 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-08 04:34:03 +00:00
Chris Lattner
d0813e47c2 llvm-gcc3 is gone
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34037 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-08 04:31:15 +00:00
Chris Lattner
12f0c7b9cf new testcase for nested functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34017 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-07 23:28:08 +00:00
Chris Lattner
1125d241e0 new testcase for 1174, currently xfailed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33898 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-05 03:56:59 +00:00
Anton Korobeynikov
8227d886b8 Test for PR1173
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33895 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-05 02:28:56 +00:00
Chris Lattner
06b59eb161 fix bug number
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33894 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-05 02:26:07 +00:00
Chris Lattner
464c19e654 test for pr1173
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33893 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-05 02:19:09 +00:00
Chris Lattner
3ac8f5b042 testcase for PR1175
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33891 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-04 23:55:04 +00:00
Chris Lattner
9f4fbba356 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33493 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-25 02:52:33 +00:00
Evan Cheng
6bc191a8ec Fix test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33464 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-23 17:49:33 +00:00
Chris Lattner
3af8c6ee61 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33416 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-21 00:56:42 +00:00
Reid Spencer
011cf09ddd Make this test actually test what its supposed to test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33369 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-19 21:06:38 +00:00
Reid Spencer
44d59b0daf The Regression directory is now gone.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33297 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-17 08:01:13 +00:00
Reid Spencer
4af33c2605 Add a test case for bit accurate integer types in llvm-gcc. This is
XFAILed for now until llvm-gcc changes are committed.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33261 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-16 18:40:08 +00:00
Chris Lattner
dcec14eb88 verify that hidden visibility support never goes away
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33205 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-14 18:57:37 +00:00
Chris Lattner
8d648f711b testcase for pr1083
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32964 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-06 23:38:37 +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
e4d87aa2de For PR950:
This patch removes the SetCC instructions and replaces them with the ICmp
and FCmp instructions. The SetCondInst instruction has been removed and
been replaced with ICmpInst and FCmpInst.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32751 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-23 06:05:41 +00:00
Chris Lattner
66bdd18a4b New testcase for llvm-gcc bugfix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32594 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-15 06:49:20 +00:00
Reid Spencer
e558c68251 Use weak_import on linux, weak everywhere else. Makes test pass on Linux.
Checking for __APPLE_CC__ is useless as this just checks to see if the
compiler is llvm-gcc, which we know it is.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32158 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-03 16:40:08 +00:00
Chris Lattner
d28442ee96 enable this now that codegen support is in place
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32076 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-01 18:04:08 +00:00
Chris Lattner
be737bb006 new testcase to verify external weak continues to work
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32064 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-01 07:14:26 +00:00
Reid Spencer
e16746d92d Alter these tests to ensure they match a "test $1, X" X86 instruction that
is now generated by the LLVM backend for "trunc to bool" instructions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31935 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-27 05:08:03 +00:00
Reid Spencer
3da59db637 For PR950:
The long awaited CAST patch. This introduces 12 new instructions into LLVM
to replace the cast instruction. Corresponding changes throughout LLVM are
provided. This passes llvm-test, llvm/test, and SPEC CPUINT2000 with the
exception of 175.vpr which fails only on a slight floating point output
difference.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31931 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-27 01:05:10 +00:00