Commit Graph

137 Commits

Author SHA1 Message Date
Reid Spencer
7fa67b7805 For PR1077:
Remove the XFAIL now that global redefinitions are not permitted.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32935 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-05 21:51:57 +00:00
Reid Spencer
2fd6c65010 Fix the test case for the change in parameter attribute syntax. The @ is
no longer needed and the @(...) syntax has been dropped in favor of a
simple space separated list of attribute names.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32911 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-05 17:26:04 +00:00
Reid Spencer
dfa4b1aab6 For PR1077:
Split this test case into three cases. globalredefinition.ll just tests
that a global can be forward referenced. globalredefinition2.ll tests
that llvm-upgrade will warn about renaming duplicate global variables.
globalredefinition3.ll tests that llvm-as will generate an error on
duplicate global variables. This last test is currently XFAIL because
the restriction is not implemented yet.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32910 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-05 17:25:12 +00:00
Reid Spencer
4933af147a For PR1077:
Global variable definitions with the same name and same type are no longer
valid so don't attempt to test for this "feature".


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32909 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-05 17:22:13 +00:00
Reid Spencer
1b7a880c98 XFAIL this test until such time that code gen can handle a comparison of
packed types.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32863 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-04 03:06:23 +00:00
Reid Spencer
c01901c637 Add a test to ensure that we can assembly comparisons of packed values.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32854 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-04 00:29:09 +00:00
Reid Spencer
13701fa098 Test @zext and @sext fully as well as testing the "short" call syntax.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32851 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-04 00:03:37 +00:00
Reid Spencer
5f1397d677 Add a test case to test parameter attributes feature.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32850 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-03 23:54:02 +00:00
Reid Spencer
d45bff9095 Run llvm-upgrade on test to prepare for new assembly syntax.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32769 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-29 20:21:51 +00:00
Reid Spencer
505811e9dd Add some tests for negative constants to unsigned and large positive
constants to signed.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32717 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-20 17:27:58 +00:00
Reid Spencer
0be3ed886c Add a couple little tests for SExt/ZExt of constants of a sign that doesn't
match.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32647 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-18 01:11:46 +00:00
Reid Spencer
6a126513fc Add a test for constant folding of bitcast to/from floating point.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32446 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-11 21:25:10 +00:00
Andrew Lenharth
6ec10ef00c packed initializers too in the test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32365 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-08 18:45:38 +00:00
Andrew Lenharth
6e7be8345b feature test for packed structs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32363 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-08 18:36:24 +00:00
Reid Spencer
21fdb97a91 Remove old intrinsic declarations and usage.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32129 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-02 20:30:20 +00:00
Reid Spencer
72348df75e Remove a redundant RUN: line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32126 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-02 17:49:38 +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
0b44d6cb0a Fix some typos.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31897 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-23 16:45:52 +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
Reid Spencer
492196c89f Fix a problem where dejagnu won't accept the value of global tcl variable
"libdir" for some reason. Changing to llvmlibsdir instead fixes it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28526 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-28 07:22:42 +00:00
Reid Spencer
15d4059430 Provide an infrastructure for testing the llvm2cpp program (yet to be
committed). This infrastructure is only activated when RUNLLVM2CPP=1 is
specified on the make command line. Currently it is only supported in the
Feature test suite.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28525 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-28 04:21:40 +00:00
Chris Lattner
a831a6c1c5 new testcase for csretcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28413 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-19 22:00: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
Chris Lattner
f40210dd26 new testcase for shufflevector
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27508 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-08 01:17:42 +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
3f970fd567 new tests for actual inline asm expressions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25625 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-25 23:49:54 +00:00
Chris Lattner
52599e17b1 minor syntax change
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25566 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-24 00:37:20 +00:00
Chris Lattner
fb90fe35d0 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25562 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-23 23:24:13 +00:00
Reid Spencer
fd57ad787f Expand test to cover the non-overloaded variants of the arithmetic and
floating point intrinsics.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25431 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-19 01:17:06 +00:00
Robert Bocchino
f90a87a442 Test case for the insertelement operation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25409 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-17 20:07:30 +00:00
Chris Lattner
5e1b72c153 new testcase for extractelement instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25186 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-10 20:00:20 +00:00
Chris Lattner
02513db3b7 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24310 91177308-0d34-0410-b5e6-96231b3b80d8
2005-11-12 00:10:02 +00:00
Chris Lattner
abdf0f5327 add alignment info for globals and functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24213 91177308-0d34-0410-b5e6-96231b3b80d8
2005-11-06 06:52:11 +00:00
Chris Lattner
4e240c25e3 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24202 91177308-0d34-0410-b5e6-96231b3b80d8
2005-11-05 22:07:30 +00:00
Reid Spencer
298a3683d0 Fix this test case to actually test the new va_arg instruction not the
old vaarg instruction.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22256 91177308-0d34-0410-b5e6-96231b3b80d8
2005-06-18 20:27:32 +00:00
Andrew Lenharth
cc494e8312 new vararg test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22252 91177308-0d34-0410-b5e6-96231b3b80d8
2005-06-18 18:30:37 +00:00
Reid Spencer
87bb7c61ac Add note to self to complete the testing of all intrinsic functions as
specified in the LangRef document.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21807 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-09 04:47:32 +00:00
Chris Lattner
6dc7e6833b new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21750 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-06 22:33:44 +00:00
Chris Lattner
d100d4c3e9 test that tail call survives bytecodification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21728 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-06 06:18:33 +00:00
Andrew Lenharth
f166ec612e yea yea yea
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21673 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-03 17:00:48 +00:00
Andrew Lenharth
279a7b21bb pre add count tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21671 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-03 16:49:48 +00:00
Chris Lattner
c21e6c9799 This file is all commented out.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20454 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-05 17:28:37 +00:00
Chris Lattner
47adf21d06 Add a test for llvm.prefetch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20379 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-28 19:31:42 +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
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
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
e976d89aa9 Fix for objdir != srcdir.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17597 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 23:24:21 +00:00
Tanya Lattner
3f7706b5d2 Added RUN lines and dejagnu support for Feature dir.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17568 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 06:08:43 +00:00