Commit Graph

78 Commits

Author SHA1 Message Date
Reid Spencer
6e87ec4351 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.

llvm-svn: 36142
2007-04-16 17:36:08 +00:00
Reid Spencer
ede8c3b92c For PR1319:
Make use of the END. facility on all files > 1K so that we aren't wasting CPU
cycles searching for RUN: lines that we'll never find.

llvm-svn: 36059
2007-04-15 07:38:21 +00:00
Reid Spencer
1114b48736 Fix this test in a slightly more obvious way.
llvm-svn: 36058
2007-04-15 07:37:04 +00:00
Zhou Sheng
8e58ad31ae This test case is incorrect. Remove it.
llvm-svn: 36048
2007-04-15 05:59:49 +00:00
Reid Spencer
d025c07cce Keep lines a reasonable length.
llvm-svn: 36043
2007-04-15 04:54:53 +00:00
Jeff Cohen
610e1240ed Patch supplied by gabor.
llvm-svn: 36042
2007-04-15 03:09:23 +00:00
Chris Lattner
efcb4f6ed4 new testcase
llvm-svn: 36039
2007-04-15 01:00:37 +00:00
Owen Anderson
0f6ccef96c XFAIL this for now.
llvm-svn: 36036
2007-04-14 23:57:41 +00:00
Chris Lattner
45ab14d084 new testcase
llvm-svn: 36024
2007-04-14 23:00:51 +00:00
Reid Spencer
3fc53d6c53 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
8a08819105 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
af1a99f3a7 This test should have been updated with llvm 1.7!
llvm-svn: 36014
2007-04-14 20:21:37 +00:00
Reid Spencer
91948d4cad 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
be88bc4cb4 This test needs to use egrep.
llvm-svn: 36012
2007-04-14 20:02:51 +00:00
Reid Spencer
2441c0ae3e Fix a test test llvm.exp found.
llvm-svn: 36006
2007-04-14 18:33:31 +00:00
Reid Spencer
7e4bde71c5 bool -> i1 (found by llvm.exp)
llvm-svn: 36005
2007-04-14 18:30:06 +00:00
Reid Spencer
26f762270f Fix a syntax error that llvm.exp found.
llvm-svn: 36004
2007-04-14 18:28:16 +00:00
Reid Spencer
0c0fe0afa7 Fix an "already-upgraded" test that llvm.exp found.
llvm-svn: 36003
2007-04-14 18:26:02 +00:00
Chris Lattner
a930c3d4e4 testcase for PR1201
llvm-svn: 35980
2007-04-14 00:19:36 +00:00
Reid Spencer
d029c7e666 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
45ae13bb41 adjust test
llvm-svn: 35907
2007-04-11 16:04:04 +00:00
Chris Lattner
81f14c63da sext of compares.
llvm-svn: 35892
2007-04-11 06:57:54 +00:00
Chris Lattner
764ec15b3f new testcase
llvm-svn: 35889
2007-04-11 06:52:24 +00:00
Chris Lattner
ec0020433b new testcase
llvm-svn: 35851
2007-04-09 23:51:49 +00:00
Chris Lattner
e04c652f5d new testcase for PR1304
llvm-svn: 35791
2007-04-09 01:37:35 +00:00
Chris Lattner
418bf4eb1c new testcase for PR1286
llvm-svn: 35787
2007-04-09 01:10:13 +00:00
Chris Lattner
659ff4ca8d this xform is correct, not an xfail
llvm-svn: 35766
2007-04-08 08:02:39 +00:00
Chris Lattner
b79728b1ae tweak this to test the right thing.
llvm-svn: 35762
2007-04-08 07:52:40 +00:00
Chris Lattner
8ca3d48984 new testcase, should simplify down to a xor/and/xor sequence.
llvm-svn: 35759
2007-04-08 07:45:36 +00:00
Chris Lattner
992b451e33 new testcase, update old one.
llvm-svn: 35699
2007-04-06 18:56:54 +00:00
Jeff Cohen
9da1cde86c Any add is wrong, regardless of type.
llvm-svn: 35671
2007-04-04 20:40:44 +00:00
Jeff Cohen
62c300a415 Get it right...
llvm-svn: 35670
2007-04-04 20:35:31 +00:00
Dale Johannesen
9234629e60 Test for transformConstExprCastCall fix.
llvm-svn: 35669
2007-04-04 19:18:16 +00:00
Jeff Cohen
6f98cd3710 Add new test.
llvm-svn: 35664
2007-04-04 16:11:23 +00:00
Chris Lattner
d4594adf43 new testcase for PR1253
llvm-svn: 35611
2007-04-03 01:45:32 +00:00
Chris Lattner
a7152a90d1 fix this testcase so it passes
llvm-svn: 35604
2007-04-02 20:46:28 +00:00
Chris Lattner
2d81c6d706 creative way to add one.
llvm-svn: 35583
2007-04-02 05:35:08 +00:00
Reid Spencer
e51961b5ba Fix illegal assembly syntax.
llvm-svn: 35581
2007-04-02 03:24:47 +00:00
Reid Spencer
a3bc850712 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
a5f996bd27 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
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
Chris Lattner
9729bdd8e3 New testcase
llvm-svn: 35535
2007-04-01 05:34:53 +00:00
Reid Spencer
44259a29c0 Remove use of implementation keyword.
llvm-svn: 35412
2007-03-28 02:38:26 +00:00
Chris Lattner
4ba1036a34 don't use 'not' when we can use a positive test
llvm-svn: 35402
2007-03-28 01:43:43 +00:00
Reid Spencer
90bb12c2e7 new test case for PR1280
llvm-svn: 35401
2007-03-28 01:43:35 +00:00
Reid Spencer
94a8cb4b4e 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
Reid Spencer
e01d0e8c39 Another test case for PR1271 where bad shift masks were generated.
llvm-svn: 35372
2007-03-26 23:48:52 +00:00
Reid Spencer
d9fe01c7a4 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
820ae03fda Fix testsuite hang.
llvm-svn: 35355
2007-03-26 10:59:13 +00:00
Reid Spencer
0bfa19eb13 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