Commit Graph

113 Commits

Author SHA1 Message Date
Reid Spencer
711679e21c Provide a test for int<->float and long<->double bitcasts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32445 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-11 20:40:28 +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
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
Reid Spencer
e5d4efa63e Promote GEP ubyte indices to uint. Backwards compatibility for 1.2 and
older features will be dropped soon and these test cases must not rely
on the upgrade capability.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31896 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-23 15:14:52 +00:00
Chris Lattner
c98deeb887 Update testcase with recent cbe change
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28455 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-24 20:52:08 +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
7a66641ba9 new testcase the CBE creates invalid C code for
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23474 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-27 20:52:30 +00:00
Chris Lattner
c544cece40 New testcase for PR618
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22983 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-23 20:22:07 +00:00
John Criswell
8bf0f64923 Regression test for PR#596: Make sure that negation of a minus doesn't
turn into a C predecrement operator.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22438 91177308-0d34-0410-b5e6-96231b3b80d8
2005-07-14 19:56:03 +00:00
Chris Lattner
13a04bcd07 new testcase that crashes the CBE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20518 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-08 16:19:02 +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
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
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
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
Chris Lattner
8408d0be90 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17709 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-13 22:21:15 +00:00
Tanya Lattner
1976abd4cc Changed to XFAIL
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17554 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 04:37:08 +00:00
Tanya Lattner
cd0aa818c8 Adding RUN lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17527 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-06 21:40:51 +00:00
Brian Gaeke
8a702e8e1b New version of Bill Wendling's PR33 patch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16050 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-25 19:00:42 +00:00
Chris Lattner
008fad0236 This testcase causes the CBE to generate code that is not legal C.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15601 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09 23:56:17 +00:00
Reid Spencer
8f6c42ba84 Added another test case for double FP constants as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15233 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-26 15:04:13 +00:00
Chris Lattner
8ea3f1b3bc Update test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15228 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-26 05:04:25 +00:00
Chris Lattner
c293cfa204 Make the test use the %A type
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13789 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-26 17:14:49 +00:00
John Criswell
fad5c3a646 Fixed test case to actually check for the static declaration.
Oops.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11886 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-26 22:56:13 +00:00
John Criswell
726f0b8d36 Regression tests for PR258 and PR259.
2004-02-26-FPNotPrintableConstants.llx ensures that constants used in an
LLVM program are declared static if they are assigned to global variables.
2004-02-26-LinkOnceFunctions.llx ensures that linkonce functions get the
weak attribute.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11885 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-26 22:55:11 +00:00
Chris Lattner
b83530f956 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11480 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-15 22:14:46 +00:00
Chris Lattner
d64e0df32b Add a testcase for the frameaddress and returnaddress intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11434 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-14 02:55:47 +00:00
Chris Lattner
aa82943a1d Update tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11418 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-13 23:33:17 +00:00
Brian Gaeke
95c03fd204 Strengthen test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10166 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-22 05:01:57 +00:00
Brian Gaeke
b1ef7d6e35 C Writer was dumping core on this test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10165 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-22 04:58:25 +00:00
Brian Gaeke
dd73e9d0d5 New testcase, reduced from DOOM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9568 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 22:54:56 +00:00
Chris Lattner
10be6a6c73 New testcase, which failes to compile. 252.eon hits this problem
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9440 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 19:25:53 +00:00
Chris Lattner
eea7cca366 Zero arg varargs functions are legal in LLVM, but not in C.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9425 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 17:31:33 +00:00
Chris Lattner
5139f2b549 Update test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9414 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 16:01:03 +00:00
Chris Lattner
dfaeb0e8b9 Test that we can emit global initializers that are not normal FP values
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9050 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-12 07:31:25 +00:00
John Criswell
f3534ab094 Updated to generate temporary files in the temporary directory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8724 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-26 16:43:51 +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
John Criswell
e3e7c474f2 Checkin of autoconf-style object root.
Updated TestRunner tests so that they work correctly in a separate object root
directory.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8383 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-06 15:15:04 +00:00
Chris Lattner
4097b2a963 New testcase for invoke support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6933 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 17:52:38 +00:00
Chris Lattner
a4610ec6ba New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6930 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 17:07:23 +00:00
Brian Gaeke
508a41b450 New test case for C Writer regression found in 256.bzip2
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6868 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-23 19:59:17 +00:00
Chris Lattner
f27aca9276 New testcases for bugs and the new DAE pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6693 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-16 12:05:38 +00:00
Chris Lattner
71799cda17 Testcase distilled from 255.vortex
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6525 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-02 03:07:54 +00:00
Chris Lattner
8afdc7de1c New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6494 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-31 23:27:10 +00:00
Chris Lattner
f3b467c243 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6171 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-13 20:11:21 +00:00
Chris Lattner
4dbaba4999 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6127 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-12 15:34:39 +00:00
Chris Lattner
25f088e223 Fix buggy tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5987 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-03 03:08:54 +00:00
Chris Lattner
91b5bbd47c Whoever checked this testcase in apparently never tested it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5957 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-26 17:44:17 +00:00
Nick Hildenbrandt
6d608154d6 Certain characters not getting escaped properly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4582 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-06 21:38:39 +00:00
Nick Hildenbrandt
baa2c40edb CBE doesn't alloc correctly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4474 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-31 18:23:09 +00:00
Chris Lattner
8de3fc6f2d New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4200 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-16 20:08:19 +00:00
Chris Lattner
8371299258 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4189 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-16 00:08:08 +00:00
Chris Lattner
90d7119211 New testcase for cbe
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3868 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-20 22:28:03 +00:00
Nick Hildenbrandt
c92779bcb0 New testcase for broken type printing for the cwriter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3867 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-20 21:44:32 +00:00
Chris Lattner
b7f804c058 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3556 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-31 00:24:54 +00:00
Chris Lattner
aa250b8067 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3510 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-26 20:49:42 +00:00
Chris Lattner
afadc96d28 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3399 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-20 16:01:23 +00:00
Chris Lattner
328d290e68 Testcase for anonymous recursive types
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3398 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-20 15:49:52 +00:00
Chris Lattner
0f7c8c29d3 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3395 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-19 23:10:52 +00:00
Chris Lattner
d366e4094a * Build with warnings
* Add a bunch of testcases.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3393 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-19 23:09:30 +00:00
Chris Lattner
94c75eccf1 New TEstcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2689 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-21 18:04:58 +00:00
Chris Lattner
1c1f558695 New C backend testcases with first testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2638 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-17 04:53:52 +00:00