Commit Graph

1065 Commits

Author SHA1 Message Date
Misha Brukman 7eb05a170a Spell `necessary' correctly.
llvm-svn: 7944
2003-08-18 14:43:39 +00:00
Chris Lattner fe65f947dd New testcase distilled from GNU Go
llvm-svn: 7930
2003-08-18 02:57:31 +00:00
Chris Lattner 26dc7b6224 New testcase to ensure that switch folding happens correctly
llvm-svn: 7922
2003-08-17 20:19:31 +00:00
Chris Lattner 05ed0396ec New testcase
llvm-svn: 7920
2003-08-17 19:37:57 +00:00
Chris Lattner 2f3ef79496 New testcase
llvm-svn: 7918
2003-08-17 19:29:34 +00:00
Chris Lattner 5be09ac5b0 No need to print in the testcase
llvm-svn: 7914
2003-08-16 20:56:35 +00:00
Chris Lattner f38f8275d7 new testcase narrowed down from xboard
llvm-svn: 7910
2003-08-15 23:15:37 +00:00
Chris Lattner 909f56a7a6 New testcase identified by misha, distilled from the 'ls' program
llvm-svn: 7909
2003-08-15 22:36:55 +00:00
Chris Lattner dad4e27046 I must have missed these when eliminating the cast to bool cannonicalizations
llvm-svn: 7829
2003-08-13 20:17:41 +00:00
Chris Lattner faedc5ef79 Add some more tests for: (A <setcc1> B) logicalop (A <setcc2> B)
llvm-svn: 7827
2003-08-13 20:13:15 +00:00
Chris Lattner 895746a4b7 Add some tests for difficult reassociation cases
llvm-svn: 7824
2003-08-13 19:01:09 +00:00
Chris Lattner 9b741f172c Reorganize tests because we no longer cannonicalize X != 0 -> cast X to bool
In fact, we plan to eliminate cast to bool entirely.

llvm-svn: 7805
2003-08-13 05:27:57 +00:00
Chris Lattner bcbac5eaea Update test to represent new cannonicalization rules for multiplies
llvm-svn: 7804
2003-08-13 04:20:06 +00:00
Chris Lattner 15be830b4f new testcase
llvm-svn: 7791
2003-08-12 21:35:55 +00:00
Chris Lattner e8c98debef Right, instcombine cannot remove ((X >> C) << C) if it's signed.
llvm-svn: 7790
2003-08-12 21:22:51 +00:00
Chris Lattner 699b952403 New testcases
llvm-svn: 7789
2003-08-12 21:20:49 +00:00
Chris Lattner 4d9385c849 New testcases
llvm-svn: 7781
2003-08-12 19:10:50 +00:00
Chris Lattner 05e8f9cea0 Testcase for feature we should support eventually
llvm-svn: 7772
2003-08-12 14:58:08 +00:00
Chris Lattner ba2cf32f00 New testcase
llvm-svn: 7711
2003-08-10 22:02:44 +00:00
Chris Lattner 39a2b3aa08 New testcase
llvm-svn: 7643
2003-08-06 18:26:19 +00:00
Tanya Lattner b96c7a6985 Added LICM test cases to:
1) Check that trapping instructionns that are not guaranteed to execute are not hoisted.
2) Check that trapping instructions that are guaranteed to execute are hoisted.

llvm-svn: 7613
2003-08-05 18:52:42 +00:00
Chris Lattner cc88b0ad42 new testcases that simplifycfg breaks
llvm-svn: 7598
2003-08-05 16:11:36 +00:00
Chris Lattner 732a3883ed New testcase, identified by Vikram, reduced by Brian
llvm-svn: 7582
2003-08-04 23:28:44 +00:00
Chris Lattner 15eebca876 New testcase
llvm-svn: 7575
2003-08-04 20:43:48 +00:00
Chris Lattner 1078a81a3a New testcase
llvm-svn: 7560
2003-08-04 04:53:13 +00:00
Chris Lattner bd81d1123e New testcase
llvm-svn: 7557
2003-08-04 02:11:05 +00:00
Chris Lattner f701d26304 New testcase
llvm-svn: 7525
2003-08-03 18:28:09 +00:00
Chris Lattner dad79da288 New testcase
llvm-svn: 7517
2003-08-03 17:47:52 +00:00
Chris Lattner 27d0fef451 Fix problem executing the CBE
llvm-svn: 7500
2003-08-01 23:29:59 +00:00
Chris Lattner 4290a933d8 Add test of file inclusion capability for bugpoint
llvm-svn: 7435
2003-07-30 20:55:37 +00:00
Chris Lattner 40ae76ec8e Initial tests for tblgen
llvm-svn: 7430
2003-07-30 19:40:00 +00:00
Vikram S. Adve 29a64e481d Regression test for incorrect character emitted to char array.
llvm-svn: 7379
2003-07-29 14:02:40 +00:00
Chris Lattner 09a63a80e2 Somehow "simplest" test became a hello world test. Rectify this.
llvm-svn: 7353
2003-07-27 00:28:10 +00:00
Chris Lattner b8d6e590f1 Add fixmes
llvm-svn: 7335
2003-07-25 21:13:16 +00:00
Chris Lattner 62d02dc33a Update to use more modern graph checker
llvm-svn: 7332
2003-07-25 21:09:20 +00:00
Chris Lattner 6533e211d2 New testcase, an automatized version of Vikrams ggcollapse.c file
llvm-svn: 7331
2003-07-25 21:09:11 +00:00
Chris Lattner 561d1e6e1d Checkin of Vikram's ggfuncptr.c test adapted for automatic checking
llvm-svn: 7324
2003-07-25 20:53:58 +00:00
Chris Lattner daff644d47 More testcases, which I'll implement later
llvm-svn: 7298
2003-07-24 19:44:51 +00:00
Chris Lattner 4f6a4119c3 Modernize testcase
llvm-svn: 7297
2003-07-24 19:42:28 +00:00
Chris Lattner 6dc37abe72 New testcase
llvm-svn: 7296
2003-07-24 19:31:08 +00:00
Chris Lattner 9e2dc8924a New testcases for signed shifts
llvm-svn: 7294
2003-07-24 18:38:09 +00:00
Chris Lattner 14f7522071 Add new tests, make existing tests more difficult
llvm-svn: 7286
2003-07-23 23:21:08 +00:00
Chris Lattner 092fb6c66c New testcase
llvm-svn: 7284
2003-07-23 22:02:39 +00:00
Chris Lattner 2326ef6484 New testcases
llvm-svn: 7281
2003-07-23 21:36:01 +00:00
Chris Lattner fbfe819ec6 Renumber tests sequentially
llvm-svn: 7280
2003-07-23 21:11:56 +00:00
Chris Lattner 2cc064c96f Split the or and xor tests into two separate files
llvm-svn: 7279
2003-07-23 21:10:55 +00:00
Chris Lattner 177cc120f9 Remove obscure test
llvm-svn: 7278
2003-07-23 21:06:34 +00:00
Chris Lattner 8820aaf1e6 Check in old testcase sitting in my tree
llvm-svn: 7277
2003-07-23 20:48:03 +00:00
Chris Lattner b69f30c115 New testcase
llvm-svn: 7271
2003-07-23 19:35:51 +00:00
Chris Lattner fcd1efbbc0 New testcase
llvm-svn: 7267
2003-07-23 19:24:34 +00:00
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