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
Chris Lattner
5d43cbc6ac
Add a test for llvm.prefetch.
...
llvm-svn: 20379
2005-02-28 19:31:42 +00:00
Alkis Evlogimenos
5b9754bd48
Update testcase
...
llvm-svn: 18742
2004-12-10 05:39:57 +00:00
Chris Lattner
dfabbb29f2
Simple testcase for quoted label.
...
llvm-svn: 18740
2004-12-10 05:27:14 +00:00
Reid Spencer
ab8bf46913
Test floating point constants
...
llvm-svn: 18045
2004-11-20 07:29:51 +00:00
Tanya Lattner
f1e4bf5b66
Adding srcdir arg
...
llvm-svn: 18020
2004-11-19 22:45:25 +00:00
Tanya Lattner
5f06ac1762
Fix for objdir != srcdir.
...
llvm-svn: 17597
2004-11-07 23:24:21 +00:00
Tanya Lattner
84f7fda32f
Added RUN lines and dejagnu support for Feature dir.
...
llvm-svn: 17568
2004-11-07 06:08:43 +00:00
Chris Lattner
aef20fbbb9
testcases for undefined and unreachable
...
llvm-svn: 17058
2004-10-16 18:24:11 +00:00
Reid Spencer
b6388f725e
Added a test case for packed types. Test case kindly provided by Brad Jones
...
llvm-svn: 15939
2004-08-20 06:02:24 +00:00
Reid Spencer
8c1f5c5c64
bug 263:
...
Add target triple and dependent libraries support to this test.
llvm-svn: 15213
2004-07-25 18:09:47 +00:00
Chris Lattner
969d6fbcee
You cannot pass functions by value, what does that even mean??
...
llvm-svn: 14833
2004-07-14 23:14:07 +00:00
Chris Lattner
7e40f4f9c5
New, horrible, testcase
...
llvm-svn: 14829
2004-07-14 22:59:47 +00:00
Chris Lattner
75bcc59f1c
Right, stop being silly
...
llvm-svn: 14184
2004-06-15 21:29:40 +00:00
Chris Lattner
ce4ac095f0
Add a nan, stop testing isnan
...
llvm-svn: 14183
2004-06-15 21:29:01 +00:00
Alkis Evlogimenos
9d740629a0
Add the isunordered intrinsic.
...
llvm-svn: 14159
2004-06-12 19:19:14 +00:00
Chris Lattner
8f40e35934
I misled Alkis: LLVM should have isnan, not isunordered.
...
isunordered(X, Y) === isnan(X) | isnan(Y)
Remove isunordered, add isnan.
Modernize testcase
llvm-svn: 14133
2004-06-11 02:29:57 +00:00
Alkis Evlogimenos
2baa85e8be
Add feature test for llvm intrinsics. It currently contains only the "isunordered" intrinsic
...
llvm-svn: 14126
2004-06-11 01:06:40 +00:00
Chris Lattner
7231f7c431
Update test to new style
...
llvm-svn: 9327
2003-10-21 15:36:21 +00:00
John Criswell
f6e32a4164
These scripts are no longer needed. They have been replaced by QMTest.
...
llvm-svn: 8929
2003-10-07 19:07:00 +00:00
John Criswell
ca9987ef30
Moved wierdnames.ll to weirdnames.ll. The new name is spelled correctly.
...
llvm-svn: 8711
2003-09-25 17:44:32 +00:00
John Criswell
0638e4d64a
Removing Makefile. The QMTest program now handles the running of these tests.
...
llvm-svn: 8547
2003-09-15 20:18:06 +00:00
Chris Lattner
88052abce8
New testcase for non-simple variable and type names
...
llvm-svn: 8048
2003-08-22 05:40:04 +00:00
Chris Lattner
37d4db2e7b
Add test for new zeroinitializer token
...
llvm-svn: 6936
2003-06-28 20:01:03 +00:00
Chris Lattner
33993642f6
Remove obsolete support for LD_LIBRARY_PATH
...
llvm-svn: 6815
2003-06-20 23:01:23 +00:00
John Criswell
79915272fd
Updated to the new Makefile.common.
...
llvm-svn: 6814
2003-06-20 21:37:31 +00:00
John Criswell
fdad6ce774
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).
llvm-svn: 6800
2003-06-20 16:14:49 +00:00
Chris Lattner
947b0daccd
Fix to mesh with Johns recent changes
...
llvm-svn: 6754
2003-06-17 20:55:04 +00:00
Chris Lattner
ff32eea8f2
Test the whole range of varargs handling stuff
...
llvm-svn: 6034
2003-05-08 03:46:51 +00:00
Chris Lattner
0badea6a94
New testcase
...
llvm-svn: 6025
2003-05-08 02:39:37 +00:00
Chris Lattner
f234e9975a
Add testcase for target information
...
llvm-svn: 5842
2003-04-22 19:06:48 +00:00
Chris Lattner
8b6d5c58ae
ADd newline to end of file
...
llvm-svn: 5841
2003-04-22 18:43:23 +00:00
Chris Lattner
2bee86d9df
Add a simple test for hex constant integers
...
llvm-svn: 5803
2003-04-17 22:19:23 +00:00
Chris Lattner
90677c51c7
Fix testcase
...
llvm-svn: 5746
2003-03-18 22:53:19 +00:00
Chris Lattner
8ec8b2547f
- Cleaned up all of the test/Feature tests to not use uint's with
...
getelementptr instructions and not to add pointers.
llvm-svn: 4049
2002-10-06 22:43:49 +00:00
Chris Lattner
fa3f55cfaa
Remove old crusty test
...
llvm-svn: 4048
2002-10-06 22:35:56 +00:00
Chris Lattner
ee67e9ae51
Test "external" modifier on global variable
...
Fix getelementptr instruction to use long isntead of uint index
llvm-svn: 4047
2002-10-06 22:32:38 +00:00
Chris Lattner
33a01ef11d
Covnert tests to not use indexed load/stores
...
llvm-svn: 3454
2002-08-22 16:04:03 +00:00
Chris Lattner
d606c82005
Test the C backend on all of the feature tests as well.
...
llvm-svn: 3437
2002-08-21 23:52:15 +00:00
Chris Lattner
d0ded9899b
Fix typo
...
llvm-svn: 3361
2002-08-16 19:34:33 +00:00
Chris Lattner
e9e30c6b5a
Convert constexpr over to new syntax
...
llvm-svn: 3359
2002-08-15 21:14:39 +00:00
Chris Lattner
dbeb10fce0
Make 'features' testsuite work with the /shared changes.
...
llvm-svn: 3357
2002-08-15 19:49:06 +00:00
Chris Lattner
39c284caf7
Convert testcase to use correct syntax
...
llvm-svn: 3356
2002-08-15 19:48:48 +00:00
Chris Lattner
6bb917f083
Remove invokation of cleangcc pass which has been renamed, and is unneccesary anyway
...
llvm-svn: 3159
2002-07-30 18:01:06 +00:00
Chris Lattner
c5aa75ffa7
New testcase
...
llvm-svn: 3022
2002-07-23 18:21:12 +00:00
Vikram S. Adve
417ad4f124
Added duplicate constant expressions to test uniqueness support.
...
llvm-svn: 2908
2002-07-15 18:18:45 +00:00
Vikram S. Adve
a6b6b0c7f8
Minor additions.
...
llvm-svn: 2903
2002-07-14 23:18:33 +00:00
Vikram S. Adve
a916f2c8a7
Test the handling of constant expressions.
...
llvm-svn: 2889
2002-07-14 22:39:02 +00:00
Chris Lattner
bc42e52d9a
Remove spaces from function names
...
While I was at it, I converted functions to new style % name
llvm-svn: 2725
2002-05-22 22:28:27 +00:00
Chris Lattner
de32295d8c
New testcase
...
llvm-svn: 2724
2002-05-22 22:17:54 +00:00
Chris Lattner
732c209e83
Eliminate usage of function level constant pool
...
llvm-svn: 2450
2002-05-02 21:52:35 +00:00
Chris Lattner
b01e5db513
Use unified diffs with gnu diff instead of old diffs
...
llvm-svn: 2449
2002-05-02 21:51:55 +00:00
Chris Lattner
e629eda6b9
Fix for buggy test
...
llvm-svn: 2267
2002-04-16 21:31:08 +00:00
Chris Lattner
3426524f07
test/Features should not contain whole programs
...
llvm-svn: 1734
2002-02-12 15:21:57 +00:00
Vikram S. Adve
7b2b3520c7
Added command to build SPARC executable.
...
llvm-svn: 1730
2002-02-11 22:50:17 +00:00
Vikram S. Adve
f594fe3503
Simple fibonacci test.
...
llvm-svn: 1729
2002-02-11 22:48:18 +00:00
Chris Lattner
a10ce8584c
Testcase broken - Entry node of method cannot have predecessors!
...
llvm-svn: 1597
2002-01-31 00:25:00 +00:00
Chris Lattner
1fc5e98327
Failure.sh moved up a level
...
llvm-svn: 1569
2002-01-23 20:39:56 +00:00
Chris Lattner
ef10f397a5
Initial checkin
...
llvm-svn: 1564
2002-01-23 19:42:52 +00:00
Chris Lattner
7297fdeaa5
Change test scripts so that they do not stop on failure, they just print
...
an error message
llvm-svn: 1563
2002-01-23 18:04:21 +00:00
Chris Lattner
88e8ecff17
Add a path to LD_LIBRARY_PATH so that programs can find the stdC++ libraries
...
llvm-svn: 1505
2002-01-21 06:50:08 +00:00
Chris Lattner
eb81d53e40
Update LLVM tests to use new pointer indexing, and remove unsized array test support
...
llvm-svn: 1474
2001-12-14 16:46:53 +00:00
Chris Lattner
275cb9ec1f
Rename irreducible to cfgstructures.ll Include other interesting structures
...
llvm-svn: 1387
2001-11-26 19:16:37 +00:00
Chris Lattner
88a8ddae84
MAke sure diffs match
...
llvm-svn: 1386
2001-11-26 19:15:25 +00:00
Chris Lattner
792dc9978e
Test array indexing
...
llvm-svn: 1349
2001-11-26 17:02:56 +00:00
Chris Lattner
55c72cb47a
Start testing the new cleangcc pass
...
llvm-svn: 1067
2001-10-31 06:36:34 +00:00
Chris Lattner
1711dcbd29
Test bitwise operations
...
llvm-svn: 1025
2001-10-29 13:56:42 +00:00
Vikram S. Adve
4a6067f959
Add calls to print results in fib, simpleadd and sumarray.
...
indirectcall is the same as fib but uses function pointers.
llvm-svn: 996
2001-10-28 21:16:34 +00:00
Vikram S. Adve
0504bf4616
Added a string global variable.
...
llvm-svn: 796
2001-10-14 23:13:45 +00:00
Chris Lattner
1600652b24
New testcase for testing constant pointers to globals
...
llvm-svn: 784
2001-10-13 07:16:11 +00:00
Chris Lattner
a652ce3b1a
Use null keyword instead of kludge
...
llvm-svn: 778
2001-10-13 07:05:51 +00:00
Chris Lattner
dcd96760f6
Add more function call and prototype specific tests
...
llvm-svn: 777
2001-10-13 07:05:07 +00:00
Vikram S. Adve
cd23d1d9bd
Moved first function to "simpleadd.ll".
...
llvm-svn: 716
2001-10-10 20:12:15 +00:00
Chris Lattner
f208dcfa2b
Fix broken testcase
...
llvm-svn: 705
2001-10-03 14:59:11 +00:00
Chris Lattner
23356658b3
Adjust test cases to match the fact that methods are now explicit pointer values, not explicit
...
llvm-svn: 702
2001-10-03 14:50:12 +00:00
Chris Lattner
02a9c0a081
Modify testcases for new LLVM const syntax
...
llvm-svn: 698
2001-10-03 01:48:04 +00:00
Chris Lattner
edcc613706
Add a test for the new null keyword
...
llvm-svn: 669
2001-09-30 22:47:06 +00:00
Chris Lattner
5751150169
Fix testcases to handle new syntax for construction and initializeation
...
Test constants
llvm-svn: 600
2001-09-18 04:38:50 +00:00
Chris Lattner
da9755002f
Implement global variable support
...
llvm-svn: 530
2001-09-10 07:58:01 +00:00
Chris Lattner
9210ecaed8
New testcase to deal with lists
...
llvm-svn: 503
2001-09-07 23:00:46 +00:00
Chris Lattner
c0a673f133
Executables all live in a nice centralized location now
...
llvm-svn: 500
2001-09-07 22:58:50 +00:00
Chris Lattner
fc8566a1ed
Check opaque, abstract, and recursive type handling
...
llvm-svn: 479
2001-09-07 20:59:20 +00:00
Chris Lattner
5cc42aa810
Symboltables are sorted in the bytecode, so no problems here!
...
llvm-svn: 468
2001-09-07 16:58:39 +00:00
Chris Lattner
bf22504107
New test cases
...
llvm-svn: 329
2001-07-28 18:04:10 +00:00
Chris Lattner
44b939a328
Changes to make test scripts more reliable
...
llvm-svn: 319
2001-07-28 17:40:15 +00:00
Chris Lattner
3a7aa63841
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
llvm-svn: 306
2001-07-26 16:30:18 +00:00
Chris Lattner
6bd07a6f51
New test for varargs functions
...
llvm-svn: 301
2001-07-25 22:49:12 +00:00
Vikram S. Adve
18f60c7082
Version of testmemory to test alloca, load and store.
...
llvm-svn: 238
2001-07-21 12:46:12 +00:00
Chris Lattner
c7801d21f7
New test case for prototype support
...
llvm-svn: 199
2001-07-15 21:43:17 +00:00
Chris Lattner
f20469c1ab
add coverage of newly implemented instructions.
...
llvm-svn: 165
2001-07-08 23:23:30 +00:00
Chris Lattner
a682182f64
Neg instruction removed. Cast instruction implemented.
...
llvm-svn: 156
2001-07-08 04:57:15 +00:00
Chris Lattner
e32de63e07
Put in test of SCCP. Watch out though, because we need to sort the
...
constant pool for the final check to work. :(
llvm-svn: 93
2001-06-27 23:37:22 +00:00
Chris Lattner
2b82b181a2
Updates to support
...
* Changes in PHI node structure
* We now run DCE after inlining because it helps clean up LOTS of inlining
gunk.
llvm-svn: 26
2001-06-11 15:05:02 +00:00
Chris Lattner
cc45ae3d49
inlining can change methods a second time, so don't rerun inliner when testing for
...
differences in optimizations
llvm-svn: 12
2001-06-07 17:00:00 +00:00
Chris Lattner
2f7c963559
Initial revision
...
llvm-svn: 2
2001-06-06 20:29:01 +00:00