Commit Graph

678 Commits

Author SHA1 Message Date
Chris Lattner b7c3faabcd New testcase for the deadreturnvalue deletion extension to -deadargelim
llvm-svn: 9389
2003-10-22 22:33:59 +00:00
Chris Lattner 21c505f95e New testcase for fun hack that is absolutely necessary for the C++ stdlib.
llvm-svn: 9362
2003-10-22 03:35:18 +00:00
Chris Lattner de20d44b3e New testcase: globals should be linked if they are the wrong type. We should
just moan loudly.

llvm-svn: 9358
2003-10-21 23:17:45 +00:00
Chris Lattner 59607b0a40 This was not a lower-switch bug, it was a preselection bug
llvm-svn: 9340
2003-10-21 18:02:17 +00:00
Misha Brukman 4947c42086 Only fails on the Sparc, only when run via the JIT.
And yet, it's a failure in the ``LowerSwitch'' pass.

llvm-svn: 9315
2003-10-21 04:13:37 +00:00
Chris Lattner 84b5eb206c New testcase which the inliner breaks
llvm-svn: 9108
2003-10-14 01:04:12 +00:00
Chris Lattner c3ad6e0b1f make the indvar obviously non-canonical
llvm-svn: 9070
2003-10-13 03:31:42 +00:00
Chris Lattner 3e53700320 new testcase
llvm-svn: 9064
2003-10-12 22:26:42 +00:00
Chris Lattner 2a4080c140 Files moved to the LoopSimplify directory
llvm-svn: 9062
2003-10-12 21:57:11 +00:00
Chris Lattner 9eb9fc8102 The -preheaders pass is now known as -loopsimplify
llvm-svn: 9057
2003-10-12 21:42:35 +00:00
Chris Lattner 3cd3cb537c new testcase. globaldce should not delete the global
llvm-svn: 8999
2003-10-10 04:54:23 +00:00
Chris Lattner f6b9e8cc69 old testcase
llvm-svn: 8967
2003-10-08 18:28:10 +00:00
Chris Lattner 7803da6151 Checkin an old bug, which appears to be fixed
llvm-svn: 8966
2003-10-08 18:26:10 +00:00
Chris Lattner 68c824b7c0 new testcase
llvm-svn: 8953
2003-10-07 22:53:46 +00:00
Chris Lattner 0ac801e252 new testcase
llvm-svn: 8882
2003-10-05 21:11:57 +00:00
John Criswell ad7fd5f122 Changed all of these tests to be TestRunner tests (or, at least they can be
TestRunner tests).
This makes creating the new test database class easier to implement.

llvm-svn: 8841
2003-10-03 18:42:25 +00:00
Chris Lattner d15f273512 Add new testcases
llvm-svn: 8816
2003-10-02 15:11:09 +00:00
John Criswell 26ef887bc3 Updated for the new QMTest test suite. Temporary output file is now placed
inside the temporary file directory.

llvm-svn: 8744
2003-09-29 21:21:59 +00:00
Chris Lattner a4e0f76fb8 new testcase
llvm-svn: 8688
2003-09-23 20:26:38 +00:00
Chris Lattner 8f36a47acc new testcase, reduced by bugpoint
llvm-svn: 8665
2003-09-22 22:22:41 +00:00
Chris Lattner 17b9ee45f9 new testcase which crashes the inliner, thanks Bugpoint!
llvm-svn: 8663
2003-09-22 21:58:46 +00:00
Chris Lattner 50af7516b0 New testcase
llvm-svn: 8617
2003-09-20 05:02:54 +00:00
Chris Lattner 066ccf8848 New testcase that basicaa should be able to handle
llvm-svn: 8614
2003-09-20 03:08:21 +00:00
Chris Lattner d441d407cf Two new tests for shifts followed by ands
llvm-svn: 8606
2003-09-19 19:04:43 +00:00
Chris Lattner def041c533 New testcases
llvm-svn: 8603
2003-09-19 15:33:46 +00:00
Chris Lattner d63ea11a0c Remove obsolete -abort-on-exception flag from LLI
llvm-svn: 8561
2003-09-16 15:35:14 +00:00
Chris Lattner 60c4583f2f Remove obsolete option
llvm-svn: 8560
2003-09-16 15:34:36 +00:00
Misha Brukman edf4bab190 Renamed `as' => `llvm-as', `dis' => `llvm-dis', `link' => `llvm-link'.
llvm-svn: 8558
2003-09-16 15:29:54 +00:00
John Criswell ea93bb4a9c Removing Makefiles. Regression tests are now run by QMTest.
llvm-svn: 8548
2003-09-15 20:21:38 +00:00
Chris Lattner 0fead45c59 new testcase that crashes opt
llvm-svn: 8536
2003-09-15 15:29:11 +00:00
Chris Lattner f654287502 New testcase
llvm-svn: 8515
2003-09-15 02:22:35 +00:00
Chris Lattner afb2777b7a New testcase
llvm-svn: 8513
2003-09-15 02:07:37 +00:00
Chris Lattner cfa3eeee63 New testcase, this should be simplified
llvm-svn: 8501
2003-09-12 16:42:16 +00:00
Chris Lattner 69fa53ce8c New testcase, bug distilled from bc
llvm-svn: 8491
2003-09-12 15:44:01 +00:00
Chris Lattner 80e8c466fb New testcase
llvm-svn: 8487
2003-09-11 22:23:48 +00:00
Chris Lattner d17fd107c7 New testcase
llvm-svn: 8440
2003-09-10 15:33:33 +00:00
Chris Lattner 83da4f8bc6 New testcase: do not DCE volatile loads!
llvm-svn: 8421
2003-09-09 18:15:45 +00:00
Chris Lattner 6c0497da74 Fix grammar-o
llvm-svn: 8392
2003-09-08 17:45:18 +00:00
Chris Lattner fbb62539dc New testcase
llvm-svn: 8391
2003-09-08 17:43:36 +00:00
Chris Lattner 3c050b5632 Fix old style test
llvm-svn: 8390
2003-09-08 16:29:02 +00:00
Chris Lattner a406dd4bbc New testcase
llvm-svn: 8275
2003-08-31 21:05:39 +00:00
Chris Lattner 2f27206d81 new tests
llvm-svn: 8249
2003-08-31 02:38:46 +00:00
Chris Lattner a13741b1d8 Add tests for the pruneeh pass
llvm-svn: 8248
2003-08-31 02:36:10 +00:00
Chris Lattner fa982a5389 New testcase
llvm-svn: 8151
2003-08-27 01:05:19 +00:00
Chris Lattner 94be300fa5 New testcase
llvm-svn: 8125
2003-08-24 17:58:24 +00:00
Chris Lattner 88b2fba6ee Fix grep
llvm-svn: 8114
2003-08-24 12:53:20 +00:00
Chris Lattner 1853f284ed Fix typeos and add descriptions
llvm-svn: 8108
2003-08-24 12:16:58 +00:00
Chris Lattner 0f12ef6289 New testcases for inlining invoke instructions
llvm-svn: 8103
2003-08-24 06:55:07 +00:00
Chris Lattner 1f71401180 New testcase
llvm-svn: 8100
2003-08-24 05:02:26 +00:00
Chris Lattner 58dfca7d4a new testcase
llvm-svn: 8098
2003-08-24 04:06:04 +00:00
Chris Lattner b42ef2dbdb Add a new switch folding testcase
llvm-svn: 8092
2003-08-23 23:17:59 +00:00
Chris Lattner 1a6242154e New testcase
llvm-svn: 8086
2003-08-23 22:43:42 +00:00
Chris Lattner 6b4b1e67b0 new testcase: we warn if we are merging together two functions whose argument
types to not match, but we should not warn unless their _primitive_ types mismatch

llvm-svn: 8075
2003-08-23 19:59:55 +00:00
Chris Lattner 39a4430722 New testcase
llvm-svn: 8071
2003-08-23 19:37:39 +00:00
Chris Lattner 07d26d47b7 Fix buggy testcase
llvm-svn: 7966
2003-08-18 22:34:14 +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 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
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 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 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
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
Chris Lattner 1646906d18 New testcase
llvm-svn: 7092
2003-07-03 06:29:15 +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 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 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 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 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
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 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
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 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 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 a0af384528 Old testcase
llvm-svn: 6521
2003-06-02 02:13:02 +00:00
Chris Lattner ef33748248 New testcases
llvm-svn: 6505
2003-06-01 03:34:53 +00:00
Chris Lattner a71b979201 New testcase
llvm-svn: 6484
2003-05-31 21:33:08 +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
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
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 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 0ad4f9cf01 Initial test
llvm-svn: 6240
2003-05-17 22:18:33 +00:00
Chris Lattner 36b8645e9b Modernize testcases
llvm-svn: 6205
2003-05-14 18:37:03 +00:00
Chris Lattner a7aebc9b2c New testcase
llvm-svn: 6152
2003-05-12 21:57:41 +00:00
Chris Lattner 007c69ddf8 Testcase which kills the constant folder
llvm-svn: 6124
2003-05-12 15:18:53 +00:00
Chris Lattner 78da4f069d Checkin old test
llvm-svn: 6102
2003-05-11 22:46:23 +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 93d6016c64 Fix miscompilation found in Fhourstones by bugpoint
llvm-svn: 5993
2003-05-03 03:39:35 +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 4852f3aefd Add comment to testcase
llvm-svn: 5958
2003-04-26 19:33:51 +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 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 79dfcac6d1 New testcase
llvm-svn: 5857
2003-04-22 22:00:15 +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 459b9e2485 New testcase
llvm-svn: 5794
2003-04-16 22:46:16 +00:00
Chris Lattner 39f251a0fc Add PRE directory
llvm-svn: 5783
2003-04-16 20:23:42 +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 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 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 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 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 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 8a8407d1fd Add a basic-aa test
llvm-svn: 5516
2003-02-09 19:01:00 +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 d199c47f36 New testcase
llvm-svn: 5434
2003-01-30 17:07:55 +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 b20bdd2ba1 New testcase pointed out by Casey Carter
llvm-svn: 4934
2002-12-05 22:25:47 +00:00
Chris Lattner 41765fd27a New testcase
llvm-svn: 4703
2002-11-13 06:54:00 +00:00
Chris Lattner 113d03b3f9 Run local, bu, & td analyses
llvm-svn: 4670
2002-11-10 06:41:19 +00:00
Chris Lattner 669e4e19df Add new test that causes infinite recursion in bu pass
llvm-svn: 4669
2002-11-10 06:41:07 +00:00
Chris Lattner 24e12a5bde New testcase
llvm-svn: 4667
2002-11-10 03:35:43 +00:00
Chris Lattner e0bc42dd69 Fix predicate
llvm-svn: 4617
2002-11-08 00:31:27 +00:00
Chris Lattner f053b37cbf Add testcase that is fscking twolf
llvm-svn: 4615
2002-11-08 00:22:07 +00:00
Chris Lattner 5f60711713 New testcases
llvm-svn: 4563
2002-11-06 06:20:53 +00:00
Chris Lattner ce216753d2 New testcase
llvm-svn: 4553
2002-11-05 21:12:30 +00:00
Chris Lattner d113c7013e Add new getelementptr elimination test
llvm-svn: 4535
2002-11-04 16:35:14 +00:00
Chris Lattner 9771be0482 New testcase for malloc promotion
llvm-svn: 4533
2002-11-04 16:18:07 +00:00
Chris Lattner 4a8f7f2159 Add information about why this testcase fails
llvm-svn: 4529
2002-11-04 06:16:13 +00:00
Chris Lattner eaa6d1370f Convert uint gep operands to long
llvm-svn: 4528
2002-11-04 06:09:46 +00:00
Chris Lattner a685b90b35 Convert old style gep index from uint to long
llvm-svn: 4527
2002-11-04 06:07:04 +00:00
Chris Lattner db3e21f9fe Improve the clean target
llvm-svn: 4519
2002-11-04 00:33:19 +00:00
Chris Lattner a75f5cf5cf Add a testcase cee should eventually pass
llvm-svn: 4484
2002-11-01 17:29:35 +00:00
Vikram S. Adve 63e0b84674 Use absolute path name for "analyze" since we are changing directories.
llvm-svn: 4483
2002-11-01 16:49:10 +00:00
Chris Lattner 9040859af3 New testcases
llvm-svn: 4464
2002-10-31 05:38:19 +00:00