Reid Spencer
c3d87685ad
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.
llvm-svn: 35548
2007-04-01 07:36:28 +00:00
Reid Spencer
44259a29c0
Remove use of implementation keyword.
...
llvm-svn: 35412
2007-03-28 02:38:26 +00:00
Reid Spencer
8f0bcc6b89
Add tests for nounwind and noreturn function attributes.
...
llvm-svn: 35261
2007-03-22 02:15:17 +00:00
Reid Spencer
af6a408117
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.
llvm-svn: 33660
2007-01-30 16:16:01 +00:00
Reid Spencer
ce380568b5
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.
llvm-svn: 33533
2007-01-26 08:25:06 +00:00
Andrew Lenharth
25ac8676ca
Packed structs use packed struct initializers
...
llvm-svn: 33014
2007-01-08 18:15:35 +00:00
Reid Spencer
968a5290f3
Redefinition of functions is no longer permitted.
...
llvm-svn: 33000
2007-01-07 19:33:49 +00:00
Reid Spencer
f7d59e282d
For PR1077:
...
Remove the XFAIL now that global redefinitions are not permitted.
llvm-svn: 32935
2007-01-05 21:51:57 +00:00
Reid Spencer
6acdd1973d
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.
llvm-svn: 32911
2007-01-05 17:26:04 +00:00
Reid Spencer
6bcc22ce57
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.
llvm-svn: 32910
2007-01-05 17:25:12 +00:00
Reid Spencer
fc899e6f74
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".
llvm-svn: 32909
2007-01-05 17:22:13 +00:00
Reid Spencer
1434f95410
XFAIL this test until such time that code gen can handle a comparison of
...
packed types.
llvm-svn: 32863
2007-01-04 03:06:23 +00:00
Reid Spencer
836567a9d8
Add a test to ensure that we can assembly comparisons of packed values.
...
llvm-svn: 32854
2007-01-04 00:29:09 +00:00
Reid Spencer
6fb16b1bce
Test @zext and @sext fully as well as testing the "short" call syntax.
...
llvm-svn: 32851
2007-01-04 00:03:37 +00:00
Reid Spencer
724ffc6cd0
Add a test case to test parameter attributes feature.
...
llvm-svn: 32850
2007-01-03 23:54:02 +00:00
Reid Spencer
399b10a48c
Run llvm-upgrade on test to prepare for new assembly syntax.
...
llvm-svn: 32769
2006-12-29 20:21:51 +00:00
Reid Spencer
21278e9932
Add some tests for negative constants to unsigned and large positive
...
constants to signed.
llvm-svn: 32717
2006-12-20 17:27:58 +00:00
Reid Spencer
0e60d55519
Add a couple little tests for SExt/ZExt of constants of a sign that doesn't
...
match.
llvm-svn: 32647
2006-12-18 01:11:46 +00:00
Reid Spencer
0fdba212a7
Add a test for constant folding of bitcast to/from floating point.
...
llvm-svn: 32446
2006-12-11 21:25:10 +00:00
Andrew Lenharth
ae5733ba6a
packed initializers too in the test
...
llvm-svn: 32365
2006-12-08 18:45:38 +00:00
Andrew Lenharth
23469cca1a
feature test for packed structs
...
llvm-svn: 32363
2006-12-08 18:36:24 +00:00
Reid Spencer
7d4eb03ceb
Remove old intrinsic declarations and usage.
...
llvm-svn: 32129
2006-12-02 20:30:20 +00:00
Reid Spencer
9d91281573
Remove a redundant RUN: line.
...
llvm-svn: 32126
2006-12-02 17:49:38 +00:00
Reid Spencer
d0e30dc5be
Use the llvm-upgrade program to upgrade llvm assembly.
...
llvm-svn: 32115
2006-12-02 04:23:10 +00:00
Reid Spencer
6c38f0bb07
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.
llvm-svn: 31931
2006-11-27 01:05:10 +00:00
Reid Spencer
3c3324c7fa
Fix some typos.
...
llvm-svn: 31897
2006-11-23 16:45:52 +00:00
Reid Spencer
0e43e15fc9
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.
llvm-svn: 31896
2006-11-23 15:14:52 +00:00
Reid Spencer
497120ef63
Fix a problem where dejagnu won't accept the value of global tcl variable
...
"libdir" for some reason. Changing to llvmlibsdir instead fixes it.
llvm-svn: 28526
2006-05-28 07:22:42 +00:00
Reid Spencer
633301acea
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.
llvm-svn: 28525
2006-05-28 04:21:40 +00:00
Chris Lattner
c4e9aff50f
new testcase for csretcc
...
llvm-svn: 28413
2006-05-19 22:00:54 +00:00
Tanya Lattner
27fba1761d
Added the ability to xfail based on llvmgcc version
...
llvm-svn: 27635
2006-04-12 21:57:40 +00:00
Chris Lattner
a348351da3
new testcase for shufflevector
...
llvm-svn: 27508
2006-04-08 01:17:42 +00:00
Reid Spencer
edde6be3d8
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".
llvm-svn: 27009
2006-03-23 23:41:57 +00:00
Chris Lattner
3ccaf6ecb0
new tests for actual inline asm expressions
...
llvm-svn: 25625
2006-01-25 23:49:54 +00:00
Chris Lattner
a1280ad4d9
minor syntax change
...
llvm-svn: 25566
2006-01-24 00:37:20 +00:00
Chris Lattner
243f7296e5
new testcase
...
llvm-svn: 25562
2006-01-23 23:24:13 +00:00
Reid Spencer
e64af05eed
Expand test to cover the non-overloaded variants of the arithmetic and
...
floating point intrinsics.
llvm-svn: 25431
2006-01-19 01:17:06 +00:00
Robert Bocchino
1763a44ac2
Test case for the insertelement operation.
...
llvm-svn: 25409
2006-01-17 20:07:30 +00:00
Chris Lattner
13d1474d43
new testcase for extractelement instruction
...
llvm-svn: 25186
2006-01-10 20:00:20 +00:00
Chris Lattner
d6f99000e6
new testcase
...
llvm-svn: 24310
2005-11-12 00:10:02 +00:00
Chris Lattner
cc99ec2a14
add alignment info for globals and functions
...
llvm-svn: 24213
2005-11-06 06:52:11 +00:00
Chris Lattner
6ce0ad3f74
new testcase
...
llvm-svn: 24202
2005-11-05 22:07:30 +00:00
Reid Spencer
ef0d7c6af6
Fix this test case to actually test the new va_arg instruction not the
...
old vaarg instruction.
llvm-svn: 22256
2005-06-18 20:27:32 +00:00
Andrew Lenharth
435054cd1b
new vararg test
...
llvm-svn: 22252
2005-06-18 18:30:37 +00:00
Reid Spencer
3992dbd2a0
Add note to self to complete the testing of all intrinsic functions as
...
specified in the LangRef document.
llvm-svn: 21807
2005-05-09 04:47:32 +00:00
Chris Lattner
f71853e277
new testcase
...
llvm-svn: 21750
2005-05-06 22:33:44 +00:00
Chris Lattner
2c9a46e758
test that tail call survives bytecodification
...
llvm-svn: 21728
2005-05-06 06:18:33 +00:00
Andrew Lenharth
38cc7bacb4
yea yea yea
...
llvm-svn: 21673
2005-05-03 17:00:48 +00:00
Andrew Lenharth
bf50ff58ae
pre add count tests
...
llvm-svn: 21671
2005-05-03 16:49:48 +00:00
Chris Lattner
02f0d7bcc9
This file is all commented out.
...
llvm-svn: 20454
2005-03-05 17:28:37 +00:00