Reid Spencer
cfa86314dd
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.
llvm-svn: 36022
2007-04-14 22:51:29 +00:00
Chris Lattner
89b4e282d6
manually upgrade test. Add a new test2. I have no way to see if this works
...
because of the tclification. :(
llvm-svn: 36019
2007-04-14 22:27:33 +00:00
Reid Spencer
8b3b77e30c
This test should have been updated with llvm 1.7!
...
llvm-svn: 36014
2007-04-14 20:21:37 +00:00
Reid Spencer
c49d7dd886
For PR1319:
...
Upgrade tests to work with new llvm.exp version of llvm_runtest.
llvm-svn: 36013
2007-04-14 20:13:02 +00:00
Reid Spencer
c3793d33d1
This test needs to use egrep.
...
llvm-svn: 36012
2007-04-14 20:02:51 +00:00
Reid Spencer
1b945f943e
Fix a test test llvm.exp found.
...
llvm-svn: 36006
2007-04-14 18:33:31 +00:00
Reid Spencer
42b10c8238
bool -> i1 (found by llvm.exp)
...
llvm-svn: 36005
2007-04-14 18:30:06 +00:00
Reid Spencer
78a3955c01
Fix a syntax error that llvm.exp found.
...
llvm-svn: 36004
2007-04-14 18:28:16 +00:00
Reid Spencer
c8edc6280f
Fix an "already-upgraded" test that llvm.exp found.
...
llvm-svn: 36003
2007-04-14 18:26:02 +00:00
Chris Lattner
3a22af9126
new testcase
...
llvm-svn: 35983
2007-04-14 01:17:38 +00:00
Chris Lattner
1d90754cf7
testcase for PR1201
...
llvm-svn: 35980
2007-04-14 00:19:36 +00:00
Reid Spencer
5263c69f0d
Add the SCCP regression tests for APInt expressions. These test cases
...
turned up some regressions that have since been fixed. We don't want to
loose the regression tests.
Test cases by Guoling Han.
llvm-svn: 35974
2007-04-13 22:33:10 +00:00
Reid Spencer
5059815af5
The "implementation" keyword is no more!
...
llvm-svn: 35919
2007-04-11 20:06:03 +00:00
Reid Spencer
56b310ae49
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.
llvm-svn: 35918
2007-04-11 19:56:59 +00:00
Chris Lattner
ec844dd102
adjust test
...
llvm-svn: 35907
2007-04-11 16:04:04 +00:00
Chris Lattner
0a1e870a6b
sext of compares.
...
llvm-svn: 35892
2007-04-11 06:57:54 +00:00
Chris Lattner
3ea6010b67
new testcase
...
llvm-svn: 35889
2007-04-11 06:52:24 +00:00
Devang Patel
4e19c7b1db
Add test case for PR 1154.
...
llvm-svn: 35865
2007-04-10 16:57:08 +00:00
Chris Lattner
5d7cf88b9a
new testcase
...
llvm-svn: 35851
2007-04-09 23:51:49 +00:00
Devang Patel
3fe57fd44f
Add check for opt crash.
...
llvm-svn: 35849
2007-04-09 23:40:15 +00:00
Devang Patel
f954669cc9
Add Loop Rotate test cases.
...
llvm-svn: 35838
2007-04-09 22:22:42 +00:00
Chris Lattner
34065e8986
new testcase for PR1304
...
llvm-svn: 35791
2007-04-09 01:37:35 +00:00
Chris Lattner
4fd4438601
new testcase for PR1286
...
llvm-svn: 35787
2007-04-09 01:10:13 +00:00
Chris Lattner
ebcaddce4b
this xform is correct, not an xfail
...
llvm-svn: 35766
2007-04-08 08:02:39 +00:00
Chris Lattner
3146667442
tweak this to test the right thing.
...
llvm-svn: 35762
2007-04-08 07:52:40 +00:00
Chris Lattner
769c8c5bc7
new testcase, should simplify down to a xor/and/xor sequence.
...
llvm-svn: 35759
2007-04-08 07:45:36 +00:00
Chris Lattner
afb410f066
testcase for PR1307
...
llvm-svn: 35705
2007-04-06 23:36:59 +00:00
Chris Lattner
d76ec48916
new testcase, update old one.
...
llvm-svn: 35699
2007-04-06 18:56:54 +00:00
Chris Lattner
0cb31c668d
new testcase that crashes globalopt
...
llvm-svn: 35688
2007-04-05 21:09:29 +00:00
Jeff Cohen
a42a5cc03c
Any add is wrong, regardless of type.
...
llvm-svn: 35671
2007-04-04 20:40:44 +00:00
Jeff Cohen
20800076a6
Get it right...
...
llvm-svn: 35670
2007-04-04 20:35:31 +00:00
Dale Johannesen
66c0a2b9e6
Test for transformConstExprCastCall fix.
...
llvm-svn: 35669
2007-04-04 19:18:16 +00:00
Jeff Cohen
bf47c569c7
Add new test.
...
llvm-svn: 35664
2007-04-04 16:11:23 +00:00
Chris Lattner
2083adbfb8
new testcase for PR1253
...
llvm-svn: 35611
2007-04-03 01:45:32 +00:00
Chris Lattner
d4258ba56c
fix this testcase so it passes
...
llvm-svn: 35604
2007-04-02 20:46:28 +00:00
Chris Lattner
095caddb5e
creative way to add one.
...
llvm-svn: 35583
2007-04-02 05:35:08 +00:00
Reid Spencer
09cacde5c5
Fix illegal assembly syntax.
...
llvm-svn: 35581
2007-04-02 03:24:47 +00:00
Reid Spencer
ff0b24925c
Add a test case to make sure that constant folding of the bit counting
...
intrinsics works.
llvm-svn: 35577
2007-04-02 01:45:31 +00:00
Reid Spencer
81c0ac434f
Revert the name changes for llvm.bswap to allow (and test) llvm-upgrade of
...
this intrinsic.
llvm-svn: 35566
2007-04-02 00:51:15 +00:00
Reid Spencer
f5e95d339f
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
Chris Lattner
f8977023f4
New testcase
...
llvm-svn: 35535
2007-04-01 05:34:53 +00:00
Reid Spencer
50ee6b8557
Remove use of implementation keyword.
...
llvm-svn: 35412
2007-03-28 02:38:26 +00:00
Chris Lattner
648d359fae
don't use 'not' when we can use a positive test
...
llvm-svn: 35402
2007-03-28 01:43:43 +00:00
Reid Spencer
f7af7d74e6
new test case for PR1280
...
llvm-svn: 35401
2007-03-28 01:43:35 +00:00
Reid Spencer
f1f6ade2b5
For PR1280:
...
Remove test cases for and/xor/add -> trunc/sext that use bit widths that
the targets cannot code gen.
llvm-svn: 35399
2007-03-28 01:35:28 +00:00
Chris Lattner
d95a054122
new testcase
...
llvm-svn: 35397
2007-03-28 01:31:33 +00:00
Reid Spencer
9d912513d1
Another test case for PR1271 where bad shift masks were generated.
...
llvm-svn: 35372
2007-03-26 23:48:52 +00:00
Reid Spencer
5bc306e0ea
Fix this test case to match output after a bug was fixed.
...
llvm-svn: 35359
2007-03-26 18:04:38 +00:00
Duncan Sands
c0e64ed143
Fix testsuite hang.
...
llvm-svn: 35355
2007-03-26 10:59:13 +00:00
Reid Spencer
e2ada5822c
Test case for PR1271 involving construction of a bad mask to replace a
...
shift instruction.
llvm-svn: 35349
2007-03-26 05:32:16 +00:00