Commit Graph

1114 Commits

Author SHA1 Message Date
Chris Lattner
fef040821f Checkin of Vikram's ggfuncptr.c test adapted for automatic checking
llvm-svn: 7324
2003-07-25 20:53:58 +00:00
Chris Lattner
33030f30d6 More testcases, which I'll implement later
llvm-svn: 7298
2003-07-24 19:44:51 +00:00
Chris Lattner
74300fe9fd Modernize testcase
llvm-svn: 7297
2003-07-24 19:42:28 +00:00
Chris Lattner
e6255fa31c New testcase
llvm-svn: 7296
2003-07-24 19:31:08 +00:00
Chris Lattner
ffcad975f1 New testcases for signed shifts
llvm-svn: 7294
2003-07-24 18:38:09 +00:00
Chris Lattner
2c1555180e Add new tests, make existing tests more difficult
llvm-svn: 7286
2003-07-23 23:21:08 +00:00
Chris Lattner
e2f7f1c479 New testcase
llvm-svn: 7284
2003-07-23 22:02:39 +00:00
Chris Lattner
4fa5064a8e New testcases
llvm-svn: 7281
2003-07-23 21:36:01 +00:00
Chris Lattner
41a06297b5 Renumber tests sequentially
llvm-svn: 7280
2003-07-23 21:11:56 +00:00
Chris Lattner
477e2cfdf8 Split the or and xor tests into two separate files
llvm-svn: 7279
2003-07-23 21:10:55 +00:00
Chris Lattner
176b5899a6 Remove obscure test
llvm-svn: 7278
2003-07-23 21:06:34 +00:00
Chris Lattner
5b08fe9fbf Check in old testcase sitting in my tree
llvm-svn: 7277
2003-07-23 20:48:03 +00:00
Chris Lattner
13c6cb7f5f New testcase
llvm-svn: 7271
2003-07-23 19:35:51 +00:00
Chris Lattner
df40438bd7 New testcase
llvm-svn: 7267
2003-07-23 19:24:34 +00:00
Chris Lattner
5a4bcac8b1 New testcase
llvm-svn: 7266
2003-07-23 19:05:29 +00:00
Chris Lattner
1bfbaa842e New testcases
llvm-svn: 7263
2003-07-23 18:28:42 +00:00
Chris Lattner
3847a79aa0 New testcase
llvm-svn: 7261
2003-07-23 17:56:34 +00:00
Chris Lattner
be67ac6543 New testcase
llvm-svn: 7259
2003-07-23 17:25:55 +00:00
Chris Lattner
eaf43bbfae New tests
llvm-svn: 7256
2003-07-23 17:01:18 +00:00
Chris Lattner
5ff1500e85 New testcase that caused infinite loop in taildup
llvm-svn: 7242
2003-07-23 03:32:11 +00:00
Chris Lattner
e1ab6bb4de New testcases
llvm-svn: 7240
2003-07-22 21:44:06 +00:00
Chris Lattner
f71891f2e0 Add new testcase
llvm-svn: 7229
2003-07-22 16:18:09 +00:00
John Criswell
b62eacd2bb Regression test for the Instruction Combining optimizization.
This test helps to see if the optimization correctly handles variables that
are declared constant and external.

llvm-svn: 7215
2003-07-21 19:41:51 +00:00
Vikram S. Adve
d8c1b1911c Tests for globals with different kinds of behavior in DS Analysis.
llvm-svn: 7191
2003-07-16 21:48:38 +00:00
Vikram S. Adve
5e5a37f750 *** empty log message ***
llvm-svn: 7150
2003-07-10 19:32:38 +00:00
Vikram S. Adve
a80952c017 Just documentation.
llvm-svn: 7149
2003-07-10 19:31:26 +00:00
Vikram S. Adve
902d09bdef Simplified DOTRACING flag.
llvm-svn: 7135
2003-07-08 23:40:48 +00:00
Vikram S. Adve
5f41b754e9 Use libinstr.$(ARCH).a instead of libinstr64.a
Also, $(RM) needs -f flag.

llvm-svn: 7128
2003-07-08 18:39:51 +00:00
Vikram S. Adve
cc28472b7a *** empty log message ***
llvm-svn: 7126
2003-07-08 15:39:02 +00:00
Vikram S. Adve
52e1c7001e Regression test for bug in reg. allocation that was using %xcc instead
of %icc even for 32-bit and smaller comparisons.

llvm-svn: 7110
2003-07-06 20:12:18 +00:00
Chris Lattner
6642d2a0c8 New testcase
llvm-svn: 7092
2003-07-03 06:29:15 +00:00
Chris Lattner
c7465646a6 Fix testcase failing because of change of output
llvm-svn: 7045
2003-07-01 21:03:30 +00:00
John Criswell
218a238a37 Updated the name of the LLVM disassembler so that the test does not fail.
llvm-svn: 7044
2003-07-01 20:31:45 +00:00
Chris Lattner
3242ae8792 new testcase
llvm-svn: 7043
2003-07-01 18:52:01 +00:00
Chris Lattner
6fa0bd2ce5 Move to test/programs/LLvmsource
llvm-svn: 7037
2003-07-01 17:50:11 +00:00
Chris Lattner
cf911757c2 Make testcase a bit more interesting
llvm-svn: 7033
2003-07-01 16:28:32 +00:00
Chris Lattner
c4e2a6568d New testcase
llvm-svn: 7032
2003-07-01 16:28:20 +00:00
Chris Lattner
eecabc05a0 This causes an assert in the assembler. :(
llvm-svn: 7016
2003-06-30 22:03:21 +00:00
Misha Brukman
3e70f63a54 Spell apparently' with an e'.
llvm-svn: 7011
2003-06-30 15:33:47 +00:00
Chris Lattner
b5f7eadd16 New testcase
llvm-svn: 7010
2003-06-30 15:17:39 +00:00
Chris Lattner
b7d298c91d Add dependency on analyze
llvm-svn: 7009
2003-06-30 15:17:36 +00:00
Chris Lattner
9fc21749e1 New testcase
llvm-svn: 6995
2003-06-30 03:25:53 +00:00
Chris Lattner
7fa38d7edb Add clean target to clean up my mess
llvm-svn: 6988
2003-06-29 23:20:51 +00:00
Chris Lattner
394de19993 This node should not be incomplete!
llvm-svn: 6984
2003-06-29 22:35:55 +00:00
Chris Lattner
8fdb1dcff1 New testcase
llvm-svn: 6983
2003-06-29 22:20:53 +00:00
Chris Lattner
ba9973bcf3 New, smaller testcase
llvm-svn: 6980
2003-06-29 18:17:20 +00:00
Chris Lattner
751a2f6c19 New testcase
llvm-svn: 6978
2003-06-29 17:18:59 +00:00
Chris Lattner
ec4a902be8 Fix testcase
llvm-svn: 6976
2003-06-29 01:09:07 +00:00
Chris Lattner
d9b403f84c New testcase
llvm-svn: 6975
2003-06-29 01:03:53 +00:00
Chris Lattner
ea7b603272 Make sure that the global is known to be internal
llvm-svn: 6974
2003-06-29 00:57:34 +00:00
Chris Lattner
7d0863fba3 New testcase
llvm-svn: 6969
2003-06-28 23:52:34 +00:00
Chris Lattner
b1525b26da Do not chain to basic-aa
llvm-svn: 6968
2003-06-28 23:49:06 +00:00
Chris Lattner
8138e135b6 Remove obsolete script
llvm-svn: 6967
2003-06-28 23:32:28 +00:00
Chris Lattner
59b1ec155a Remove usage of grep-not script
llvm-svn: 6966
2003-06-28 23:32:04 +00:00
Chris Lattner
5b9e2394dc Remove explicit control flow through the use of the 'not' script
llvm-svn: 6965
2003-06-28 23:23:34 +00:00
Chris Lattner
6d602730dd Move DSGraph tests to test/Regression/Analysis/DSGraph
llvm-svn: 6964
2003-06-28 23:17:42 +00:00
Chris Lattner
889b6b4833 Move files to test/Regression/Analysis/DSGraph
llvm-svn: 6963
2003-06-28 23:17:26 +00:00
Chris Lattner
1514194904 No use in having CFGSimplify and SimplifyCFG directories!
llvm-svn: 6962
2003-06-28 23:14:35 +00:00
Chris Lattner
8a00dc8988 Eliminate explicit control flow in tests
llvm-svn: 6961
2003-06-28 23:13:12 +00:00
Chris Lattner
cbd25fb254 Use not instead of grep-not
llvm-svn: 6960
2003-06-28 23:02:51 +00:00
Chris Lattner
bc0ec88b0d Switch tests over to use the 'not' script, instead of explicit control flow
llvm-svn: 6959
2003-06-28 23:02:20 +00:00
Chris Lattner
51a4a930ba Force the interpreter for this testcase
llvm-svn: 6958
2003-06-28 23:02:04 +00:00
Chris Lattner
f9b40caa7b Get rid of control flow in the test
llvm-svn: 6957
2003-06-28 22:53:07 +00:00
Chris Lattner
504ffdce51 New script for testrunner programs
llvm-svn: 6956
2003-06-28 22:52:52 +00:00
Chris Lattner
e2cd2f7591 Convert scripts from using explicit control flow to use the new grep-not script
llvm-svn: 6955
2003-06-28 22:44:42 +00:00
Chris Lattner
187311019f Handle quoting right
llvm-svn: 6954
2003-06-28 22:43:58 +00:00
Chris Lattner
8c29536be8 Make the TestRunner tests not print out horrible things when they run
llvm-svn: 6953
2003-06-28 22:35:46 +00:00
Chris Lattner
d99b204afb Fix testcase
llvm-svn: 6952
2003-06-28 22:31:37 +00:00
Chris Lattner
10e10f73c2 Initial checkin of grep-not script
llvm-svn: 6951
2003-06-28 22:28:31 +00:00
Chris Lattner
c9e6e7398e Add the test/Scripts directory to the path used by TestRunner
llvm-svn: 6950
2003-06-28 22:21:39 +00:00
Chris Lattner
3850a1a1a2 Describe directory
llvm-svn: 6949
2003-06-28 22:20:19 +00:00
Chris Lattner
2767e8b33e Improve the make rule
llvm-svn: 6948
2003-06-28 22:16:59 +00:00
Chris Lattner
b70198e66b New testcase
llvm-svn: 6942
2003-06-28 21:56:22 +00:00
Chris Lattner
eb7ed57473 New makefile for Dsgraph tests
llvm-svn: 6940
2003-06-28 21:16:38 +00:00
Chris Lattner
cd6865e0bc Add DSGraph to the tests
llvm-svn: 6939
2003-06-28 21:16:27 +00:00
Chris Lattner
4493fbb3fe Add test for new zeroinitializer token
llvm-svn: 6936
2003-06-28 20:01:03 +00:00
Chris Lattner
bf3fe271ff New testcase for invoke support
llvm-svn: 6933
2003-06-28 17:52:38 +00:00
Chris Lattner
792767578f New testcase
llvm-svn: 6930
2003-06-28 17:07:23 +00:00
Chris Lattner
76e4750aab New testcase that crashes the cfe
llvm-svn: 6925
2003-06-27 02:37:53 +00:00
Chris Lattner
2fec73e216 Add a testcase to ensure that ctor/dtor attributes work in C
llvm-svn: 6919
2003-06-26 14:56:36 +00:00
Chris Lattner
4b18955832 New variable which is just the GCCLD tool
llvm-svn: 6914
2003-06-26 05:28:00 +00:00
Chris Lattner
d0ba6d6258 add tests for elimination of loads
llvm-svn: 6911
2003-06-26 05:05:51 +00:00
Chris Lattner
1681e785b3 Add test for instcombine -1*X -> -X
llvm-svn: 6905
2003-06-25 17:10:34 +00:00
Chris Lattner
8c1114ab2c New testcase
llvm-svn: 6902
2003-06-25 17:08:34 +00:00
Chris Lattner
63a6427f1a New testcase
llvm-svn: 6900
2003-06-25 14:55:30 +00:00
Chris Lattner
cf3f677de0 New testcase
llvm-svn: 6893
2003-06-24 23:40:27 +00:00
Chris Lattner
6abc7c65f9 Don't print message, remove temp files
llvm-svn: 6892
2003-06-24 23:38:09 +00:00
Chris Lattner
b5b462bf61 New testcase
llvm-svn: 6890
2003-06-24 22:58:05 +00:00
Chris Lattner
8e92c2a5be Modernize testcase
llvm-svn: 6888
2003-06-24 21:51:03 +00:00
Chris Lattner
60bc441d3d modernize testcase
llvm-svn: 6886
2003-06-24 21:23:50 +00:00
Chris Lattner
25868ff22b Make sure adce is basically working!
llvm-svn: 6885
2003-06-24 21:22:09 +00:00
Chris Lattner
56f2a6b272 Modernize testcases
llvm-svn: 6884
2003-06-24 21:21:31 +00:00
Chris Lattner
30f1a88e0c New testcase
llvm-svn: 6882
2003-06-24 20:29:36 +00:00
Chris Lattner
ec303ed640 Testcase reduced by bugpoint
llvm-svn: 6880
2003-06-24 19:17:37 +00:00
Chris Lattner
6666a4cc75 Run the tail dup tests
llvm-svn: 6879
2003-06-24 18:49:51 +00:00
Chris Lattner
51ce44c8a0 Fix comment
llvm-svn: 6872
2003-06-23 21:52:59 +00:00
Chris Lattner
c6f0c13235 Yet another testcase
llvm-svn: 6871
2003-06-23 21:49:25 +00:00
Chris Lattner
9dac57f42d Test cases for when casts to bool can be eliminated
llvm-svn: 6870
2003-06-23 21:48:26 +00:00
Brian Gaeke
03d0b3ab98 New test case for C Writer regression found in 256.bzip2
llvm-svn: 6868
2003-06-23 19:59:17 +00:00
Brian Gaeke
7328e5d9ff Allow .llx testcases (i.e., those that contain explicit RUN: stmts.)
llvm-svn: 6867
2003-06-23 19:58:50 +00:00
Chris Lattner
4d587773dc New testcase for a GCC bug
llvm-svn: 6863
2003-06-23 18:06:21 +00:00
Chris Lattner
74dfa46dfb New testcase narrowed down by Joel
llvm-svn: 6858
2003-06-22 21:40:38 +00:00
Chris Lattner
08cc123f78 New testcase
llvm-svn: 6855
2003-06-22 20:45:39 +00:00
Chris Lattner
03149eacab New testcases
llvm-svn: 6854
2003-06-22 20:32:35 +00:00
Chris Lattner
03f7588379 Initial checkin
llvm-svn: 6853
2003-06-22 20:30:00 +00:00
Chris Lattner
b772ce2a37 Add testcase for reason that typesafety of power is being broken
llvm-svn: 6836
2003-06-21 22:59:39 +00:00
Chris Lattner
b8733ab76c Remove obsolete support for LD_LIBRARY_PATH
llvm-svn: 6815
2003-06-20 23:01:23 +00:00
John Criswell
ab176efd17 Updated to the new Makefile.common.
llvm-svn: 6814
2003-06-20 21:37:31 +00:00
John Criswell
a53d83603e 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
e40f29f2d4 The actual nicification of calls is now implemented in instcombine, not in
funcresolve

llvm-svn: 6784
2003-06-19 17:02:06 +00:00
Chris Lattner
19eecb51db New testcase
llvm-svn: 6781
2003-06-18 22:48:11 +00:00
Chris Lattner
3b770a2a02 Move llvm tools to the start of the testrunner path, which allows the llvm 'as'
tool to be found in preference to the system 'as' tool.

llvm-svn: 6775
2003-06-18 19:39:06 +00:00
Chris Lattner
4a15ebdde7 Make testcase more interesting, remove absolute path from -load line
llvm-svn: 6760
2003-06-17 22:21:55 +00:00
Chris Lattner
7371945493 Fix to mesh with Johns recent changes
llvm-svn: 6754
2003-06-17 20:55:04 +00:00
Chris Lattner
fd18a468c2 Add new testcase
llvm-svn: 6739
2003-06-17 15:16:35 +00:00
Chris Lattner
d865b9e2b2 New testcase
llvm-svn: 6735
2003-06-17 13:21:13 +00:00
Chris Lattner
f95aa99702 Just _EXTEND_ the current path. Don't replace it. Replacing it makes it
impossible for scripts to find user tools like sed.

llvm-svn: 6731
2003-06-17 00:27:43 +00:00
Chris Lattner
91ada7bbb3 Arg, sparc doesn't have correct things in math.h!
llvm-svn: 6729
2003-06-17 00:03:56 +00:00
John Criswell
3fe7744b2e Reconfigured the TOOLS variable so that it points to the current set of tools
built by the LLVM build.
Added a path for use with the TestRunner.sh script so that it can always find
the LLVM tools without having the user place them in his or her path.

llvm-svn: 6720
2003-06-16 19:16:32 +00:00
Chris Lattner
b8f2866a26 Minor tweak to make testcase less simple
llvm-svn: 6710
2003-06-16 14:04:18 +00:00
Chris Lattner
38dd52de8e New testcase identified by joel
llvm-svn: 6709
2003-06-16 13:33:59 +00:00
Chris Lattner
320f228efc New testcase identified by joel
llvm-svn: 6708
2003-06-16 13:16:20 +00:00
Chris Lattner
39ee65f98b Fix final linking errors
llvm-svn: 6707
2003-06-16 12:27:12 +00:00
Chris Lattner
ba023277e9 Fix link errors by adding main's
llvm-svn: 6706
2003-06-16 12:25:11 +00:00
Chris Lattner
ccc98b85ed Fix link problem
llvm-svn: 6705
2003-06-16 12:23:27 +00:00
Chris Lattner
25e6231cd8 New testcases for bugs and the new DAE pass
llvm-svn: 6693
2003-06-16 12:05:38 +00:00
Chris Lattner
7d0ab47398 Fix testcase to work with store forwarding
llvm-svn: 6689
2003-06-16 11:59:34 +00:00
John Criswell
4d9b752240 Updated to use the new Makefile.common.
Replaced the hard-coded compiler variable with the one defined by
Makefile.config.

llvm-svn: 6680
2003-06-11 13:56:55 +00:00
Chris Lattner
5bc76cec9a New testcase
llvm-svn: 6668
2003-06-07 21:43:56 +00:00
Misha Brukman
0bcec39bf7 Return 'int 0' instead of 'void' so that the test can be seen as successful.
llvm-svn: 6654
2003-06-06 08:00:40 +00:00
Misha Brukman
24db0aaa4c Return 'int 0' instead of void so that the test can be considered to pass.
llvm-svn: 6653
2003-06-06 07:58:29 +00:00
Misha Brukman
946b3a1902 Simplify test case: remove declaration of __main() and call to it.
llvm-svn: 6648
2003-06-06 06:50:43 +00:00
Chris Lattner
1021b8ce62 New testcase
llvm-svn: 6629
2003-06-05 20:12:32 +00:00
Chris Lattner
09511fe404 Test seteq AND setne
llvm-svn: 6628
2003-06-05 20:11:19 +00:00
Chris Lattner
dc8209bab4 New testcase, the JIT currently handles this right, I just don't want to
reintroduce a bug that didn't have a testcase.

llvm-svn: 6623
2003-06-05 16:57:55 +00:00
Chris Lattner
eed7a2777c New testcase for PHI handling
llvm-svn: 6621
2003-06-05 05:38:30 +00:00
Vikram S. Adve
aa4d93b55a Modify tracing rules to use opt -trace[m] instead of llc -trace[m].
llvm-svn: 6607
2003-06-04 14:24:52 +00:00
Chris Lattner
e52c988e7e Modernize testcase
llvm-svn: 6600
2003-06-04 04:47:40 +00:00
Chris Lattner
ce0e236e49 Add new test for inverting branches
llvm-svn: 6598
2003-06-04 04:37:46 +00:00
Vikram S. Adve
50cd0cd309 Improved how tracing can be used:
-- added new targets %.trace-out-llc and %.trace-out-cbe
-- either TRACE=yes or TRACEM=yes is still needed and chooses how to trace

llvm-svn: 6585
2003-06-03 18:56:57 +00:00
Chris Lattner
c131ecbc0c Second testcase identified by Joel
llvm-svn: 6543
2003-06-02 17:31:24 +00:00
Chris Lattner
5d24253013 New testcase identified by Joel
llvm-svn: 6541
2003-06-02 17:07:42 +00:00
Chris Lattner
793a86af30 Add support for C++ tests
llvm-svn: 6540
2003-06-02 05:49:11 +00:00
Chris Lattner
77def03637 No need to print out bytecode :)
llvm-svn: 6537
2003-06-02 05:42:16 +00:00
Chris Lattner
af96c4c02d New testcase, reduced from 300.twolf by bugpoint
llvm-svn: 6534
2003-06-02 04:58:23 +00:00
Chris Lattner
1b68433cef Testcase distilled from 255.vortex
llvm-svn: 6525
2003-06-02 03:07:54 +00:00
Chris Lattner
4fa3e97476 Old testcase
llvm-svn: 6521
2003-06-02 02:13:02 +00:00
Chris Lattner
bab4d9b783 Add tests for cast of long to bool
llvm-svn: 6508
2003-06-01 03:37:25 +00:00
Chris Lattner
4c4b26b10a New testcases
llvm-svn: 6505
2003-06-01 03:34:53 +00:00
Chris Lattner
9fffaeabc1 Add tests for 64 bit shifts
llvm-svn: 6501
2003-06-01 01:57:44 +00:00