Commit Graph

1065 Commits

Author SHA1 Message Date
Chris Lattner a439aaf71e New testcase
llvm-svn: 7266
2003-07-23 19:05:29 +00:00
Chris Lattner d5663230b4 New testcases
llvm-svn: 7263
2003-07-23 18:28:42 +00:00
Chris Lattner aeef93ccdb New testcase
llvm-svn: 7261
2003-07-23 17:56:34 +00:00
Chris Lattner 2309b410f3 New testcase
llvm-svn: 7259
2003-07-23 17:25:55 +00:00
Chris Lattner a4f252d0fe New tests
llvm-svn: 7256
2003-07-23 17:01:18 +00:00
Chris Lattner 96b9038998 New testcase that caused infinite loop in taildup
llvm-svn: 7242
2003-07-23 03:32:11 +00:00
Chris Lattner 9af9880ddc New testcases
llvm-svn: 7240
2003-07-22 21:44:06 +00:00
Chris Lattner 4f22f7e7d0 Add new testcase
llvm-svn: 7229
2003-07-22 16:18:09 +00:00
John Criswell 57886cb4da 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 aa694a6f47 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 fc329cd57b *** empty log message ***
llvm-svn: 7150
2003-07-10 19:32:38 +00:00
Vikram S. Adve f8c303d344 Just documentation.
llvm-svn: 7149
2003-07-10 19:31:26 +00:00
Vikram S. Adve 6c9dc89ba5 *** empty log message ***
llvm-svn: 7126
2003-07-08 15:39:02 +00:00
Vikram S. Adve 95b36820bb 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 1646906d18 New testcase
llvm-svn: 7092
2003-07-03 06:29:15 +00:00
Chris Lattner c5703edeb6 Fix testcase failing because of change of output
llvm-svn: 7045
2003-07-01 21:03:30 +00:00
John Criswell 57c57a1bbf 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 a4f746d536 new testcase
llvm-svn: 7043
2003-07-01 18:52:01 +00:00
Chris Lattner b6e3fb6350 Move to test/programs/LLvmsource
llvm-svn: 7037
2003-07-01 17:50:11 +00:00
Chris Lattner 09711cc547 Make testcase a bit more interesting
llvm-svn: 7033
2003-07-01 16:28:32 +00:00
Chris Lattner b7d4e63b23 New testcase
llvm-svn: 7032
2003-07-01 16:28:20 +00:00
Chris Lattner c0822444fd This causes an assert in the assembler. :(
llvm-svn: 7016
2003-06-30 22:03:21 +00:00
Misha Brukman 2202c5a688 Spell `apparently' with an `e'.
llvm-svn: 7011
2003-06-30 15:33:47 +00:00
Chris Lattner 31514c1c92 New testcase
llvm-svn: 7010
2003-06-30 15:17:39 +00:00
Chris Lattner d9b889c4df Add dependency on analyze
llvm-svn: 7009
2003-06-30 15:17:36 +00:00
Chris Lattner 88cd849788 New testcase
llvm-svn: 6995
2003-06-30 03:25:53 +00:00
Chris Lattner 2e2dc8e19d Add clean target to clean up my mess
llvm-svn: 6988
2003-06-29 23:20:51 +00:00
Chris Lattner 10db1077ff This node should not be incomplete!
llvm-svn: 6984
2003-06-29 22:35:55 +00:00
Chris Lattner c0f4dc1cfa New testcase
llvm-svn: 6983
2003-06-29 22:20:53 +00:00
Chris Lattner 3ff1d70ecb New, smaller testcase
llvm-svn: 6980
2003-06-29 18:17:20 +00:00
Chris Lattner 7da5f74c56 New testcase
llvm-svn: 6978
2003-06-29 17:18:59 +00:00
Chris Lattner e019d9e068 Fix testcase
llvm-svn: 6976
2003-06-29 01:09:07 +00:00
Chris Lattner 3a51027f3d New testcase
llvm-svn: 6975
2003-06-29 01:03:53 +00:00
Chris Lattner 5a61d2ffe2 Make sure that the global is known to be internal
llvm-svn: 6974
2003-06-29 00:57:34 +00:00
Chris Lattner 7739abc07b New testcase
llvm-svn: 6969
2003-06-28 23:52:34 +00:00
Chris Lattner e9505ee0f9 Do not chain to basic-aa
llvm-svn: 6968
2003-06-28 23:49:06 +00:00
Chris Lattner 423909da4d Remove usage of grep-not script
llvm-svn: 6966
2003-06-28 23:32:04 +00:00
Chris Lattner a6fee9d6d5 Remove explicit control flow through the use of the 'not' script
llvm-svn: 6965
2003-06-28 23:23:34 +00:00
Chris Lattner 213fbb3bbb Move DSGraph tests to test/Regression/Analysis/DSGraph
llvm-svn: 6964
2003-06-28 23:17:42 +00:00
Chris Lattner e4bdb41532 Move files to test/Regression/Analysis/DSGraph
llvm-svn: 6963
2003-06-28 23:17:26 +00:00
Chris Lattner abdf66ccfb No use in having CFGSimplify and SimplifyCFG directories!
llvm-svn: 6962
2003-06-28 23:14:35 +00:00
Chris Lattner cd1d05ab33 Eliminate explicit control flow in tests
llvm-svn: 6961
2003-06-28 23:13:12 +00:00
Chris Lattner 6cf9053473 Use not instead of grep-not
llvm-svn: 6960
2003-06-28 23:02:51 +00:00
Chris Lattner f8037d9b2b 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 5d83a502b0 Force the interpreter for this testcase
llvm-svn: 6958
2003-06-28 23:02:04 +00:00
Chris Lattner dabfbcf19b Get rid of control flow in the test
llvm-svn: 6957
2003-06-28 22:53:07 +00:00
Chris Lattner 11c21f3eb2 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 4be846d21e Fix testcase
llvm-svn: 6952
2003-06-28 22:31:37 +00:00
Chris Lattner 6545a75e93 Improve the make rule
llvm-svn: 6948
2003-06-28 22:16:59 +00:00
Chris Lattner 111065409a New testcase
llvm-svn: 6942
2003-06-28 21:56:22 +00:00
Chris Lattner 58626c9be7 New makefile for Dsgraph tests
llvm-svn: 6940
2003-06-28 21:16:38 +00:00
Chris Lattner 34a4ddae0f Add DSGraph to the tests
llvm-svn: 6939
2003-06-28 21:16:27 +00:00
Chris Lattner 2d52dd12b2 New testcase for invoke support
llvm-svn: 6933
2003-06-28 17:52:38 +00:00
Chris Lattner de025f3220 New testcase
llvm-svn: 6930
2003-06-28 17:07:23 +00:00
Chris Lattner 8bf2e04b87 New testcase that crashes the cfe
llvm-svn: 6925
2003-06-27 02:37:53 +00:00
Chris Lattner d104cdb0ba 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 8c4b0d05ee add tests for elimination of loads
llvm-svn: 6911
2003-06-26 05:05:51 +00:00
Chris Lattner 63912f05ab Add test for instcombine -1*X -> -X
llvm-svn: 6905
2003-06-25 17:10:34 +00:00
Chris Lattner 930c8595f8 New testcase
llvm-svn: 6902
2003-06-25 17:08:34 +00:00
Chris Lattner fec65d7526 New testcase
llvm-svn: 6900
2003-06-25 14:55:30 +00:00
Chris Lattner ef3d5d055d New testcase
llvm-svn: 6893
2003-06-24 23:40:27 +00:00
Chris Lattner 7f8bb880b4 Don't print message, remove temp files
llvm-svn: 6892
2003-06-24 23:38:09 +00:00
Chris Lattner 67baccf458 New testcase
llvm-svn: 6890
2003-06-24 22:58:05 +00:00
Chris Lattner 0892887b1f Modernize testcase
llvm-svn: 6888
2003-06-24 21:51:03 +00:00
Chris Lattner f65c39946a modernize testcase
llvm-svn: 6886
2003-06-24 21:23:50 +00:00
Chris Lattner 70f3ad6eb3 Make sure adce is basically working!
llvm-svn: 6885
2003-06-24 21:22:09 +00:00
Chris Lattner 639d5880f6 Modernize testcases
llvm-svn: 6884
2003-06-24 21:21:31 +00:00
Chris Lattner 4ded20b380 New testcase
llvm-svn: 6882
2003-06-24 20:29:36 +00:00
Chris Lattner 17b4e96e7e Testcase reduced by bugpoint
llvm-svn: 6880
2003-06-24 19:17:37 +00:00
Chris Lattner d410284dd2 Run the tail dup tests
llvm-svn: 6879
2003-06-24 18:49:51 +00:00
Chris Lattner eea63a519a Fix comment
llvm-svn: 6872
2003-06-23 21:52:59 +00:00
Chris Lattner b501ef80ff Yet another testcase
llvm-svn: 6871
2003-06-23 21:49:25 +00:00
Chris Lattner 4bc0c4b974 Test cases for when casts to bool can be eliminated
llvm-svn: 6870
2003-06-23 21:48:26 +00:00
Brian Gaeke 226563f7b9 New test case for C Writer regression found in 256.bzip2
llvm-svn: 6868
2003-06-23 19:59:17 +00:00
Brian Gaeke bf4cc5e735 Allow .llx testcases (i.e., those that contain explicit RUN: stmts.)
llvm-svn: 6867
2003-06-23 19:58:50 +00:00
Chris Lattner 42d3570b92 New testcase for a GCC bug
llvm-svn: 6863
2003-06-23 18:06:21 +00:00
Chris Lattner 0c78f3fb14 New testcase narrowed down by Joel
llvm-svn: 6858
2003-06-22 21:40:38 +00:00
Chris Lattner 3a8622527c New testcase
llvm-svn: 6855
2003-06-22 20:45:39 +00:00
Chris Lattner ef47a506a1 New testcases
llvm-svn: 6854
2003-06-22 20:32:35 +00:00
Chris Lattner c6fcd9338c Initial checkin
llvm-svn: 6853
2003-06-22 20:30:00 +00:00
Chris Lattner a103d76cbe Add testcase for reason that typesafety of power is being broken
llvm-svn: 6836
2003-06-21 22:59:39 +00:00
Chris Lattner 85b116a108 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 d5cdc73f0b New testcase
llvm-svn: 6781
2003-06-18 22:48:11 +00:00
Chris Lattner a36eea5142 Make testcase more interesting, remove absolute path from -load line
llvm-svn: 6760
2003-06-17 22:21:55 +00:00
Chris Lattner b9119b3ed4 Add new testcase
llvm-svn: 6739
2003-06-17 15:16:35 +00:00
Chris Lattner 5c2d7ac52f New testcase
llvm-svn: 6735
2003-06-17 13:21:13 +00:00
Chris Lattner 6a28a105b1 Arg, sparc doesn't have correct things in math.h!
llvm-svn: 6729
2003-06-17 00:03:56 +00:00
Chris Lattner 492aea746a Minor tweak to make testcase less simple
llvm-svn: 6710
2003-06-16 14:04:18 +00:00
Chris Lattner 9eee1a61e7 New testcase identified by joel
llvm-svn: 6709
2003-06-16 13:33:59 +00:00
Chris Lattner cdfb4dbad8 New testcase identified by joel
llvm-svn: 6708
2003-06-16 13:16:20 +00:00
Chris Lattner 94c348f7d3 Fix final linking errors
llvm-svn: 6707
2003-06-16 12:27:12 +00:00
Chris Lattner 0834ee4d98 Fix link errors by adding main's
llvm-svn: 6706
2003-06-16 12:25:11 +00:00
Chris Lattner 629669bd5b Fix link problem
llvm-svn: 6705
2003-06-16 12:23:27 +00:00
Chris Lattner 4d3c66bf32 New testcases for bugs and the new DAE pass
llvm-svn: 6693
2003-06-16 12:05:38 +00:00
Chris Lattner 5a4237cbe4 Fix testcase to work with store forwarding
llvm-svn: 6689
2003-06-16 11:59:34 +00:00
Chris Lattner 210eada263 New testcase
llvm-svn: 6668
2003-06-07 21:43:56 +00:00
Misha Brukman f77c991d3a 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 1475599468 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 6457791dae Simplify test case: remove declaration of __main() and call to it.
llvm-svn: 6648
2003-06-06 06:50:43 +00:00
Chris Lattner e295306e20 New testcase
llvm-svn: 6629
2003-06-05 20:12:32 +00:00
Chris Lattner e14cfcd2b6 Test seteq AND setne
llvm-svn: 6628
2003-06-05 20:11:19 +00:00
Chris Lattner d7753dadab 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 b561e7c6da New testcase for PHI handling
llvm-svn: 6621
2003-06-05 05:38:30 +00:00
Chris Lattner d3ce33c422 Modernize testcase
llvm-svn: 6600
2003-06-04 04:47:40 +00:00
Chris Lattner e1957a34f8 Add new test for inverting branches
llvm-svn: 6598
2003-06-04 04:37:46 +00:00
Chris Lattner 4476a7bf80 Second testcase identified by Joel
llvm-svn: 6543
2003-06-02 17:31:24 +00:00
Chris Lattner 92d2086df3 New testcase identified by Joel
llvm-svn: 6541
2003-06-02 17:07:42 +00:00
Chris Lattner 1f3ae6abeb No need to print out bytecode :)
llvm-svn: 6537
2003-06-02 05:42:16 +00:00
Chris Lattner 43876ae58b New testcase, reduced from 300.twolf by bugpoint
llvm-svn: 6534
2003-06-02 04:58:23 +00:00
Chris Lattner f557cbd314 Testcase distilled from 255.vortex
llvm-svn: 6525
2003-06-02 03:07:54 +00:00
Chris Lattner a0af384528 Old testcase
llvm-svn: 6521
2003-06-02 02:13:02 +00:00
Chris Lattner 7014a116dd Add tests for cast of long to bool
llvm-svn: 6508
2003-06-01 03:37:25 +00:00
Chris Lattner ef33748248 New testcases
llvm-svn: 6505
2003-06-01 03:34:53 +00:00
Chris Lattner a0a6b9c1b7 Add tests for 64 bit shifts
llvm-svn: 6501
2003-06-01 01:57:44 +00:00
Chris Lattner 3b7974d40c New testcase
llvm-svn: 6494
2003-05-31 23:27:10 +00:00
Chris Lattner a71b979201 New testcase
llvm-svn: 6484
2003-05-31 21:33:08 +00:00
Chris Lattner bb25391608 New testcase for behavior we depend on.
llvm-svn: 6483
2003-05-31 21:14:45 +00:00
Chris Lattner 2111527574 New testcase
llvm-svn: 6481
2003-05-31 21:04:39 +00:00
Chris Lattner 9c6e99cae6 Add another testcase
llvm-svn: 6478
2003-05-31 20:33:09 +00:00
Chris Lattner 1fcfd4eb61 New testcase
llvm-svn: 6477
2003-05-31 20:21:13 +00:00
Vikram S. Adve a48e258ab6 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 1656f61b93 New testcase
llvm-svn: 6454
2003-05-30 21:03:00 +00:00
Chris Lattner 0eef7c0d10 New testcase
llvm-svn: 6427
2003-05-30 05:26:08 +00:00
Chris Lattner f9079b0fe3 New testcase
llvm-svn: 6417
2003-05-29 21:07:34 +00:00
Chris Lattner dc79514f6e New testcases
llvm-svn: 6412
2003-05-29 20:15:35 +00:00
Chris Lattner da7231e89c Check in old tests
llvm-svn: 6408
2003-05-29 19:17:51 +00:00
Chris Lattner 03ef2fc167 Change tests to use testrunner
new test

llvm-svn: 6399
2003-05-29 15:16:10 +00:00
Vikram S. Adve cf4c5a3220 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 2219a0db96 New testcase
llvm-svn: 6353
2003-05-27 16:45:09 +00:00
Chris Lattner a418a5fb68 Start testing SRoA
llvm-svn: 6350
2003-05-27 16:10:03 +00:00
Chris Lattner be3b392243 Initial testcases for scalar replacement of aggregates pass
llvm-svn: 6347
2003-05-27 15:51:17 +00:00
Chris Lattner adf7b998bd New testcase
llvm-svn: 6337
2003-05-26 23:41:13 +00:00
Chris Lattner 5759dce959 New testcase identified by Brian Gaeke. Gotta love GCC extensions. :(
llvm-svn: 6310
2003-05-23 15:07:31 +00:00
Chris Lattner 0b4913c6dc Fix testcase
llvm-svn: 6299
2003-05-22 20:43:21 +00:00
Chris Lattner f766437414 New testcase
llvm-svn: 6298
2003-05-22 20:43:06 +00:00
Chris Lattner 9a1ad97ba0 Make the testcase even more insane
llvm-svn: 6280
2003-05-22 15:49:58 +00:00
Chris Lattner bdf171369d New testcase
llvm-svn: 6279
2003-05-22 15:33:33 +00:00
Chris Lattner 33ae3b4ab4 New testcase
llvm-svn: 6278
2003-05-21 23:01:50 +00:00
Chris Lattner 1979e52e86 New testcase that was killing the CFE
llvm-svn: 6277
2003-05-21 23:01:35 +00:00
Chris Lattner 6f364249d8 New testcase that crashes the funcresolve pass.
llvm-svn: 6272
2003-05-21 20:44:16 +00:00
Chris Lattner 56280a1496 Trim testcase a bit
llvm-svn: 6269
2003-05-21 19:55:10 +00:00
Chris Lattner 84ed59a372 New testcase identified by joel
llvm-svn: 6268
2003-05-21 19:48:33 +00:00
Chris Lattner 7976fd362c New testcase
llvm-svn: 6264
2003-05-21 18:10:53 +00:00
Chris Lattner f7cd479e53 New testcase, found by inspection
llvm-svn: 6257
2003-05-21 17:46:02 +00:00
Chris Lattner cf0920cf7b New testcase
llvm-svn: 6256
2003-05-21 17:34:24 +00:00
Chris Lattner a08b772c5e Add run string
llvm-svn: 6254
2003-05-21 16:05:47 +00:00
Chris Lattner 0250ace0c8 New testcase
llvm-svn: 6253
2003-05-21 15:57:25 +00:00
Chris Lattner 0ad4f9cf01 Initial test
llvm-svn: 6240
2003-05-17 22:18:33 +00:00
Chris Lattner 00334239b9 New testcase, straight out of the asm manual
llvm-svn: 6237
2003-05-15 21:02:11 +00:00
Chris Lattner f9b586cf24 Add note
llvm-svn: 6235
2003-05-15 19:38:39 +00:00
Chris Lattner 1b17357e92 New testcase that breaks the assembler.
llvm-svn: 6233
2003-05-15 18:52:08 +00:00
Chris Lattner b4cb0090a5 Depends on analyze, not opt
llvm-svn: 6229
2003-05-15 18:03:32 +00:00
Chris Lattner dcc3d96ce3 New directory
llvm-svn: 6228
2003-05-15 18:03:12 +00:00
Chris Lattner 5c0c850bf4 New test
llvm-svn: 6227
2003-05-15 18:03:03 +00:00
Chris Lattner ee5970281d Add new loopinfo test
llvm-svn: 6226
2003-05-15 18:02:54 +00:00
Chris Lattner de6d953b1c New linker problem from twolf benchmark
llvm-svn: 6224
2003-05-15 16:01:32 +00:00
Chris Lattner d47e611cde New testcase
llvm-svn: 6222
2003-05-14 23:34:17 +00:00
Chris Lattner 515c189dd6 New testcase that breaks CFE
llvm-svn: 6217
2003-05-14 21:08:04 +00:00
Chris Lattner 36b8645e9b Modernize testcases
llvm-svn: 6205
2003-05-14 18:37:03 +00:00
Chris Lattner 70694cba0a New testcase producing assertion failure
llvm-svn: 6197
2003-05-14 15:44:54 +00:00
Chris Lattner a48319c483 Forgot to make test executable
llvm-svn: 6196
2003-05-14 14:47:38 +00:00
Chris Lattner c0fa8dc48d new testcase
llvm-svn: 6195
2003-05-14 14:38:10 +00:00
Chris Lattner 83dff9da0a Add uses of the appending variable
llvm-svn: 6177
2003-05-13 21:32:48 +00:00
Chris Lattner 473bd55d57 Add new testcase for appending linkage
llvm-svn: 6176
2003-05-13 20:48:17 +00:00
Chris Lattner 72fb6731ba New test for appending linkage
llvm-svn: 6175
2003-05-13 20:31:46 +00:00
Chris Lattner c50e3700ad New testcase
llvm-svn: 6171
2003-05-13 20:11:21 +00:00
Chris Lattner e29bbd4a2e Make test cases executable
llvm-svn: 6166
2003-05-13 19:50:01 +00:00
Chris Lattner 4bee5558d4 Make testcase executable
llvm-svn: 6165
2003-05-13 19:40:31 +00:00
Chris Lattner 4ed31ceb94 New testcase
llvm-svn: 6164
2003-05-13 18:09:44 +00:00
Chris Lattner 62f5887f03 Add test for handling ptrmem_cst
llvm-svn: 6163
2003-05-12 23:34:59 +00:00
Chris Lattner 0a2baca8f0 Make test more interesting
llvm-svn: 6162
2003-05-12 23:33:00 +00:00
Chris Lattner 0077497a15 Add first C++ test
llvm-svn: 6161
2003-05-12 23:22:51 +00:00
Chris Lattner 8321cc49b3 New testcase
llvm-svn: 6157
2003-05-12 22:28:15 +00:00
Chris Lattner ea8bf50b09 New file
llvm-svn: 6156
2003-05-12 22:25:24 +00:00
Chris Lattner a7aebc9b2c New testcase
llvm-svn: 6152
2003-05-12 21:57:41 +00:00
Chris Lattner 7ae106bc5e Enable more tests
llvm-svn: 6149
2003-05-12 20:39:30 +00:00
Chris Lattner 5baf6530c2 Add tests for casts from unsigned integers to floats
llvm-svn: 6147
2003-05-12 20:35:29 +00:00
Chris Lattner 499a56867f New testcase
llvm-svn: 6127
2003-05-12 15:34:39 +00:00
Chris Lattner 9fa8e4c5ba Make regression tests fail if any warnings are emitted
llvm-svn: 6126
2003-05-12 15:33:52 +00:00
Chris Lattner 007c69ddf8 Testcase which kills the constant folder
llvm-svn: 6124
2003-05-12 15:18:53 +00:00
Chris Lattner 250c68dc5c New bug distilled from aha program
llvm-svn: 6122
2003-05-12 15:06:20 +00:00
Chris Lattner bf4f5dc428 Add old test
llvm-svn: 6111
2003-05-12 04:06:38 +00:00
Chris Lattner 73868ac331 Simplify testcase a bit more
llvm-svn: 6107
2003-05-12 02:31:48 +00:00
Chris Lattner dd4cd15626 New testcase that crashes Jello
llvm-svn: 6106
2003-05-12 02:27:05 +00:00
Chris Lattner 78da4f069d Checkin old test
llvm-svn: 6102
2003-05-11 22:46:23 +00:00
Chris Lattner dd5b016d37 Allow llx tests as well
llvm-svn: 6088
2003-05-11 18:38:25 +00:00
Chris Lattner 70bcf76141 Remvoe testcase that should never be implemented
llvm-svn: 6048
2003-05-08 20:31:37 +00:00
Chris Lattner 892f571865 New testcase
llvm-svn: 6047
2003-05-08 20:08:03 +00:00
Chris Lattner 6ae25e5c3e 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 e7a9eefc21 New testcase distilled from the fhourstones benchmark
llvm-svn: 6006
2003-05-06 19:41:25 +00:00
Chris Lattner 7067596d20 Make sure to compiel the LowerSwitch tests
llvm-svn: 6005
2003-05-06 19:04:02 +00:00
Chris Lattner e824c98a48 New testcase
llvm-svn: 6001
2003-05-03 18:55:29 +00:00
Chris Lattner 93d6016c64 Fix miscompilation found in Fhourstones by bugpoint
llvm-svn: 5993
2003-05-03 03:39:35 +00:00
Chris Lattner 9fd90487de Fix buggy tests
llvm-svn: 5987
2003-05-03 03:08:54 +00:00
Chris Lattner d4e24c66df Reduce testcase a bit
llvm-svn: 5978
2003-05-01 21:38:57 +00:00
Chris Lattner 35afed23d5 New testcase for the lowerswitch pass
llvm-svn: 5977
2003-05-01 21:27:24 +00:00
Chris Lattner a0cde203ae 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 cb2434d38d New testcase distilled from a problem identified by sumant
llvm-svn: 5964
2003-04-26 20:29:09 +00:00
Chris Lattner 4852f3aefd Add comment to testcase
llvm-svn: 5958
2003-04-26 19:33:51 +00:00
Chris Lattner 72eac6ccac Whoever checked this testcase in apparently never tested it.
llvm-svn: 5957
2003-04-26 17:44:17 +00:00
Chris Lattner 35874f1e3c New testcase that crashes preheaders
llvm-svn: 5954
2003-04-25 23:26:52 +00:00
Chris Lattner b093bf312f New testcase
llvm-svn: 5951
2003-04-25 22:53:12 +00:00
Chris Lattner d2a969dd98 New testcase
llvm-svn: 5947
2003-04-25 20:09:17 +00:00
Chris Lattner 9501cefa9f Fix bugs in testcase
llvm-svn: 5946
2003-04-25 19:49:36 +00:00
Chris Lattner fde0022b90 Add comment
llvm-svn: 5945
2003-04-25 18:44:30 +00:00
Chris Lattner 25047dd9b9 New testcase
llvm-svn: 5939
2003-04-25 17:59:02 +00:00
Chris Lattner 0cd5d533d0 New testcase
llvm-svn: 5916
2003-04-25 00:46:14 +00:00
Chris Lattner 00a2d7e769 New testcase
llvm-svn: 5878
2003-04-23 18:38:24 +00:00
Chris Lattner 6db556a06d Tweak testcases to use linkonce as appropriate
llvm-svn: 5877
2003-04-23 18:38:13 +00:00
Chris Lattner 79dfcac6d1 New testcase
llvm-svn: 5857
2003-04-22 22:00:15 +00:00
Chris Lattner 17ae147af0 New testcase
llvm-svn: 5826
2003-04-21 21:06:25 +00:00
Chris Lattner b96c24fc2e Update testcases to match what is currently output by the CFE
llvm-svn: 5817
2003-04-19 00:17:11 +00:00
Chris Lattner 68b523a7f1 Add testcase for constantexpr gep
llvm-svn: 5815
2003-04-19 00:15:00 +00:00
Chris Lattner a4b2f1fb6f Test case for forward declared global array with no size
llvm-svn: 5814
2003-04-18 23:46:44 +00:00
Chris Lattner 71156c10b8 New testcase
llvm-svn: 5809
2003-04-18 19:22:39 +00:00
Chris Lattner eb58dbb0c4 Test case to make sure that constexprs are automatically folded
llvm-svn: 5798
2003-04-17 19:21:22 +00:00
Chris Lattner 459b9e2485 New testcase
llvm-svn: 5794
2003-04-16 22:46:16 +00:00
Chris Lattner 1078b20bc0 Add tests for linker and linkonce globals
llvm-svn: 5791
2003-04-16 21:21:35 +00:00
Chris Lattner 39f251a0fc Add PRE directory
llvm-svn: 5783
2003-04-16 20:23:42 +00:00
Chris Lattner f7cc6aeb41 New testcase that triggered assertion failure.
llvm-svn: 5776
2003-04-15 16:07:05 +00:00
Misha Brukman f0971994ca Simple arithmetic loop-based test case for modulo scheduling.
llvm-svn: 5774
2003-04-10 22:01:15 +00:00
Misha Brukman dbea9cd4be 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 3064bff740 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 6371087a0e New testcase
llvm-svn: 5770
2003-04-10 19:21:07 +00:00
Chris Lattner 431d943cc8 Initial checkin of PRE test
llvm-svn: 5761
2003-03-31 21:19:23 +00:00
Chris Lattner 8cf3b0969a Initial checkin of PRE tests
llvm-svn: 5760
2003-03-31 19:57:36 +00:00
Chris Lattner cb2691455e Test limited reassociation
llvm-svn: 5742
2003-03-11 00:10:59 +00:00
Chris Lattner dec13670e6 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 d7342fbd92 Add testcases for negated multiplies
llvm-svn: 5739
2003-03-10 23:22:50 +00:00
Chris Lattner f7a838595c 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 f67d52d3d7 * 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 2fa7577040 Modernize testcase
llvm-svn: 5732
2003-03-10 19:44:01 +00:00
Chris Lattner d97f0544e9 Add a bunch of new tests
llvm-svn: 5730
2003-03-10 19:16:20 +00:00
Chris Lattner 96c4dd94ef Add test for: (A|B)^B == A & (~B)
llvm-svn: 5727
2003-03-10 18:24:04 +00:00
Chris Lattner 87301bce1b Modernize testcase
llvm-svn: 5726
2003-03-10 18:20:53 +00:00
Chris Lattner 587cc42836 New testcase
llvm-svn: 5721
2003-03-07 17:42:55 +00:00
Chris Lattner 81e92fe0bd Update testcases to use long to index gep
llvm-svn: 5717
2003-03-06 19:59:08 +00:00
Chris Lattner 805fc16a27 Add a link to source of inspiration
llvm-svn: 5707
2003-03-05 23:02:25 +00:00
Chris Lattner 1e89893882 New testcase for pow builtin recognition
llvm-svn: 5706
2003-03-05 22:56:59 +00:00
Chris Lattner 1d48528be6 Add another testcase that may eventually be handled...
llvm-svn: 5705
2003-03-05 22:50:55 +00:00
Chris Lattner 6d0c1aeefe Add testcase for new instcombine xform
llvm-svn: 5703
2003-03-05 22:32:48 +00:00
Chris Lattner 9115973f47 Add new testcase
llvm-svn: 5701
2003-03-05 21:34:35 +00:00
Chris Lattner 25743e9cda New testcase for feature simplifycfg should handle
llvm-svn: 5698
2003-03-05 20:35:24 +00:00
Chris Lattner 283dda16ab Add testcase for new feature for simplifycfg pass
llvm-svn: 5697
2003-03-05 20:22:50 +00:00
Chris Lattner fa9cdda3c4 New testcase
llvm-svn: 5694
2003-03-04 16:33:52 +00:00
Chris Lattner aa278a881e 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 c0cee5b309 New testcase
llvm-svn: 5688
2003-03-03 21:29:00 +00:00
Chris Lattner 126d70d0e5 Add new testcase for forward reference of struct type
llvm-svn: 5687
2003-03-03 20:28:42 +00:00
Chris Lattner 91fe502573 Fix testcase
llvm-svn: 5674
2003-02-28 19:21:27 +00:00
Chris Lattner b03e45f0ff 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 a55fad38d9 New testcase
llvm-svn: 5672
2003-02-28 19:13:58 +00:00
Chris Lattner c507fa22e6 New test
llvm-svn: 5665
2003-02-28 02:55:26 +00:00
Chris Lattner e740d2126e New testcase
llvm-svn: 5660
2003-02-27 22:34:31 +00:00
Chris Lattner cabe8c0dac New testcase
llvm-svn: 5657
2003-02-27 21:59:31 +00:00
Chris Lattner 209a688b55 Testcase for Preheaders problem
llvm-svn: 5654
2003-02-27 21:38:56 +00:00
Chris Lattner 355cbad370 New testcase crashing LICM
llvm-svn: 5648
2003-02-26 23:16:44 +00:00
Chris Lattner 256cc1d1b4 Fix test
llvm-svn: 5646
2003-02-26 22:01:58 +00:00
Chris Lattner 22a8d51aa3 New testcase for size tracking brokenness
llvm-svn: 5644
2003-02-26 21:39:52 +00:00
Chris Lattner 30f40d94cc Rename -no-* to -disable-*
llvm-svn: 5642
2003-02-26 20:00:41 +00:00
Chris Lattner dbb8c65e26 Hopefully final tweak to this testcase
llvm-svn: 5626
2003-02-26 16:18:00 +00:00
Chris Lattner 90aed35455 Add a new test for basicaa
llvm-svn: 5625
2003-02-25 21:43:37 +00:00
Chris Lattner 49952645c8 Fix testcase
llvm-svn: 5621
2003-02-24 23:14:07 +00:00
Chris Lattner 9caf224833 Fix test
llvm-svn: 5617
2003-02-24 20:30:14 +00:00
Chris Lattner 24545b6ec4 Tweak testcase
llvm-svn: 5612
2003-02-24 03:52:13 +00:00
Chris Lattner 15c1063736 New testcase for scalar promotion
llvm-svn: 5611
2003-02-24 03:52:04 +00:00
Chris Lattner ae43714e27 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 c93ead3d25 Add a testcase for broken loopinfo
llvm-svn: 5602
2003-02-20 00:09:26 +00:00
Chris Lattner 2bb3969979 Make tests rerun if analyze is rebuilt
llvm-svn: 5601
2003-02-20 00:09:19 +00:00
Chris Lattner 395934091d Add new testcases
llvm-svn: 5591
2003-02-18 19:55:31 +00:00
Chris Lattner de293ee40f Modernize testcase
llvm-svn: 5590
2003-02-18 19:43:53 +00:00
Chris Lattner 2ae37b0229 Modernize testcases
llvm-svn: 5589
2003-02-18 19:43:21 +00:00
Chris Lattner c5fccf34ab 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 2bf6c22c9b modernize testcase
llvm-svn: 5586
2003-02-18 19:16:45 +00:00
Chris Lattner 2deaf77d1d Modernize testcase
llvm-svn: 5585
2003-02-18 18:06:44 +00:00
Chris Lattner 36239e2df9 New testcase distilled from LARN
llvm-svn: 5561
2003-02-14 03:02:16 +00:00
Chris Lattner 5895530d56 New testcase, for something we may never really want to support :)
llvm-svn: 5548
2003-02-12 21:45:39 +00:00
Chris Lattner 8a8407d1fd Add a basic-aa test
llvm-svn: 5516
2003-02-09 19:01:00 +00:00
Chris Lattner e344bdf485 Check field sensitivity
llvm-svn: 5483
2003-02-03 21:40:14 +00:00
Chris Lattner 20278b4ffd Build DS-AA tests
llvm-svn: 5482
2003-02-03 21:31:53 +00:00
Chris Lattner 8d621888f9 Initial tests for DS alias analysis
llvm-svn: 5481
2003-02-03 21:31:43 +00:00
Chris Lattner 5c13328c49 New testcase
llvm-svn: 5466
2003-02-02 16:30:29 +00:00
Chris Lattner 455724483b New testcase
llvm-svn: 5444
2003-01-30 22:24:14 +00:00
Chris Lattner f429d28a99 New testcase
llvm-svn: 5440
2003-01-30 20:03:15 +00:00
Chris Lattner 432c9410b4 NEw testcase
llvm-svn: 5438
2003-01-30 19:28:01 +00:00
Chris Lattner cd3ba70161 Bug that is unfixable with current frontend
llvm-svn: 5436
2003-01-30 17:34:04 +00:00
Chris Lattner d199c47f36 New testcase
llvm-svn: 5434
2003-01-30 17:07:55 +00:00
Chris Lattner 7850824e7a Fix broken testcase
llvm-svn: 5416
2003-01-23 19:52:48 +00:00
Chris Lattner 514db393cb Limit the amount of time the test will run
llvm-svn: 5413
2003-01-23 16:52:04 +00:00
Chris Lattner 80c608f4ce Dont' stop the build
llvm-svn: 5412
2003-01-23 16:51:47 +00:00
Chris Lattner d622cb8e9d * 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 c7a344d061 ; Testcase reduced from 197.parser by bugpoint
llvm-svn: 5406
2003-01-23 02:38:50 +00:00
Chris Lattner 924a162072 New testcase reduced from 197.parser by bugpoint
llvm-svn: 5404
2003-01-23 02:11:29 +00:00
Chris Lattner ddfc3fb87f Add more testcases
llvm-svn: 5330
2003-01-16 19:43:11 +00:00
Chris Lattner e4dd971fb3 Cleanup testcase
llvm-svn: 5292
2003-01-15 18:06:37 +00:00
Chris Lattner 2c2f6aebf9 New testcase
llvm-svn: 5263
2003-01-13 20:02:16 +00:00
Chris Lattner 4bf24964d2 New testcases
llvm-svn: 5261
2003-01-13 01:03:16 +00:00
Chris Lattner 13bf32bf7d test the shift cases for long that are implemented
llvm-svn: 5250
2003-01-13 00:57:49 +00:00
Chris Lattner f4d5968be2 test longs
llvm-svn: 5249
2003-01-13 00:57:37 +00:00
Chris Lattner 425bb06fb1 Test longs and fp
llvm-svn: 5248
2003-01-13 00:57:19 +00:00
Chris Lattner 14bedef4b0 TEst longs
llvm-svn: 5247
2003-01-13 00:57:11 +00:00
Chris Lattner 34e598cf2e Add test for longs
llvm-svn: 5246
2003-01-13 00:57:04 +00:00
Chris Lattner 9a9444d86f add div test as well
llvm-svn: 5245
2003-01-13 00:56:54 +00:00
Chris Lattner 35b32194b2 test a bunch of stuff
llvm-svn: 5244
2003-01-13 00:56:37 +00:00
Chris Lattner e2c485ea83 Test long support
llvm-svn: 5243
2003-01-13 00:56:27 +00:00
Chris Lattner 4927f155d6 Add capability to turn on the -no-fp-elim option
llvm-svn: 5161
2002-12-28 20:01:23 +00:00
Chris Lattner 12fff8aea2 Add another simple call
llvm-svn: 5160
2002-12-28 20:01:07 +00:00
Chris Lattner 5c3ce1695b Test argument passing
llvm-svn: 5159
2002-12-28 20:00:47 +00:00
Chris Lattner 39192e0463 Add a variable sized alloca to test
llvm-svn: 5158
2002-12-28 20:00:33 +00:00
Chris Lattner 47283917c6 Initial fp test
llvm-svn: 5155
2002-12-25 05:14:29 +00:00
Chris Lattner 3c5d763b95 Testcases for bugfixes
llvm-svn: 5123
2002-12-23 23:51:30 +00:00
Chris Lattner 691b531842 Jello is now part of LLI
llvm-svn: 5122
2002-12-23 23:51:19 +00:00
Chris Lattner 8a75652e4f New testcase
llvm-svn: 5121
2002-12-23 23:50:35 +00:00
Chris Lattner f3628b3d67 Remove temp files
llvm-svn: 5118
2002-12-23 23:47:39 +00:00
Chris Lattner 84ea4c572c Add stats output
llvm-svn: 5110
2002-12-20 04:14:19 +00:00
Chris Lattner 07b2da5d67 Print argc as well as argv
llvm-svn: 5105
2002-12-18 02:07:21 +00:00
Chris Lattner 0a9aed1a1b Make testcase return 0 on success
llvm-svn: 5091
2002-12-17 02:02:01 +00:00
Chris Lattner 4377c67bc6 Add dummy implementation of __main
llvm-svn: 5089
2002-12-16 23:31:48 +00:00
Chris Lattner 89645751ba New testcase for printing out arguments
llvm-svn: 5085
2002-12-16 20:09:54 +00:00
Chris Lattner 22213f0027 Add new testcase for repeated preds
llvm-svn: 5056
2002-12-15 20:52:08 +00:00
Chris Lattner 1ace1747d7 New testcase for structure argument problems.
llvm-svn: 5042
2002-12-15 17:46:18 +00:00
Chris Lattner 0a6a620830 New test to make sure I'm getting constness right
llvm-svn: 5041
2002-12-15 17:37:35 +00:00
Chris Lattner 59e46d0248 New testcase, courtesy of Brian Gaeke
llvm-svn: 5040
2002-12-15 17:14:32 +00:00
Chris Lattner 6b61f97a8f Allow folding together two globals through type resolution
llvm-svn: 5038
2002-12-15 16:32:21 +00:00
Chris Lattner 443d236464 Testcase identified by Brian Gaeke that breaks the C frontend...
llvm-svn: 5036
2002-12-15 15:52:03 +00:00
Chris Lattner 97c6c7461b New testcase for bool support
llvm-svn: 5031
2002-12-15 07:55:43 +00:00
Chris Lattner db133dbbd3 Test indirect call
llvm-svn: 5025
2002-12-13 14:15:20 +00:00
Chris Lattner 371a878863 New testcase
llvm-svn: 5018
2002-12-13 12:10:16 +00:00
Chris Lattner eda9c79bbf Return success on success
llvm-svn: 5006
2002-12-13 10:13:45 +00:00
Chris Lattner 62ccf91463 Test more phi stuff
llvm-svn: 5005
2002-12-13 10:12:50 +00:00
Brian Gaeke eaeacc5872 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 c93799b779 return 0 on success
llvm-svn: 4996
2002-12-13 06:57:24 +00:00
Chris Lattner 295a415a31 Stop sucking
llvm-svn: 4992
2002-12-13 05:51:32 +00:00
Misha Brukman 999f5d6fb8 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 3bbfca1401 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 f243ce960a Fix testcase
llvm-svn: 4989
2002-12-13 05:42:57 +00:00
Chris Lattner 0a6e0562a3 Infinite loops, are, well, not good
llvm-svn: 4987
2002-12-13 05:28:50 +00:00
Misha Brukman 2a0baf1a2b 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 55dfb8230e Check in an old testcase
llvm-svn: 4951
2002-12-07 17:08:07 +00:00
Chris Lattner b20bdd2ba1 New testcase pointed out by Casey Carter
llvm-svn: 4934
2002-12-05 22:25:47 +00:00
Misha Brukman 6e2b097d26 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 a839ef0cfd Fix testcase
llvm-svn: 4926
2002-12-04 23:51:44 +00:00
Chris Lattner 2b210cf949 New testcase
llvm-svn: 4920
2002-12-04 17:35:11 +00:00
Chris Lattner 46eff7d55f Add main functions to benchmarks
llvm-svn: 4915
2002-12-04 17:15:07 +00:00
Chris Lattner 4bc49fa46e New testcase
llvm-svn: 4912
2002-12-04 17:00:25 +00:00
Chris Lattner a148496989 Testcase for call instruction
llvm-svn: 4890
2002-12-03 20:30:03 +00:00
Chris Lattner dd6df94b00 Standard hello-world test
llvm-svn: 4889
2002-12-03 20:25:43 +00:00
Chris Lattner d2b1b2c8ac Make testcase more interesting
llvm-svn: 4820
2002-11-21 23:30:08 +00:00
Chris Lattner 3d8fc7fc85 Move test
llvm-svn: 4808
2002-11-21 17:20:32 +00:00
Chris Lattner 61574bb7ad Shuffle testcases around
llvm-svn: 4807
2002-11-21 17:20:12 +00:00
Chris Lattner 76116fae3e New testcase
llvm-svn: 4806
2002-11-21 17:18:37 +00:00