Commit Graph

320 Commits

Author SHA1 Message Date
Zhou Sheng
febca3499e Commit first round work of PR1373. "noalias" is now fully supported in
VMCore, BitCode, and Assembly. Documentation and test case paramattrs.ll
updated also.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37432 91177308-0d34-0410-b5e6-96231b3b80d8
2007-06-05 05:28:26 +00:00
Reid Spencer
5f0d16dd62 Make sure we can round-trip an escaped value in a name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37259 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-19 07:22:24 +00:00
Chris Lattner
51eeb6e536 remove libbzip2 from this. This should use llvm-config or something.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36879 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-06 19:21:48 +00:00
Anton Korobeynikov
a80e1181b7 Implement review feedback. Aliasees can be either GlobalValue's or
bitcasts of them.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36537 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-28 13:45:00 +00:00
Chris Lattner
83f241ec61 not fully implemented yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36530 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-28 06:02:13 +00:00
Andrew Lenharth
b7522c7a7c An example for PR1362
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36484 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-26 19:28:33 +00:00
Anton Korobeynikov
8b0a8c84da Implement aliases. This fixes PR1017 and it's dependent bugs. CFE part
will follow.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36435 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-25 14:27:10 +00:00
Reid Spencer
eb1d74e0c8 For PR1319:
Remove && from the end of the lines to prevent tests from throwing run
lines into the background. Also, clean up places where the same command
is run multiple times by using a temporary file.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36142 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 17:36:08 +00:00
Reid Spencer
78fb2acea2 Changes to fix problems with "make check". Apparently you can redefine
functions and Tcl's just tickled with that. The fix is to give the "new"
test system a different interface function name.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36022 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 22:51:29 +00:00
Reid Spencer
90882454bd Try some alternative syntax.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36018 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 22:27:05 +00:00
Reid Spencer
70718366d9 Simplify this test and correct redirection for Tcl exec.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36001 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 17:49:06 +00:00
Reid Spencer
af6676df04 For PR1319:
Changes necessary for conversion of this directory to run the tests
under the llvm.exp version of llvm_runtest


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35993 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 16:40:08 +00:00
Reid Spencer
0c801b1767 Fix a missing -f that the new llvm.exp found.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35988 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 09:45:16 +00:00
Reid Spencer
0837479aa7 Fix a missing -f caught by the new llvm.exp script.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35987 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 09:43:30 +00:00
Chris Lattner
558385fd93 vector compares aren't allowed. It doesn't make sense to have an xfailed
test to remind us of this.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35949 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-12 18:21:52 +00:00
Reid Spencer
78732c2d8a The hello pass actually requires a function to chew on!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35937 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-12 01:12:54 +00:00
Reid Spencer
560b7f3df0 Fix a guard that is supposed to guard against mistakes like this patch fixes!
We *really* need to be running these with tcl's "exec" to catch the errors.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35928 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-11 22:40:46 +00:00
Reid Spencer
e4a04248fa The "Hello" message is written on stderr so make sure it is duplicated to
stdout so the grep can match it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35925 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-11 21:30:05 +00:00
Reid Spencer
2a70657b5f Add a test case for PR1318.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35923 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-11 21:14:53 +00:00
Reid Spencer
6015a1cbc5 Use the new %link variable to make this test portable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35921 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-11 21:00:00 +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
6b8a6b50d9 Add a test case for testing basic IR features via llvm2cpp. This helps find
bit rot in llvm2cpp and also tests the LLVM C++ IR in ways that llvm-as
doesn't.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35917 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-11 19:54:37 +00:00
Reid Spencer
b18cbfe41d Make sure upgrade doesn't fail on this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35916 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-11 19:36:27 +00:00
Reid Spencer
14f6dbff30 Upgrade this file completely instead of downgrading it. Make sure that
false positives aren't made.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35913 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-11 17:51:03 +00:00
Reid Spencer
98a1a7151e Make sure this test uses llvm-upgrade.
Don't allow false positives.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35900 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-11 12:46:06 +00:00
Reid Spencer
03703f0817 Fix to not give false positives.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35895 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-11 12:04:33 +00:00
Reid Spencer
a3c533a716 For PR1297:
Update these test cases to use proper signatures for bswap which is now
and overloaded intrinsic. Its name must be of the form llvm.bswap.i32.i32
since both the parameter and the result or of type "iAny". Also, the
bit counting intrinsics changed to always return i32.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35548 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-01 07:36:28 +00:00
Reid Spencer
5373b721c0 Remove use of implementation keyword.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35412 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-28 02:38:26 +00:00
Reid Spencer
c2df07095c Add tests for nounwind and noreturn function attributes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35261 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-22 02:15:17 +00:00
Reid Spencer
908504347b For PR411:
Update these tests to not use the same name even though the type of the
value differs. After PR411 hits, type planes will be gone and it will be
illegal for a name to be used twice, regardless of type.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33660 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-30 16:16:01 +00:00
Reid Spencer
e3ff5ada8a For PR761:
Remove "target endian/pointersize" or add "target datalayout" to make
the test parse properly or set the datalayout because defaults changes.

For PR645:
Make global names use the @ prefix.

For llvm-upgrade changes:
Fix test cases or completely remove use of llvm-upgrade for test cases
that cannot survive the new renaming or upgrade capabilities.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33533 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-26 08:25:06 +00:00
Andrew Lenharth
41f8cb9390 Packed structs use packed struct initializers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33014 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-08 18:15:35 +00:00
Reid Spencer
161a4c9d79 Redefinition of functions is no longer permitted.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33000 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 19:33:49 +00:00
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
Chris Lattner
9bbcf09431 testcases for undefined and unreachable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17058 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-16 18:24:11 +00:00
Reid Spencer
bf60a09987 Added a test case for packed types. Test case kindly provided by Brad Jones
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15939 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-20 06:02:24 +00:00
Reid Spencer
c5b27621e0 bug 263:
Add target triple and dependent libraries support to this test.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15213 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-25 18:09:47 +00:00
Chris Lattner
6c142300c2 You cannot pass functions by value, what does that even mean??
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14833 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-14 23:14:07 +00:00
Chris Lattner
f05591d359 New, horrible, testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14829 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-14 22:59:47 +00:00
Chris Lattner
5e9a7ca75a Right, stop being silly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14184 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-15 21:29:40 +00:00
Chris Lattner
6c07f30dbe Add a nan, stop testing isnan
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14183 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-15 21:29:01 +00:00
Alkis Evlogimenos
9685372062 Add the isunordered intrinsic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14159 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-12 19:19:14 +00:00
Chris Lattner
86ee776681 I misled Alkis: LLVM should have isnan, not isunordered.
isunordered(X, Y) === isnan(X) | isnan(Y)

Remove isunordered, add isnan.

Modernize testcase


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14133 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-11 02:29:57 +00:00
Alkis Evlogimenos
fd39b30a7a Add feature test for llvm intrinsics. It currently contains only the "isunordered" intrinsic
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14126 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-11 01:06:40 +00:00
Chris Lattner
25e6e9949e Update test to new style
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9327 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 15:36:21 +00:00
John Criswell
8324fa7cf2 These scripts are no longer needed. They have been replaced by QMTest.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8929 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 19:07:00 +00:00
John Criswell
aadb55fded Moved wierdnames.ll to weirdnames.ll. The new name is spelled correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8711 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-25 17:44:32 +00:00
John Criswell
7f8e3aff0e Removing Makefile. The QMTest program now handles the running of these tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8547 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-15 20:18:06 +00:00
Chris Lattner
bcaf286f55 New testcase for non-simple variable and type names
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8048 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-22 05:40:04 +00:00
Chris Lattner
22b1fa0ef2 Add test for new zeroinitializer token
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6936 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 20:01:03 +00:00
Chris Lattner
b7009c6cae Remove obsolete support for LD_LIBRARY_PATH
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6815 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-20 23:01:23 +00:00
John Criswell
a2e89c6f38 Updated to the new Makefile.common.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6814 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-20 21:37:31 +00:00
John Criswell
259a144ef5 The modifications to LD_LIBRARY_PATH now add the specified paths to the
beginning of LD_LIBRARY_PATH as opposed to simply replacing it.
This allows users to use LD_LIBRARY_PATH when running tests (useful for
when they have installed their own version of GCC).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6800 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-20 16:14:49 +00:00
Chris Lattner
fac0ecabf1 Fix to mesh with Johns recent changes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6754 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-17 20:55:04 +00:00
Chris Lattner
6d95257a91 Test the whole range of varargs handling stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6034 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-08 03:46:51 +00:00
Chris Lattner
92858ed562 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6025 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-08 02:39:37 +00:00
Chris Lattner
0bc0f47845 Add testcase for target information
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5842 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-22 19:06:48 +00:00
Chris Lattner
f5c1f08df6 ADd newline to end of file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5841 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-22 18:43:23 +00:00
Chris Lattner
681cfb9ab4 Add a simple test for hex constant integers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5803 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-17 22:19:23 +00:00
Chris Lattner
056e84c5b6 Fix testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5746 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-18 22:53:19 +00:00
Chris Lattner
7209bfff92 - Cleaned up all of the test/Feature tests to not use uint's with
getelementptr instructions and not to add pointers.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4049 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-06 22:43:49 +00:00
Chris Lattner
c5eafb57da Remove old crusty test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4048 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-06 22:35:56 +00:00
Chris Lattner
47dd0c343c Test "external" modifier on global variable
Fix getelementptr instruction to use long isntead of uint index


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4047 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-06 22:32:38 +00:00
Chris Lattner
6458c31c67 Covnert tests to not use indexed load/stores
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3454 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 16:04:03 +00:00
Chris Lattner
5d338349e3 Test the C backend on all of the feature tests as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3437 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-21 23:52:15 +00:00
Chris Lattner
750b9b080d Fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3361 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-16 19:34:33 +00:00
Chris Lattner
85907a64c2 Convert constexpr over to new syntax
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3359 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-15 21:14:39 +00:00
Chris Lattner
d1c58ac7c3 Make 'features' testsuite work with the /shared changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3357 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-15 19:49:06 +00:00
Chris Lattner
83a278efad Convert testcase to use correct syntax
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3356 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-15 19:48:48 +00:00
Chris Lattner
53b7f26150 Remove invokation of cleangcc pass which has been renamed, and is unneccesary anyway
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3159 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-30 18:01:06 +00:00
Chris Lattner
7e1635e895 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3022 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-23 18:21:12 +00:00
Vikram S. Adve
0850978368 Added duplicate constant expressions to test uniqueness support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2908 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-15 18:18:45 +00:00
Vikram S. Adve
b26ff625f2 Minor additions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2903 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-14 23:18:33 +00:00
Vikram S. Adve
37d0e7e3fe Test the handling of constant expressions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2889 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-14 22:39:02 +00:00
Chris Lattner
740d3cdabd Remove spaces from function names
While I was at it, I converted functions to new style % name


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2725 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-22 22:28:27 +00:00
Chris Lattner
9488e1bf26 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2724 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-22 22:17:54 +00:00
Chris Lattner
8fba3a0f3a Eliminate usage of function level constant pool
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2450 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-02 21:52:35 +00:00
Chris Lattner
978d57f6a7 Use unified diffs with gnu diff instead of old diffs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2449 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-02 21:51:55 +00:00
Chris Lattner
0ed4833986 Fix for buggy test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2267 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-16 21:31:08 +00:00
Chris Lattner
434c280a91 test/Features should not contain whole programs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1734 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-12 15:21:57 +00:00
Vikram S. Adve
90c511cd18 Added command to build SPARC executable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1730 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-11 22:50:17 +00:00
Vikram S. Adve
289e74a4ba Simple fibonacci test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1729 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-11 22:48:18 +00:00
Chris Lattner
8b309de132 Testcase broken - Entry node of method cannot have predecessors!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1597 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-31 00:25:00 +00:00
Chris Lattner
fa149909ab Failure.sh moved up a level
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1569 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 20:39:56 +00:00
Chris Lattner
9363884abe Initial checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1564 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 19:42:52 +00:00
Chris Lattner
8cb23b2cf9 Change test scripts so that they do not stop on failure, they just print
an error message


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1563 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 18:04:21 +00:00
Chris Lattner
f2a1dbc1e3 Add a path to LD_LIBRARY_PATH so that programs can find the stdC++ libraries
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1505 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-21 06:50:08 +00:00
Chris Lattner
f493a569c3 Update LLVM tests to use new pointer indexing, and remove unsized array test support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1474 91177308-0d34-0410-b5e6-96231b3b80d8
2001-12-14 16:46:53 +00:00
Chris Lattner
13d38cd805 Rename irreducible to cfgstructures.ll Include other interesting structures
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1387 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-26 19:16:37 +00:00
Chris Lattner
f6e54d0ab7 MAke sure diffs match
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1386 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-26 19:15:25 +00:00
Chris Lattner
4d631b85c1 Test array indexing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1349 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-26 17:02:56 +00:00
Chris Lattner
2305b6c3a7 Start testing the new cleangcc pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1067 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-31 06:36:34 +00:00
Chris Lattner
b82f5e7c00 Test bitwise operations
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1025 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-29 13:56:42 +00:00
Vikram S. Adve
ffcaa7bb00 Add calls to print results in fib, simpleadd and sumarray.
indirectcall is the same as fib but uses function pointers.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@996 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-28 21:16:34 +00:00
Vikram S. Adve
b40acbe8c2 Added a string global variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@796 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-14 23:13:45 +00:00
Chris Lattner
5bc20c7fe3 New testcase for testing constant pointers to globals
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@784 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-13 07:16:11 +00:00
Chris Lattner
a6f1ac40a4 Use null keyword instead of kludge
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@778 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-13 07:05:51 +00:00
Chris Lattner
49ca7aae44 Add more function call and prototype specific tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@777 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-13 07:05:07 +00:00
Vikram S. Adve
25e288fd92 Moved first function to "simpleadd.ll".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@716 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-10 20:12:15 +00:00
Chris Lattner
a861f966fd Fix broken testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@705 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-03 14:59:11 +00:00
Chris Lattner
da25716296 Adjust test cases to match the fact that methods are now explicit pointer values, not explicit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@702 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-03 14:50:12 +00:00
Chris Lattner
fe5e584cd9 Modify testcases for new LLVM const syntax
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@698 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-03 01:48:04 +00:00
Chris Lattner
6b12936ac3 Add a test for the new null keyword
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@669 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-30 22:47:06 +00:00
Chris Lattner
ead19d51ba Fix testcases to handle new syntax for construction and initializeation
Test constants


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@600 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-18 04:38:50 +00:00
Chris Lattner
70cc3397f8 Implement global variable support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@530 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-10 07:58:01 +00:00
Chris Lattner
6a8f91e3e9 New testcase to deal with lists
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@503 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-07 23:00:46 +00:00
Chris Lattner
f074cfc59e Executables all live in a nice centralized location now
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@500 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-07 22:58:50 +00:00
Chris Lattner
fd84023f5f Check opaque, abstract, and recursive type handling
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@479 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-07 20:59:20 +00:00
Chris Lattner
12ecac65f5 Symboltables are sorted in the bytecode, so no problems here!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@468 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-07 16:58:39 +00:00
Chris Lattner
877fbcd8d7 New test cases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@329 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-28 18:04:10 +00:00
Chris Lattner
dc693b8965 Changes to make test scripts more reliable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-28 17:40:15 +00:00
Chris Lattner
8ce0669a56 Work around a few 'sorting issues' with the bytecode output that causes the bytecode
not to be bit for bit identical.  This is a hack and should be fixed in the future


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-26 16:30:18 +00:00
Chris Lattner
c628b1790d New test for varargs functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-25 22:49:12 +00:00
Vikram S. Adve
71de0cea1d Version of testmemory to test alloca, load and store.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-21 12:46:12 +00:00
Chris Lattner
21341d3108 New test case for prototype support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-15 21:43:17 +00:00
Chris Lattner
91e1596c16 add coverage of newly implemented instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-08 23:23:30 +00:00
Chris Lattner
0908309e3c Neg instruction removed. Cast instruction implemented.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-08 04:57:15 +00:00
Chris Lattner
b351ab8c1b Put in test of SCCP. Watch out though, because we need to sort the
constant pool for the final check to work.  :(


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93 91177308-0d34-0410-b5e6-96231b3b80d8
2001-06-27 23:37:22 +00:00
Chris Lattner
a6b1f53451 Updates to support
* Changes in PHI node structure
* We now run DCE after inlining because it helps clean up LOTS of inlining
  gunk.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26 91177308-0d34-0410-b5e6-96231b3b80d8
2001-06-11 15:05:02 +00:00
Chris Lattner
c42266a870 inlining can change methods a second time, so don't rerun inliner when testing for
differences in optimizations


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12 91177308-0d34-0410-b5e6-96231b3b80d8
2001-06-07 17:00:00 +00:00
Chris Lattner
009505452b Initial revision
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2 91177308-0d34-0410-b5e6-96231b3b80d8
2001-06-06 20:29:01 +00:00