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

1217 Commits

Author SHA1 Message Date
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