1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
Commit Graph

1381 Commits

Author SHA1 Message Date
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
Chris Lattner
5a4ca7fdda New testcase
llvm-svn: 6494
2003-05-31 23:27:10 +00:00
Chris Lattner
3ba6004e47 New testcase
llvm-svn: 6484
2003-05-31 21:33:08 +00:00
Chris Lattner
2da88857a1 New testcase for behavior we depend on.
llvm-svn: 6483
2003-05-31 21:14:45 +00:00
Chris Lattner
c1b346f6b7 New testcase
llvm-svn: 6481
2003-05-31 21:04:39 +00:00
Chris Lattner
426bc41809 Add another testcase
llvm-svn: 6478
2003-05-31 20:33:09 +00:00
Chris Lattner
fd26032739 New testcase
llvm-svn: 6477
2003-05-31 20:21:13 +00:00
Vikram S. Adve
6e8b499993 3 more bugs from the SPEC codes and from richards_benchmark.c
llvm-svn: 6458
2003-05-31 04:45:56 +00:00
Chris Lattner
9a68ce5e89 New testcase
llvm-svn: 6454
2003-05-30 21:03:00 +00:00
Chris Lattner
43ab06fba5 New testcase
llvm-svn: 6427
2003-05-30 05:26:08 +00:00
Chris Lattner
37fc07da9b New testcase
llvm-svn: 6417
2003-05-29 21:07:34 +00:00
Chris Lattner
9444ef7a2c New testcases
llvm-svn: 6412
2003-05-29 20:15:35 +00:00
Chris Lattner
7e476cae1e Check in old tests
llvm-svn: 6408
2003-05-29 19:17:51 +00:00
Chris Lattner
6ea147f074 Change tests to use testrunner
new test

llvm-svn: 6399
2003-05-29 15:16:10 +00:00
Vikram S. Adve
773a75f90f Three kinds of boolean values handled incorrectly:
-- setCC of FP type used by a Phi: have to save in reg.
-- setNE of FP type used by a branch: cannot use result directly in branch!
-- setCC used outside the same basic block: have to save in reg. for now

llvm-svn: 6382
2003-05-28 13:54:41 +00:00
Chris Lattner
67668ba062 New testcase
llvm-svn: 6353
2003-05-27 16:45:09 +00:00
Chris Lattner
490a8fe6b1 Start testing SRoA
llvm-svn: 6350
2003-05-27 16:10:03 +00:00
Chris Lattner
2a646b8587 Initial testcases for scalar replacement of aggregates pass
llvm-svn: 6347
2003-05-27 15:51:17 +00:00
Chris Lattner
d6dd5b18a1 New testcase
llvm-svn: 6337
2003-05-26 23:41:13 +00:00
Chris Lattner
5c04a4e72c New testcase identified by Brian Gaeke. Gotta love GCC extensions. :(
llvm-svn: 6310
2003-05-23 15:07:31 +00:00
Chris Lattner
1bc2f7de3f Fix testcase
llvm-svn: 6299
2003-05-22 20:43:21 +00:00
Chris Lattner
b9f0eb0468 New testcase
llvm-svn: 6298
2003-05-22 20:43:06 +00:00
Chris Lattner
5a7b3244b7 Make the testcase even more insane
llvm-svn: 6280
2003-05-22 15:49:58 +00:00
Chris Lattner
a5f9076ace New testcase
llvm-svn: 6279
2003-05-22 15:33:33 +00:00
Chris Lattner
978bdb056c New testcase
llvm-svn: 6278
2003-05-21 23:01:50 +00:00
Chris Lattner
da20909c1a New testcase that was killing the CFE
llvm-svn: 6277
2003-05-21 23:01:35 +00:00
Chris Lattner
228a0ea286 New testcase that crashes the funcresolve pass.
llvm-svn: 6272
2003-05-21 20:44:16 +00:00
Chris Lattner
1e92c6803b Trim testcase a bit
llvm-svn: 6269
2003-05-21 19:55:10 +00:00
Chris Lattner
e5f2245e55 New testcase identified by joel
llvm-svn: 6268
2003-05-21 19:48:33 +00:00
Chris Lattner
3e6e01bf4d New testcase
llvm-svn: 6264
2003-05-21 18:10:53 +00:00
Chris Lattner
4da34b0e64 New testcase, found by inspection
llvm-svn: 6257
2003-05-21 17:46:02 +00:00
Chris Lattner
f42de04099 New testcase
llvm-svn: 6256
2003-05-21 17:34:24 +00:00
Chris Lattner
e69cbb5c80 Add run string
llvm-svn: 6254
2003-05-21 16:05:47 +00:00
Chris Lattner
7ca08571f5 New testcase
llvm-svn: 6253
2003-05-21 15:57:25 +00:00
Chris Lattner
d66b178dd7 Add flexibility
llvm-svn: 6246
2003-05-17 22:33:18 +00:00
Chris Lattner
e8cd1e362c Initial test
llvm-svn: 6240
2003-05-17 22:18:33 +00:00
Chris Lattner
cbe5898e97 New testcase, straight out of the asm manual
llvm-svn: 6237
2003-05-15 21:02:11 +00:00
Chris Lattner
7af73d40fd Add note
llvm-svn: 6235
2003-05-15 19:38:39 +00:00
Chris Lattner
dd79479d0a New testcase that breaks the assembler.
llvm-svn: 6233
2003-05-15 18:52:08 +00:00
Chris Lattner
6af336b426 Depends on analyze, not opt
llvm-svn: 6229
2003-05-15 18:03:32 +00:00
Chris Lattner
12a20765d0 New directory
llvm-svn: 6228
2003-05-15 18:03:12 +00:00
Chris Lattner
fe10a68677 New test
llvm-svn: 6227
2003-05-15 18:03:03 +00:00
Chris Lattner
98f673096e Add new loopinfo test
llvm-svn: 6226
2003-05-15 18:02:54 +00:00
Chris Lattner
c342ec4491 New linker problem from twolf benchmark
llvm-svn: 6224
2003-05-15 16:01:32 +00:00
Chris Lattner
7d83be2524 New testcase
llvm-svn: 6222
2003-05-14 23:34:17 +00:00
Chris Lattner
e8b15df0fa New testcase that breaks CFE
llvm-svn: 6217
2003-05-14 21:08:04 +00:00
Chris Lattner
795282d9b9 Ulimit the test, and print out a more interesting output if failure occurs
llvm-svn: 6216
2003-05-14 19:54:07 +00:00
Chris Lattner
38b65d5b3e Remove long dead file
llvm-svn: 6213
2003-05-14 19:02:27 +00:00
Chris Lattner
1c6923e0cc Fix path problem
llvm-svn: 6208
2003-05-14 18:44:22 +00:00
Chris Lattner
37c29afaad Generalize the script a bit
llvm-svn: 6206
2003-05-14 18:39:57 +00:00
Chris Lattner
3823e08884 Modernize testcases
llvm-svn: 6205
2003-05-14 18:37:03 +00:00
Chris Lattner
d92b365710 New testcase producing assertion failure
llvm-svn: 6197
2003-05-14 15:44:54 +00:00
Chris Lattner
e4f94d1edf Forgot to make test executable
llvm-svn: 6196
2003-05-14 14:47:38 +00:00
Chris Lattner
fe80984ca6 new testcase
llvm-svn: 6195
2003-05-14 14:38:10 +00:00
Chris Lattner
72f39089ca Add uses of the appending variable
llvm-svn: 6177
2003-05-13 21:32:48 +00:00
Chris Lattner
4ab75c636c Add new testcase for appending linkage
llvm-svn: 6176
2003-05-13 20:48:17 +00:00
Chris Lattner
fa27b80465 New test for appending linkage
llvm-svn: 6175
2003-05-13 20:31:46 +00:00
Chris Lattner
406680c2a8 New testcase
llvm-svn: 6171
2003-05-13 20:11:21 +00:00
Chris Lattner
eda8d19335 Add support for the LLVM C++ frontend
llvm-svn: 6167
2003-05-13 20:06:00 +00:00
Chris Lattner
b556e1f8f8 Make test cases executable
llvm-svn: 6166
2003-05-13 19:50:01 +00:00
Chris Lattner
c16c4836d0 Make testcase executable
llvm-svn: 6165
2003-05-13 19:40:31 +00:00
Chris Lattner
e586cc42bf New testcase
llvm-svn: 6164
2003-05-13 18:09:44 +00:00
Chris Lattner
2054529c90 Add test for handling ptrmem_cst
llvm-svn: 6163
2003-05-12 23:34:59 +00:00
Chris Lattner
04ee063ac7 Make test more interesting
llvm-svn: 6162
2003-05-12 23:33:00 +00:00
Chris Lattner
846c291cb5 Add first C++ test
llvm-svn: 6161
2003-05-12 23:22:51 +00:00
Chris Lattner
8f59261d07 New testcase
llvm-svn: 6157
2003-05-12 22:28:15 +00:00
Chris Lattner
b05cd98fe6 New file
llvm-svn: 6156
2003-05-12 22:25:24 +00:00
Chris Lattner
6cd5038b27 New testcase
llvm-svn: 6152
2003-05-12 21:57:41 +00:00
Chris Lattner
833b3f676b Enable more tests
llvm-svn: 6149
2003-05-12 20:39:30 +00:00
Chris Lattner
d6a47bbefb Add tests for casts from unsigned integers to floats
llvm-svn: 6147
2003-05-12 20:35:29 +00:00
Chris Lattner
e2826021a1 New testcase
llvm-svn: 6127
2003-05-12 15:34:39 +00:00
Chris Lattner
25c0c9e757 Make regression tests fail if any warnings are emitted
llvm-svn: 6126
2003-05-12 15:33:52 +00:00
Chris Lattner
2ac743491c Testcase which kills the constant folder
llvm-svn: 6124
2003-05-12 15:18:53 +00:00
Chris Lattner
cf7a39ff76 New bug distilled from aha program
llvm-svn: 6122
2003-05-12 15:06:20 +00:00
Chris Lattner
096a56f435 Add old test
llvm-svn: 6111
2003-05-12 04:06:38 +00:00
Chris Lattner
904444da75 Simplify testcase a bit more
llvm-svn: 6107
2003-05-12 02:31:48 +00:00
Chris Lattner
24b8fe0663 New testcase that crashes Jello
llvm-svn: 6106
2003-05-12 02:27:05 +00:00
Chris Lattner
5b04a3903d Checkin old test
llvm-svn: 6102
2003-05-11 22:46:23 +00:00
Chris Lattner
cb2c009aec Remove dead makefile code
llvm-svn: 6095
2003-05-11 21:41:43 +00:00
Chris Lattner
015f7c491f * Remove dead hunk of makefile fragment for dealing with sun compiler
* Move LLC code gen stuff into test/Programs/Makefile.programs

llvm-svn: 6089
2003-05-11 18:49:10 +00:00
Chris Lattner
ddfc0adffb Allow llx tests as well
llvm-svn: 6088
2003-05-11 18:38:25 +00:00
Chris Lattner
4b2574f414 Enable the new C front-end for targets which define LLVMGCCARCH
llvm-svn: 6065
2003-05-09 04:19:58 +00:00
Chris Lattner
4cd68d4e1e Remvoe testcase that should never be implemented
llvm-svn: 6048
2003-05-08 20:31:37 +00:00
Chris Lattner
c69762e38b New testcase
llvm-svn: 6047
2003-05-08 20:08:03 +00:00
Chris Lattner
157c888810 Test the whole range of varargs handling stuff
llvm-svn: 6034
2003-05-08 03:46:51 +00:00
Chris Lattner
a36927b4e4 New testcase
llvm-svn: 6025
2003-05-08 02:39:37 +00:00
Chris Lattner
9e94685ca2 New testcase for problem that is actually generic to all 32 bit LLI targets
llvm-svn: 6016
2003-05-07 20:23:32 +00:00
Chris Lattner
792fe48132 New testcase distilled from the fhourstones benchmark
llvm-svn: 6006
2003-05-06 19:41:25 +00:00
Chris Lattner
c29d6c71e2 Make sure to compiel the LowerSwitch tests
llvm-svn: 6005
2003-05-06 19:04:02 +00:00
Chris Lattner
9c0a8fe1d0 New testcase
llvm-svn: 6001
2003-05-03 18:55:29 +00:00
Chris Lattner
ea8aec9b82 Fix miscompilation found in Fhourstones by bugpoint
llvm-svn: 5993
2003-05-03 03:39:35 +00:00
Chris Lattner
504a7cd060 Fix buggy tests
llvm-svn: 5987
2003-05-03 03:08:54 +00:00
Chris Lattner
0d81b37efc Reduce testcase a bit
llvm-svn: 5978
2003-05-01 21:38:57 +00:00
Chris Lattner
d7d2a8911b New testcase for the lowerswitch pass
llvm-svn: 5977
2003-05-01 21:27:24 +00:00
Chris Lattner
6fda1a60f1 New testcase: do not "raise" a call that is not through a function pointer!
llvm-svn: 5974
2003-05-01 21:02:35 +00:00
Chris Lattner
78431dcb34 New testcase distilled from a problem identified by sumant
llvm-svn: 5964
2003-04-26 20:29:09 +00:00
Chris Lattner
0c998c4b6e Add comment to testcase
llvm-svn: 5958
2003-04-26 19:33:51 +00:00
Chris Lattner
d2de77d704 Whoever checked this testcase in apparently never tested it.
llvm-svn: 5957
2003-04-26 17:44:17 +00:00
Chris Lattner
f373136583 New testcase that crashes preheaders
llvm-svn: 5954
2003-04-25 23:26:52 +00:00
Chris Lattner
e8b8fb7adc New testcase
llvm-svn: 5951
2003-04-25 22:53:12 +00:00
Chris Lattner
54c6d9ae67 New testcase
llvm-svn: 5947
2003-04-25 20:09:17 +00:00
Chris Lattner
70b80672c3 Fix bugs in testcase
llvm-svn: 5946
2003-04-25 19:49:36 +00:00
Chris Lattner
921c1cad7a Add comment
llvm-svn: 5945
2003-04-25 18:44:30 +00:00
Chris Lattner
fba2a36bad New testcase
llvm-svn: 5939
2003-04-25 17:59:02 +00:00
Chris Lattner
f67fe73cc2 New testcase
llvm-svn: 5916
2003-04-25 00:46:14 +00:00
Chris Lattner
63edada457 New testcase
llvm-svn: 5878
2003-04-23 18:38:24 +00:00
Chris Lattner
af2f759bf9 Tweak testcases to use linkonce as appropriate
llvm-svn: 5877
2003-04-23 18:38:13 +00:00
Chris Lattner
96557871c5 New testcase
llvm-svn: 5857
2003-04-22 22:00:15 +00:00
Chris Lattner
5b46bf60d2 Add testcase for target information
llvm-svn: 5842
2003-04-22 19:06:48 +00:00
Chris Lattner
0d623a6df4 ADd newline to end of file
llvm-svn: 5841
2003-04-22 18:43:23 +00:00
Chris Lattner
ee4c6dca22 New testcase
llvm-svn: 5826
2003-04-21 21:06:25 +00:00
Chris Lattner
28778f929d Update testcases to match what is currently output by the CFE
llvm-svn: 5817
2003-04-19 00:17:11 +00:00
Chris Lattner
f7c7e93f4c Add testcase for constantexpr gep
llvm-svn: 5815
2003-04-19 00:15:00 +00:00
Chris Lattner
37cc16c439 Test case for forward declared global array with no size
llvm-svn: 5814
2003-04-18 23:46:44 +00:00
Chris Lattner
1346cedbf1 New testcase
llvm-svn: 5809
2003-04-18 19:22:39 +00:00
Chris Lattner
de4b3dba5a Add a simple test for hex constant integers
llvm-svn: 5803
2003-04-17 22:19:23 +00:00
Chris Lattner
d4c9e09204 Test case to make sure that constexprs are automatically folded
llvm-svn: 5798
2003-04-17 19:21:22 +00:00
Chris Lattner
f8b4bd0dc3 New testcase
llvm-svn: 5794
2003-04-16 22:46:16 +00:00
Chris Lattner
9e76a35273 Add tests for linker and linkonce globals
llvm-svn: 5791
2003-04-16 21:21:35 +00:00
Chris Lattner
7006fa7b33 Add PRE directory
llvm-svn: 5783
2003-04-16 20:23:42 +00:00
Chris Lattner
9ae20ce596 New testcase that triggered assertion failure.
llvm-svn: 5776
2003-04-15 16:07:05 +00:00
Misha Brukman
98b046b64a Simple arithmetic loop-based test case for modulo scheduling.
llvm-svn: 5774
2003-04-10 22:01:15 +00:00
Misha Brukman
1eff1188c7 Adding a simple test case in the hope that commit-diffs.pl will pick this up.
llvm-svn: 5773
2003-04-10 21:49:13 +00:00
Misha Brukman
be989359cb Not only is this the first test case for ModuloScheduing, it's also the first
test case for the CVS commit-diffs.pl script which should show the entire
contents of this file below:

llvm-svn: 5772
2003-04-10 21:43:58 +00:00
Chris Lattner
d1975e8f59 New testcase
llvm-svn: 5770
2003-04-10 19:21:07 +00:00
Chris Lattner
6ada1ae97e Initial checkin of PRE test
llvm-svn: 5761
2003-03-31 21:19:23 +00:00
Chris Lattner
40465a2f77 Initial checkin of PRE tests
llvm-svn: 5760
2003-03-31 19:57:36 +00:00
Chris Lattner
8424f9d454 Fix testcase
llvm-svn: 5746
2003-03-18 22:53:19 +00:00
Chris Lattner
5b6745ef74 Test limited reassociation
llvm-svn: 5742
2003-03-11 00:10:59 +00:00
Chris Lattner
d0ab973bd2 Add optimizations:
- (A & C1)+(B & C2) -> (A & C1)|(B & C2) iff C1&C2 == 0
 - (A & C1)^(B & C2) -> (A & C1)|(B & C2) iff C1&C2 == 0

llvm-svn: 5741
2003-03-10 23:52:54 +00:00
Chris Lattner
ca896e1827 Add testcases for negated multiplies
llvm-svn: 5739
2003-03-10 23:22:50 +00:00
Chris Lattner
83c86fad17 Add test for demorgans law with constants
Add test for other form of demorgans

llvm-svn: 5737
2003-03-10 23:13:32 +00:00
Chris Lattner
54c0282641 * Add testcases for associative operators
* Add testcase for or ubyte, 255 which was broken before

llvm-svn: 5735
2003-03-10 22:43:56 +00:00
Chris Lattner
b45735f426 Modernize testcase
llvm-svn: 5732
2003-03-10 19:44:01 +00:00
Chris Lattner
1dc15593c3 Add a bunch of new tests
llvm-svn: 5730
2003-03-10 19:16:20 +00:00
Chris Lattner
0c461ded59 Add test for: (A|B)^B == A & (~B)
llvm-svn: 5727
2003-03-10 18:24:04 +00:00
Chris Lattner
56c37efeaa Modernize testcase
llvm-svn: 5726
2003-03-10 18:20:53 +00:00
Chris Lattner
831bbdc53d New testcase
llvm-svn: 5721
2003-03-07 17:42:55 +00:00
Chris Lattner
cbb30adcfd Update testcases to use long to index gep
llvm-svn: 5717
2003-03-06 19:59:08 +00:00
Chris Lattner
6b48a959c9 Add a link to source of inspiration
llvm-svn: 5707
2003-03-05 23:02:25 +00:00
Chris Lattner
3dfe8958d7 New testcase for pow builtin recognition
llvm-svn: 5706
2003-03-05 22:56:59 +00:00
Chris Lattner
43c08f94cf Add another testcase that may eventually be handled...
llvm-svn: 5705
2003-03-05 22:50:55 +00:00
Chris Lattner
7a21a803cc Add testcase for new instcombine xform
llvm-svn: 5703
2003-03-05 22:32:48 +00:00
Chris Lattner
94ab54d198 Add new testcase
llvm-svn: 5701
2003-03-05 21:34:35 +00:00
Chris Lattner
ab3cbcee06 New testcase for feature simplifycfg should handle
llvm-svn: 5698
2003-03-05 20:35:24 +00:00
Chris Lattner
7f41d8f4ae Add testcase for new feature for simplifycfg pass
llvm-svn: 5697
2003-03-05 20:22:50 +00:00
Chris Lattner
11695338e3 New testcase
llvm-svn: 5694
2003-03-04 16:33:52 +00:00
Chris Lattner
4ae453715e Make the testcase more interesting, test that two different array elements don't alias
llvm-svn: 5689
2003-03-03 23:27:15 +00:00
Chris Lattner
1645c563ed New testcase
llvm-svn: 5688
2003-03-03 21:29:00 +00:00
Chris Lattner
21ebd818d9 Add new testcase for forward reference of struct type
llvm-svn: 5687
2003-03-03 20:28:42 +00:00
Chris Lattner
0e86077efc Fix testcase
llvm-svn: 5674
2003-02-28 19:21:27 +00:00
Chris Lattner
3ebda4fd24 Add a test for a feature that I hope will be implemented someday
llvm-svn: 5673
2003-02-28 19:20:56 +00:00
Chris Lattner
bdb79e6172 New testcase
llvm-svn: 5672
2003-02-28 19:13:58 +00:00
Chris Lattner
f1c953d521 New test
llvm-svn: 5665
2003-02-28 02:55:26 +00:00
Chris Lattner
c0fc5571dc New testcase
llvm-svn: 5660
2003-02-27 22:34:31 +00:00
Chris Lattner
80ebacf9a5 New testcase
llvm-svn: 5657
2003-02-27 21:59:31 +00:00
Chris Lattner
91dce9183d Testcase for Preheaders problem
llvm-svn: 5654
2003-02-27 21:38:56 +00:00
Chris Lattner
bfe33a49ef New testcase crashing LICM
llvm-svn: 5648
2003-02-26 23:16:44 +00:00
Chris Lattner
d4e2c5a9a0 Fix test
llvm-svn: 5646
2003-02-26 22:01:58 +00:00
Chris Lattner
183864424b New testcase for size tracking brokenness
llvm-svn: 5644
2003-02-26 21:39:52 +00:00
Chris Lattner
ea424f3aff Rename -no-* to -disable-*
llvm-svn: 5642
2003-02-26 20:00:41 +00:00
Chris Lattner
b46d9cdbd8 Hopefully final tweak to this testcase
llvm-svn: 5626
2003-02-26 16:18:00 +00:00
Chris Lattner
1c20fbe554 Add a new test for basicaa
llvm-svn: 5625
2003-02-25 21:43:37 +00:00
Chris Lattner
953428667f Fix testcase
llvm-svn: 5621
2003-02-24 23:14:07 +00:00
Chris Lattner
6563942b6e Fix test
llvm-svn: 5617
2003-02-24 20:30:14 +00:00
Chris Lattner
722477c317 Tweak testcase
llvm-svn: 5612
2003-02-24 03:52:13 +00:00
Chris Lattner
a124de5ec6 New testcase for scalar promotion
llvm-svn: 5611
2003-02-24 03:52:04 +00:00
Chris Lattner
ab3dd0580e New testcase to check to see if LICM is performing scalar promotion
llvm-svn: 5607
2003-02-22 22:20:19 +00:00
Chris Lattner
4b5d31d431 Add a testcase for broken loopinfo
llvm-svn: 5602
2003-02-20 00:09:26 +00:00
Chris Lattner
eb50d964a6 Make tests rerun if analyze is rebuilt
llvm-svn: 5601
2003-02-20 00:09:19 +00:00
Chris Lattner
1954ecb19d Add new testcases
llvm-svn: 5591
2003-02-18 19:55:31 +00:00
Chris Lattner
6adec31e9a Modernize testcase
llvm-svn: 5590
2003-02-18 19:43:53 +00:00
Chris Lattner
d94a9168ae Modernize testcases
llvm-svn: 5589
2003-02-18 19:43:21 +00:00
Chris Lattner
1759ccff2b test for a variety of new transformations:
* A & ~A == 0
  * A / (2^c) == A >> c  if unsigned
  * 0 / A == 0
  * 1.0 * A == A
  * A * (2^c) == A << c
  * A ^ ~A == -1
  * A | ~A == -1
  * 0 % X = 0
  * A % (2^c) == A & (c-1) if unsigned
  * A - (A & B) == A & ~B
  * -1 - A == ~A

llvm-svn: 5588
2003-02-18 19:28:47 +00:00
Chris Lattner
55af0903ff modernize testcase
llvm-svn: 5586
2003-02-18 19:16:45 +00:00
Chris Lattner
ecbab08e9d Modernize testcase
llvm-svn: 5585
2003-02-18 18:06:44 +00:00
Chris Lattner
095695b145 New testcase distilled from LARN
llvm-svn: 5561
2003-02-14 03:02:16 +00:00
Chris Lattner
21324ae8e4 New testcase, for something we may never really want to support :)
llvm-svn: 5548
2003-02-12 21:45:39 +00:00
Chris Lattner
f14d8e2bf1 Add a basic-aa test
llvm-svn: 5516
2003-02-09 19:01:00 +00:00
Chris Lattner
eb090dec1d Check field sensitivity
llvm-svn: 5483
2003-02-03 21:40:14 +00:00
Chris Lattner
ebcc3bd08d Build DS-AA tests
llvm-svn: 5482
2003-02-03 21:31:53 +00:00
Chris Lattner
a6399868d9 Initial tests for DS alias analysis
llvm-svn: 5481
2003-02-03 21:31:43 +00:00
Chris Lattner
3005c08d8c New testcase
llvm-svn: 5466
2003-02-02 16:30:29 +00:00
Chris Lattner
f7239c68d4 New testcase
llvm-svn: 5444
2003-01-30 22:24:14 +00:00
Chris Lattner
0c6b0b35e9 New testcase
llvm-svn: 5440
2003-01-30 20:03:15 +00:00
Chris Lattner
529306b77f NEw testcase
llvm-svn: 5438
2003-01-30 19:28:01 +00:00
Chris Lattner
37933baf1a Bug that is unfixable with current frontend
llvm-svn: 5436
2003-01-30 17:34:04 +00:00
Chris Lattner
b428dcbeeb New testcase
llvm-svn: 5434
2003-01-30 17:07:55 +00:00
Chris Lattner
7e8c050f81 Fix broken testcase
llvm-svn: 5416
2003-01-23 19:52:48 +00:00
Chris Lattner
f3f34e469c Remove testcases that never could have worked anyway (they print out pointer values)
llvm-svn: 5415
2003-01-23 19:51:18 +00:00
Chris Lattner
efa980131b Limit the amount of time the test will run
llvm-svn: 5413
2003-01-23 16:52:04 +00:00
Chris Lattner
6a79e596ce Dont' stop the build
llvm-svn: 5412
2003-01-23 16:51:47 +00:00
Chris Lattner
02d03fd8a8 * Only run LLVM tests so that testing is not stopped.
* This directory should only contain LLVM tests anyway

llvm-svn: 5411
2003-01-23 16:51:24 +00:00
Chris Lattner
4d7ad1cae6 ; Testcase reduced from 197.parser by bugpoint
llvm-svn: 5406
2003-01-23 02:38:50 +00:00
Chris Lattner
b229912fd7 New testcase reduced from 197.parser by bugpoint
llvm-svn: 5404
2003-01-23 02:11:29 +00:00
Chris Lattner
6c78c94a92 -ENABLE_STATS also enables timing
llvm-svn: 5386
2003-01-21 21:31:29 +00:00
Chris Lattner
3248f9cf91 Remove obsolete tests
llvm-svn: 5361
2003-01-17 19:45:49 +00:00
Chris Lattner
ab9021d937 Remove obsolete test
llvm-svn: 5360
2003-01-17 19:44:02 +00:00
Chris Lattner
48c016e8e4 Add support for make TEST=foo
llvm-svn: 5333
2003-01-16 20:26:29 +00:00
Chris Lattner
a3349072d8 Add more testcases
llvm-svn: 5330
2003-01-16 19:43:11 +00:00
Chris Lattner
f36235c1d2 Cleanup testcase
llvm-svn: 5292
2003-01-15 18:06:37 +00:00
Chris Lattner
0c35443367 New testcase
llvm-svn: 5263
2003-01-13 20:02:16 +00:00
Chris Lattner
cc60b69bcf New testcases
llvm-svn: 5261
2003-01-13 01:03:16 +00:00
Chris Lattner
a9c08b50ae test the shift cases for long that are implemented
llvm-svn: 5250
2003-01-13 00:57:49 +00:00
Chris Lattner
93a6598107 test longs
llvm-svn: 5249
2003-01-13 00:57:37 +00:00
Chris Lattner
b0d6bfca05 Test longs and fp
llvm-svn: 5248
2003-01-13 00:57:19 +00:00
Chris Lattner
ce17b87539 TEst longs
llvm-svn: 5247
2003-01-13 00:57:11 +00:00
Chris Lattner
8aa1a4c643 Add test for longs
llvm-svn: 5246
2003-01-13 00:57:04 +00:00
Chris Lattner
d7ba363bed add div test as well
llvm-svn: 5245
2003-01-13 00:56:54 +00:00
Chris Lattner
4c8e84bb60 test a bunch of stuff
llvm-svn: 5244
2003-01-13 00:56:37 +00:00
Chris Lattner
e451078909 Test long support
llvm-svn: 5243
2003-01-13 00:56:27 +00:00
Chris Lattner
c1f89884ca Add capability to turn on the -no-fp-elim option
llvm-svn: 5161
2002-12-28 20:01:23 +00:00
Chris Lattner
8dde3469ee Add another simple call
llvm-svn: 5160
2002-12-28 20:01:07 +00:00
Chris Lattner
c513cbfa46 Test argument passing
llvm-svn: 5159
2002-12-28 20:00:47 +00:00
Chris Lattner
1c2ddafa2e Add a variable sized alloca to test
llvm-svn: 5158
2002-12-28 20:00:33 +00:00
Chris Lattner
14e00852c5 Initial fp test
llvm-svn: 5155
2002-12-25 05:14:29 +00:00
Chris Lattner
ec08d0bf6b Testcases for bugfixes
llvm-svn: 5123
2002-12-23 23:51:30 +00:00
Chris Lattner
912f11f35d Jello is now part of LLI
llvm-svn: 5122
2002-12-23 23:51:19 +00:00
Chris Lattner
6e80973050 New testcase
llvm-svn: 5121
2002-12-23 23:50:35 +00:00
Chris Lattner
b9909bdefd Remove temp files
llvm-svn: 5118
2002-12-23 23:47:39 +00:00
Chris Lattner
acd2890ec1 Jello is going away
llvm-svn: 5117
2002-12-23 23:47:20 +00:00
Chris Lattner
3b100b8767 Add stats output
llvm-svn: 5110
2002-12-20 04:14:19 +00:00
Chris Lattner
8557cb2489 Print argc as well as argv
llvm-svn: 5105
2002-12-18 02:07:21 +00:00
Chris Lattner
dcb3cfb698 Make testcase return 0 on success
llvm-svn: 5091
2002-12-17 02:02:01 +00:00
Chris Lattner
7418dc3975 Add dummy implementation of __main
llvm-svn: 5089
2002-12-16 23:31:48 +00:00
Chris Lattner
dfcaf6aa62 New testcase for printing out arguments
llvm-svn: 5085
2002-12-16 20:09:54 +00:00
Chris Lattner
c3be436a6a Add new testcase for repeated preds
llvm-svn: 5056
2002-12-15 20:52:08 +00:00
Chris Lattner
54734f0267 New testcase for structure argument problems.
llvm-svn: 5042
2002-12-15 17:46:18 +00:00
Chris Lattner
cbfdde7f72 New test to make sure I'm getting constness right
llvm-svn: 5041
2002-12-15 17:37:35 +00:00
Chris Lattner
1e30ba04b9 New testcase, courtesy of Brian Gaeke
llvm-svn: 5040
2002-12-15 17:14:32 +00:00
Chris Lattner
fe3c271ffe Allow folding together two globals through type resolution
llvm-svn: 5038
2002-12-15 16:32:21 +00:00
Chris Lattner
76939edaf0 Testcase identified by Brian Gaeke that breaks the C frontend...
llvm-svn: 5036
2002-12-15 15:52:03 +00:00
Chris Lattner
e4c65213f5 New testcase for bool support
llvm-svn: 5031
2002-12-15 07:55:43 +00:00
Chris Lattner
70760e7cb9 Test indirect call
llvm-svn: 5025
2002-12-13 14:15:20 +00:00
Chris Lattner
e6362c661b New testcase
llvm-svn: 5018
2002-12-13 12:10:16 +00:00
Chris Lattner
e3d5a3e467 Return success on success
llvm-svn: 5006
2002-12-13 10:13:45 +00:00
Chris Lattner
f8310c83dd Test more phi stuff
llvm-svn: 5005
2002-12-13 10:12:50 +00:00
Brian Gaeke
34ad176df5 lib/Target/X86/InstSelectSimple.cpp: Start counting arguments with 2,
because arguments start two stack slots off of EBP. Break out of the
 for loop once the argument is found. Increment the counter at the end
 of the loop instead of the beginning. Use addRegOffset and compute
 the scale * index part at compile time instead of using the fancy
 load instruction. Just because an instruction set has wacky addressing
 modes doesn't mean we ought to use them (at least, if you believe Dave
 Patterson).

lib/Target/X86/X86InstrBuilder.h: Add some comments.

test/Regression/Jello/test-loadstore.ll:  Let main return int 0.

llvm-svn: 4999
2002-12-13 09:28:50 +00:00
Chris Lattner
beb18ff2dd return 0 on success
llvm-svn: 4996
2002-12-13 06:57:24 +00:00
Chris Lattner
8ed9bdc80a Stop sucking
llvm-svn: 4992
2002-12-13 05:51:32 +00:00
Misha Brukman
02f2676eac Making main() return 0 so that we know it ran successfully when it exits.
llvm-svn: 4991
2002-12-13 05:44:21 +00:00
Misha Brukman
a60d5f394d Making main() return 0 to exit without error when no error actually occurs.
llvm-svn: 4990
2002-12-13 05:43:36 +00:00
Chris Lattner
071795caf3 Fix testcase
llvm-svn: 4989
2002-12-13 05:42:57 +00:00
Chris Lattner
c2871e6cfb Infinite loops, are, well, not good
llvm-svn: 4987
2002-12-13 05:28:50 +00:00
Misha Brukman
37ebb1a55f This way it's easier to test: if the call to external exit(0) succeeded,
program exits with code 0, no error. If the call does not work/succeed, main
returns 1, so we notice it. The other way around doesn't work. :)

llvm-svn: 4984
2002-12-13 04:43:32 +00:00
Chris Lattner
b8ec19c4a1 Check in an old testcase
llvm-svn: 4951
2002-12-07 17:08:07 +00:00
Chris Lattner
3cde2e355e New testcase pointed out by Casey Carter
llvm-svn: 4934
2002-12-05 22:25:47 +00:00
Misha Brukman
b68d769c01 Return 0 to make it into a fully-functioning "Hello, World!" test case.
llvm-svn: 4931
2002-12-04 23:58:41 +00:00
Chris Lattner
6f002640ff Fix testcase
llvm-svn: 4926
2002-12-04 23:51:44 +00:00
Chris Lattner
f9ddcf9bd5 New testcase
llvm-svn: 4920
2002-12-04 17:35:11 +00:00
Chris Lattner
e8386a7e44 Add main functions to benchmarks
llvm-svn: 4915
2002-12-04 17:15:07 +00:00
Chris Lattner
f64d7c6939 New testcase
llvm-svn: 4912
2002-12-04 17:00:25 +00:00
Chris Lattner
e653814b5c Testcase for call instruction
llvm-svn: 4890
2002-12-03 20:30:03 +00:00
Chris Lattner
ee03b04210 Standard hello-world test
llvm-svn: 4889
2002-12-03 20:25:43 +00:00
Chris Lattner
68add39b01 Make testcase more interesting
llvm-svn: 4820
2002-11-21 23:30:08 +00:00
Chris Lattner
aedd7ddff2 Move test
llvm-svn: 4808
2002-11-21 17:20:32 +00:00
Chris Lattner
765cab60e7 Shuffle testcases around
llvm-svn: 4807
2002-11-21 17:20:12 +00:00
Chris Lattner
4c6cbfe211 New testcase
llvm-svn: 4806
2002-11-21 17:18:37 +00:00
Chris Lattner
486c9926b7 Checkin testcases for bugpoint
llvm-svn: 4791
2002-11-20 22:30:02 +00:00
Chris Lattner
4a4ea55228 Add support for bugpoint
llvm-svn: 4768
2002-11-19 21:57:18 +00:00
Chris Lattner
842793e45f New testcase for loads and stores
llvm-svn: 4715
2002-11-17 21:06:13 +00:00
Chris Lattner
c185d38059 New testcase
llvm-svn: 4703
2002-11-13 06:54:00 +00:00
Chris Lattner
8175700c70 Run local, bu, & td analyses
llvm-svn: 4670
2002-11-10 06:41:19 +00:00
Chris Lattner
b5493b772c Add new test that causes infinite recursion in bu pass
llvm-svn: 4669
2002-11-10 06:41:07 +00:00
Chris Lattner
d700f5db93 New testcase
llvm-svn: 4667
2002-11-10 03:35:43 +00:00
Chris Lattner
ca81f24a2e Allow tests to be run with release tools when ENABLE_OPTIMIZED=1
llvm-svn: 4650
2002-11-09 00:50:02 +00:00
Chris Lattner
b196fead59 Fix predicate
llvm-svn: 4617
2002-11-08 00:31:27 +00:00
Chris Lattner
e00133efd0 Add testcase that is fscking twolf
llvm-svn: 4615
2002-11-08 00:22:07 +00:00
Brian Gaeke
64d1827a58 comment out the 64-bit cases for now.
llvm-svn: 4604
2002-11-07 18:09:02 +00:00
Brian Gaeke
100510d2a8 Add instruction selection code and tests for setcc instructions
llvm-svn: 4603
2002-11-07 17:59:21 +00:00
Nick Hildenbrandt
711d90d546 Certain characters not getting escaped properly
llvm-svn: 4582
2002-11-06 21:38:39 +00:00
Chris Lattner
b14dc8aaaf libraries is used for internal stuff, not as a real testcase
llvm-svn: 4580
2002-11-06 20:36:52 +00:00
Chris Lattner
b08ece4571 New testcases
llvm-svn: 4563
2002-11-06 06:20:53 +00:00
Chris Lattner
d1de2510fc New testcase to handle eventually
llvm-svn: 4558
2002-11-06 00:52:21 +00:00
Chris Lattner
328212ad42 New testcase
llvm-svn: 4553
2002-11-05 21:12:30 +00:00
Chris Lattner
9f359e4395 Add new getelementptr elimination test
llvm-svn: 4535
2002-11-04 16:35:14 +00:00
Chris Lattner
862c22518a New testcase for malloc promotion
llvm-svn: 4533
2002-11-04 16:18:07 +00:00
Chris Lattner
b3f6e9491f Add information about why this testcase fails
llvm-svn: 4529
2002-11-04 06:16:13 +00:00
Chris Lattner
007c4d3141 Convert uint gep operands to long
llvm-svn: 4528
2002-11-04 06:09:46 +00:00
Chris Lattner
6765b6d381 Convert old style gep index from uint to long
llvm-svn: 4527
2002-11-04 06:07:04 +00:00
Chris Lattner
716ff3f4e6 Improve the clean target
llvm-svn: 4519
2002-11-04 00:33:19 +00:00
Chris Lattner
3feb63c213 Enable div and mod tests
llvm-svn: 4507
2002-11-02 20:54:11 +00:00
Chris Lattner
7d942f6d15 Enable multiply tests
llvm-svn: 4505
2002-11-02 20:28:47 +00:00
Chris Lattner
d1c303a1c6 New testcase for arithmetic operations
llvm-svn: 4504
2002-11-02 20:13:40 +00:00
Chris Lattner
32535a99f1 New testcase for logical operators
llvm-svn: 4501
2002-11-02 20:04:02 +00:00
Chris Lattner
f86144293d Make phi test a bit more challenging
llvm-svn: 4499
2002-11-02 19:45:30 +00:00
Chris Lattner
bc981007b0 Only test that uncond branch works
llvm-svn: 4497
2002-11-02 19:27:45 +00:00
Chris Lattner
6857731ae5 Expose a LJELLO variable
llvm-svn: 4495
2002-11-02 01:41:07 +00:00
Chris Lattner
81a46e1d74 Tests results are invalidated when jello is rebuilt
llvm-svn: 4494
2002-11-02 01:40:24 +00:00
Chris Lattner
202087ea2a Add a testcase cee should eventually pass
llvm-svn: 4484
2002-11-01 17:29:35 +00:00
Vikram S. Adve
fb09c1e402 Use absolute path name for "analyze" since we are changing directories.
llvm-svn: 4483
2002-11-01 16:49:10 +00:00
Brian Gaeke
81c6a7f7cd A new test case that tries to generate all the different possible shift
opcodes.

llvm-svn: 4478
2002-10-31 23:05:22 +00:00
Nick Hildenbrandt
a14ade019e CBE doesn't alloc correctly
llvm-svn: 4474
2002-10-31 18:23:09 +00:00
Chris Lattner
dbe9db0e15 New testcases
llvm-svn: 4464
2002-10-31 05:38:19 +00:00
Chris Lattner
2b71e7f10b Tell cvs to ignore *.dot and *.ps files in this directory
llvm-svn: 4463
2002-10-31 04:59:02 +00:00
Chris Lattner
3b827bcaaf New testcase for the possible array merging scenarios
llvm-svn: 4462
2002-10-31 04:48:32 +00:00
Chris Lattner
6543ec06a6 New testcases
llvm-svn: 4455
2002-10-31 01:25:13 +00:00
Chris Lattner
20ed68f623 Make the testcase MORE complex
llvm-svn: 4448
2002-10-30 02:03:59 +00:00
Chris Lattner
c87d6cdce5 Name the first basic block
llvm-svn: 4445
2002-10-30 01:54:42 +00:00
Chris Lattner
0b3fbcfd30 Make pointless testcase a bit more "challenging"
llvm-svn: 4299
2002-10-27 21:18:06 +00:00
Chris Lattner
eab61a23a7 Checkin simple testcases for LLVM-JIT
llvm-svn: 4288
2002-10-25 23:01:51 +00:00
Chris Lattner
1e2887855d Update test to use long instead of uint getelementptr subscripts
llvm-svn: 4280
2002-10-25 22:29:07 +00:00
Chris Lattner
5092ecd2ae New testcase
llvm-svn: 4200
2002-10-16 20:08:19 +00:00
Chris Lattner
715ee86363 New testcase
llvm-svn: 4189
2002-10-16 00:08:08 +00:00
Chris Lattner
cc46ccb8eb Clean up testcases
llvm-svn: 4187
2002-10-15 21:39:49 +00:00
Chris Lattner
62b5f7040d Cleanup test
llvm-svn: 4185
2002-10-15 21:21:42 +00:00
Chris Lattner
75631d4e51 Fix typo
llvm-svn: 4184
2002-10-15 21:20:18 +00:00
Chris Lattner
ba0d92b555 New testcase
llvm-svn: 4183
2002-10-15 21:18:03 +00:00
Chris Lattner
6d75a44cd0 Cleanup testcase
llvm-svn: 4182
2002-10-15 21:14:24 +00:00
Chris Lattner
c62d322984 Fix testcase
llvm-svn: 4181
2002-10-15 21:10:53 +00:00
Vikram S. Adve
75311bff80 Test case that shows some poor results for register allocation.
llvm-svn: 4167
2002-10-14 14:53:06 +00:00
Chris Lattner
3d41813b7a MAke sure llc output is regenerated if the LLC binary changes.
llvm-svn: 4164
2002-10-14 06:12:10 +00:00
Chris Lattner
e82fbd0ff7 Simplify again
llvm-svn: 4154
2002-10-13 21:51:55 +00:00
Chris Lattner
5958375380 Simplify testcase
llvm-svn: 4152
2002-10-13 21:47:43 +00:00
Chris Lattner
e772032256 Rename test so that we can run the disassembler on it.
llvm-svn: 4151
2002-10-13 21:43:56 +00:00
Chris Lattner
dc1602f5ec Checking testcase for bytecode reader/writer that is causing the SPEC parser
benchmark to not build.

llvm-svn: 4150
2002-10-13 21:38:21 +00:00
Vikram S. Adve
27487637f8 Add a test for folding a GEP into a load.
llvm-svn: 4139
2002-10-13 00:44:00 +00:00
Vikram S. Adve
97b4ecaaff Added inline constant expressions, including uses in binary subtract.
llvm-svn: 4125
2002-10-12 23:47:36 +00:00
Chris Lattner
e325097564 New testcase that causes invalid llvm to be emitted by cfe
llvm-svn: 4124
2002-10-12 23:37:34 +00:00
Chris Lattner
8081455368 Add check to see if opt aborts
llvm-svn: 4098
2002-10-09 20:55:32 +00:00
Chris Lattner
a92a64af7c New testcase
llvm-svn: 4097
2002-10-09 20:37:13 +00:00
Chris Lattner
c9ed9a594a Avoid having testcases spit out bytecode on error
llvm-svn: 4096
2002-10-09 20:36:54 +00:00
Chris Lattner
0ca434ecd5 Cleanup testcase a lot to test JUST funcresolve of globals
llvm-svn: 4095
2002-10-09 17:44:34 +00:00
Chris Lattner
929c9c90be New testcase for infinite loop that the raise pass is getting into
llvm-svn: 4087
2002-10-09 00:09:59 +00:00
Chris Lattner
a79cd9c1a0 New testcase that the assembler is unacceptably slow on
llvm-svn: 4084
2002-10-08 22:35:04 +00:00
Chris Lattner
2da5975c47 New testcase for bug that messes up the CWriter
llvm-svn: 4082
2002-10-08 21:57:49 +00:00
Chris Lattner
0007480fd4 Cleanup testcase
llvm-svn: 4073
2002-10-08 19:11:21 +00:00
Chris Lattner
35c02b84ff Make test more interesting by adding dummy phi node
llvm-svn: 4072
2002-10-08 19:11:02 +00:00
Chris Lattner
1e39dc6f80 Add new testcase for arithmetic shr of -1
llvm-svn: 4069
2002-10-08 16:10:35 +00:00
Chris Lattner
717bd8eb0b This test was mistakenly matching 'predecessors' that the new asmwriter
spits out

llvm-svn: 4068
2002-10-08 16:09:47 +00:00
Chris Lattner
b9cacc43f7 New testcase
llvm-svn: 4065
2002-10-07 20:32:38 +00:00
Chris Lattner
0d8fa625ea Fix testcase to run correctly, add description
llvm-svn: 4064
2002-10-07 20:25:45 +00:00
Chris Lattner
21aba702ee Finally I'm able to distill a testcase for a problem I'm seeing!
llvm-svn: 4063
2002-10-07 20:05:27 +00:00
Chris Lattner
80cf2a964b Update testcase to be legal llvm
llvm-svn: 4057
2002-10-07 17:00:53 +00:00