Commit Graph

1218 Commits

Author SHA1 Message Date
Chris Lattner
03e444c960 New testcase, not only possible of causing compilation failures, but could
also cause miscompilations!

llvm-svn: 8198
2003-08-29 00:03:45 +00:00
Misha Brukman
f6221eca2c Near-term fix for renaming as' -> llvm-as' and dis' -> llvm-dis'.
llvm-svn: 8194
2003-08-28 21:46:34 +00:00
Chris Lattner
b045389650 Add another testcase I found lying around.
llvm-svn: 8186
2003-08-28 20:33:46 +00:00
Chris Lattner
d105e0d5fd Add test for the last chapter of our C++ exception handling odyssey. llvmg++
now fully supports all C++ exception handling functionality.

llvm-svn: 8185
2003-08-28 20:32:36 +00:00
Chris Lattner
eb133d331c New testcases, all of which work with llvmg++!
This tests exception specifications, and also adds an "easy" rethrow test.

llvm-svn: 8183
2003-08-28 19:57:53 +00:00
Chris Lattner
735129a531 Link to the C++ libraries. This is temporary
llvm-svn: 8182
2003-08-28 19:57:14 +00:00
Chris Lattner
8b65c87099 Move the testcase elsewhere
llvm-svn: 8165
2003-08-27 19:06:04 +00:00
Chris Lattner
ca65067ff8 New testcase. Unfortunately, native GCC gets this wrong. Someday we will have to figure out how to deal with this.
llvm-svn: 8162
2003-08-27 18:19:53 +00:00
Chris Lattner
acf9c4a442 New testcases, which WORK with LLVMG++ and the CBE.
llvm-svn: 8158
2003-08-27 04:57:33 +00:00
Chris Lattner
4b7b766053 New testcase
llvm-svn: 8151
2003-08-27 01:05:19 +00:00
Brian Gaeke
035fe6b810 Fix spelling error in comment.
llvm-svn: 8143
2003-08-25 17:29:40 +00:00
Chris Lattner
e16f66a7e4 New testcase
llvm-svn: 8138
2003-08-24 20:23:21 +00:00
Chris Lattner
352ed0b9f0 Add output
llvm-svn: 8137
2003-08-24 20:19:49 +00:00
Chris Lattner
f1c539aca0 New testcase
llvm-svn: 8128
2003-08-24 19:23:31 +00:00
Chris Lattner
507b92d9f9 New testcase
llvm-svn: 8125
2003-08-24 17:58:24 +00:00
Chris Lattner
d7a53f8652 Fix grep
llvm-svn: 8114
2003-08-24 12:53:20 +00:00
Chris Lattner
749944ac8a New testcase
llvm-svn: 8113
2003-08-24 12:30:51 +00:00
Chris Lattner
682e37350d New testcase directory
llvm-svn: 8112
2003-08-24 12:27:53 +00:00
Chris Lattner
0792c6c289 Fix typeos and add descriptions
llvm-svn: 8108
2003-08-24 12:16:58 +00:00
Chris Lattner
c8c0b12fc3 New testcases for inlining invoke instructions
llvm-svn: 8103
2003-08-24 06:55:07 +00:00
Chris Lattner
e5e5778d06 New testcase
llvm-svn: 8100
2003-08-24 05:02:26 +00:00
Chris Lattner
791309f4af new testcase
llvm-svn: 8098
2003-08-24 04:06:04 +00:00
Chris Lattner
7e200cfaee New testcase, distilled from 176.gcc
llvm-svn: 8096
2003-08-24 00:21:50 +00:00
Chris Lattner
25fcf5681d new testcase distilled from 176.gcc
llvm-svn: 8094
2003-08-23 23:38:59 +00:00
Chris Lattner
1e40de654b Add a new switch folding testcase
llvm-svn: 8092
2003-08-23 23:17:59 +00:00
Chris Lattner
7d51f90850 New testcase
llvm-svn: 8086
2003-08-23 22:43:42 +00:00
Chris Lattner
6c1d52a194 New testcase
llvm-svn: 8085
2003-08-23 22:09:26 +00:00
Chris Lattner
3efea5202a New testcase, which causes the linker to segv.
llvm-svn: 8082
2003-08-23 21:13:26 +00:00
Chris Lattner
1f3e16fc21 Test functions as well as globals
llvm-svn: 8079
2003-08-23 20:30:29 +00:00
Chris Lattner
0fc9c70b99 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
11eecd3d03 New testcase
llvm-svn: 8071
2003-08-23 19:37:39 +00:00
Chris Lattner
b42affb224 New testcase, which is basically the problem with 176.gcc
llvm-svn: 8068
2003-08-23 15:53:38 +00:00
Chris Lattner
3c346cb78a Disable .d file generation for LLVM tests
llvm-svn: 8052
2003-08-22 14:09:46 +00:00
Chris Lattner
327089b9da New testcase for non-simple variable and type names
llvm-svn: 8048
2003-08-22 05:40:04 +00:00
Chris Lattner
01800ef0ae Remove name, add body. Causes llvmg++ segfault!
llvm-svn: 8045
2003-08-22 04:36:12 +00:00
Chris Lattner
320579f1a6 add comment
llvm-svn: 8044
2003-08-22 04:31:24 +00:00
Chris Lattner
3a124f3c34 new testcase
llvm-svn: 8043
2003-08-22 04:13:13 +00:00
Chris Lattner
a6baac4966 Simplify test
llvm-svn: 8025
2003-08-21 21:33:19 +00:00
John Criswell
5f4028f282 Regression test that verifies that the JIT passes the environment to the
main() function.

llvm-svn: 8023
2003-08-21 21:18:21 +00:00
Chris Lattner
d6fd306eb9 New testcase
llvm-svn: 8014
2003-08-21 19:37:46 +00:00
Misha Brukman
ab4a42535f Test case distilled from bash.
llvm-svn: 8013
2003-08-21 18:59:56 +00:00
Chris Lattner
c71ccb6895 remove invalid test
llvm-svn: 8012
2003-08-21 18:48:13 +00:00
Misha Brukman
0f52b05875 Test case distilled from `bash'.
llvm-svn: 8011
2003-08-21 18:45:48 +00:00
Chris Lattner
bce5e9b2b2 Yet another testcase distilled from emacs by Misha!
llvm-svn: 8010
2003-08-21 18:25:37 +00:00
Chris Lattner
99d18c55fe New testcase, distilled from emacs by Misha
llvm-svn: 8009
2003-08-21 17:56:32 +00:00
John Criswell
a6fc32ada6 Added the ability to run the QMTests. It is currently not enabled by default,
but is here in case others want to start trying it out.

llvm-svn: 8001
2003-08-21 15:09:29 +00:00
Chris Lattner
d5726c58de Point to the RIGHT GCC library directory
llvm-svn: 7998
2003-08-20 22:42:17 +00:00
Chris Lattner
ca386ad6d8 Simplify testcase even more
llvm-svn: 7991
2003-08-20 20:36:09 +00:00
Chris Lattner
131c891918 New makefile for new directory
llvm-svn: 7990
2003-08-20 20:24:16 +00:00
Chris Lattner
8a5fd6ec0b new testcase
llvm-svn: 7989
2003-08-20 20:24:09 +00:00
Chris Lattner
efbb117a4a new testcase
llvm-svn: 7988
2003-08-20 19:48:18 +00:00
Chris Lattner
e012dc065a new testcase
llvm-svn: 7987
2003-08-20 19:22:28 +00:00
Chris Lattner
0970a82701 Whoa, GCC accepts this. Whack.
llvm-svn: 7986
2003-08-20 18:25:04 +00:00
Chris Lattner
f96d581c69 New testcase, distilled from bison
llvm-svn: 7985
2003-08-20 18:17:13 +00:00
Chris Lattner
d775249c76 New testcase, distilled from 'screen' by Misha
llvm-svn: 7984
2003-08-20 16:13:10 +00:00
Chris Lattner
0f2fda7957 New testcase for GEP folding
llvm-svn: 7982
2003-08-20 16:11:05 +00:00
Chris Lattner
e491a86f5d Make testcase more interesting
llvm-svn: 7976
2003-08-19 21:57:23 +00:00
Chris Lattner
f096d122fb Fix buggy testcase
llvm-svn: 7966
2003-08-18 22:34:14 +00:00
Chris Lattner
1c45564d70 Make the testcase more interesting
llvm-svn: 7961
2003-08-18 21:44:10 +00:00
Chris Lattner
afef81edfd New testcase distilled from mutt
llvm-svn: 7959
2003-08-18 20:19:18 +00:00
Chris Lattner
613d4926b1 New testcase, distilled from ed-0.2
llvm-svn: 7950
2003-08-18 15:45:55 +00:00
Misha Brukman
56f7db4178 Spell `necessary' correctly.
llvm-svn: 7944
2003-08-18 14:43:39 +00:00
Chris Lattner
eed7beaf57 New testcase distilled from GNU Go
llvm-svn: 7930
2003-08-18 02:57:31 +00:00
Chris Lattner
a04af285cd New testcase to ensure that switch folding happens correctly
llvm-svn: 7922
2003-08-17 20:19:31 +00:00
Chris Lattner
96b0234163 New testcase
llvm-svn: 7920
2003-08-17 19:37:57 +00:00
Chris Lattner
24fe70b3de New testcase
llvm-svn: 7918
2003-08-17 19:29:34 +00:00
Chris Lattner
5c17a82ce9 No need to print in the testcase
llvm-svn: 7914
2003-08-16 20:56:35 +00:00
Chris Lattner
916993f384 new testcase narrowed down from xboard
llvm-svn: 7910
2003-08-15 23:15:37 +00:00
Chris Lattner
aa7c7ca541 New testcase identified by misha, distilled from the 'ls' program
llvm-svn: 7909
2003-08-15 22:36:55 +00:00
Chris Lattner
608e645f45 Some of this gets hoisted up to Makefile.common
llvm-svn: 7856
2003-08-15 02:19:08 +00:00
Chris Lattner
1b8d1e8b02 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
b4a93eef33 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
8dfb140200 Add some tests for difficult reassociation cases
llvm-svn: 7824
2003-08-13 19:01:09 +00:00
Chris Lattner
93e4916c37 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
5a3ca99914 Update test to represent new cannonicalization rules for multiplies
llvm-svn: 7804
2003-08-13 04:20:06 +00:00
Chris Lattner
2633d5c2b1 new testcase
llvm-svn: 7791
2003-08-12 21:35:55 +00:00
Chris Lattner
3a54425d95 Right, instcombine cannot remove ((X >> C) << C) if it's signed.
llvm-svn: 7790
2003-08-12 21:22:51 +00:00
Chris Lattner
e1eb197115 New testcases
llvm-svn: 7789
2003-08-12 21:20:49 +00:00
Chris Lattner
bed18de8d0 New testcases
llvm-svn: 7781
2003-08-12 19:10:50 +00:00
Chris Lattner
f061b332b4 Testcase for feature we should support eventually
llvm-svn: 7772
2003-08-12 14:58:08 +00:00
Chris Lattner
050e145557 New testcase
llvm-svn: 7711
2003-08-10 22:02:44 +00:00
Sumant Kowshik
9f8c5e3245 Removed the support for pool allocation testing. This will be in a separate TEST file
llvm-svn: 7664
2003-08-07 05:36:53 +00:00
John Criswell
635a8c2a31 Removed Makefile.common.
Since we are including Makefile.test, we automatically get Makefile.common.
Furthermore, the double inclusion of Makefile.common causes the test suite to
be executed twice per invocation of the top level make.

llvm-svn: 7652
2003-08-06 21:50:36 +00:00
Chris Lattner
352ceeba9e New testcase
llvm-svn: 7643
2003-08-06 18:26:19 +00:00
Sumant Kowshik
7f7a4a1472 Added POOLFLAGS option to run pool allocation
llvm-svn: 7624
2003-08-06 01:03:28 +00:00
Tanya Lattner
9d218f68d1 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
e465467534 new testcases that simplifycfg breaks
llvm-svn: 7598
2003-08-05 16:11:36 +00:00
Chris Lattner
11c55b01b0 New testcase, identified by Vikram, reduced by Brian
llvm-svn: 7582
2003-08-04 23:28:44 +00:00
Chris Lattner
b0c4251c0b New testcase
llvm-svn: 7575
2003-08-04 20:43:48 +00:00
Chris Lattner
46e32d7e62 New testcase
llvm-svn: 7560
2003-08-04 04:53:13 +00:00
Chris Lattner
0ebe4a52fb New testcase
llvm-svn: 7557
2003-08-04 02:11:05 +00:00
Chris Lattner
e16a7ab1d7 New testcase
llvm-svn: 7525
2003-08-03 18:28:09 +00:00
Chris Lattner
ea9297063a New testcase
llvm-svn: 7517
2003-08-03 17:47:52 +00:00
Chris Lattner
802765f14a Fix problem executing the CBE
llvm-svn: 7500
2003-08-01 23:29:59 +00:00
Chris Lattner
063010fc6c Add test of file inclusion capability for bugpoint
llvm-svn: 7435
2003-07-30 20:55:37 +00:00
Chris Lattner
05d010862c Initial tests for tblgen
llvm-svn: 7430
2003-07-30 19:40:00 +00:00
Vikram S. Adve
dc9d96c228 Regression test for incorrect character emitted to char array.
llvm-svn: 7379
2003-07-29 14:02:40 +00:00
Chris Lattner
e3e77de966 Somehow "simplest" test became a hello world test. Rectify this.
llvm-svn: 7353
2003-07-27 00:28:10 +00:00
Chris Lattner
e20dc0fd40 Simplify some makefile magic, no functional changes
llvm-svn: 7336
2003-07-25 22:26:17 +00:00
Chris Lattner
092a931aa2 Add fixmes
llvm-svn: 7335
2003-07-25 21:13:16 +00:00
Chris Lattner
30096fa918 This test has been automatized
llvm-svn: 7333
2003-07-25 21:09:42 +00:00
Chris Lattner
f9a29d50df Update to use more modern graph checker
llvm-svn: 7332
2003-07-25 21:09:20 +00:00
Chris Lattner
095ffd992d New testcase, an automatized version of Vikrams ggcollapse.c file
llvm-svn: 7331
2003-07-25 21:09:11 +00:00
Chris Lattner
7c72e1a537 Remove testcase which has been automatized
llvm-svn: 7325
2003-07-25 20:55:08 +00:00
Chris Lattner
fef040821f Checkin of Vikram's ggfuncptr.c test adapted for automatic checking
llvm-svn: 7324
2003-07-25 20:53:58 +00:00
Chris Lattner
33030f30d6 More testcases, which I'll implement later
llvm-svn: 7298
2003-07-24 19:44:51 +00:00
Chris Lattner
74300fe9fd Modernize testcase
llvm-svn: 7297
2003-07-24 19:42:28 +00:00
Chris Lattner
e6255fa31c New testcase
llvm-svn: 7296
2003-07-24 19:31:08 +00:00
Chris Lattner
ffcad975f1 New testcases for signed shifts
llvm-svn: 7294
2003-07-24 18:38:09 +00:00
Chris Lattner
2c1555180e Add new tests, make existing tests more difficult
llvm-svn: 7286
2003-07-23 23:21:08 +00:00
Chris Lattner
e2f7f1c479 New testcase
llvm-svn: 7284
2003-07-23 22:02:39 +00:00
Chris Lattner
4fa5064a8e New testcases
llvm-svn: 7281
2003-07-23 21:36:01 +00:00
Chris Lattner
41a06297b5 Renumber tests sequentially
llvm-svn: 7280
2003-07-23 21:11:56 +00:00
Chris Lattner
477e2cfdf8 Split the or and xor tests into two separate files
llvm-svn: 7279
2003-07-23 21:10:55 +00:00
Chris Lattner
176b5899a6 Remove obscure test
llvm-svn: 7278
2003-07-23 21:06:34 +00:00
Chris Lattner
5b08fe9fbf Check in old testcase sitting in my tree
llvm-svn: 7277
2003-07-23 20:48:03 +00:00
Chris Lattner
13c6cb7f5f New testcase
llvm-svn: 7271
2003-07-23 19:35:51 +00:00
Chris Lattner
df40438bd7 New testcase
llvm-svn: 7267
2003-07-23 19:24:34 +00:00
Chris Lattner
5a4bcac8b1 New testcase
llvm-svn: 7266
2003-07-23 19:05:29 +00:00
Chris Lattner
1bfbaa842e New testcases
llvm-svn: 7263
2003-07-23 18:28:42 +00:00
Chris Lattner
3847a79aa0 New testcase
llvm-svn: 7261
2003-07-23 17:56:34 +00:00
Chris Lattner
be67ac6543 New testcase
llvm-svn: 7259
2003-07-23 17:25:55 +00:00
Chris Lattner
eaf43bbfae New tests
llvm-svn: 7256
2003-07-23 17:01:18 +00:00
Chris Lattner
5ff1500e85 New testcase that caused infinite loop in taildup
llvm-svn: 7242
2003-07-23 03:32:11 +00:00
Chris Lattner
e1ab6bb4de New testcases
llvm-svn: 7240
2003-07-22 21:44:06 +00:00
Chris Lattner
f71891f2e0 Add new testcase
llvm-svn: 7229
2003-07-22 16:18:09 +00:00
John Criswell
b62eacd2bb 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
d8c1b1911c 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
5e5a37f750 *** empty log message ***
llvm-svn: 7150
2003-07-10 19:32:38 +00:00
Vikram S. Adve
a80952c017 Just documentation.
llvm-svn: 7149
2003-07-10 19:31:26 +00:00
Vikram S. Adve
902d09bdef Simplified DOTRACING flag.
llvm-svn: 7135
2003-07-08 23:40:48 +00:00
Vikram S. Adve
5f41b754e9 Use libinstr.$(ARCH).a instead of libinstr64.a
Also, $(RM) needs -f flag.

llvm-svn: 7128
2003-07-08 18:39:51 +00:00
Vikram S. Adve
cc28472b7a *** empty log message ***
llvm-svn: 7126
2003-07-08 15:39:02 +00:00
Vikram S. Adve
52e1c7001e 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
6642d2a0c8 New testcase
llvm-svn: 7092
2003-07-03 06:29:15 +00:00
Chris Lattner
c7465646a6 Fix testcase failing because of change of output
llvm-svn: 7045
2003-07-01 21:03:30 +00:00
John Criswell
218a238a37 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
3242ae8792 new testcase
llvm-svn: 7043
2003-07-01 18:52:01 +00:00
Chris Lattner
6fa0bd2ce5 Move to test/programs/LLvmsource
llvm-svn: 7037
2003-07-01 17:50:11 +00:00
Chris Lattner
cf911757c2 Make testcase a bit more interesting
llvm-svn: 7033
2003-07-01 16:28:32 +00:00
Chris Lattner
c4e2a6568d New testcase
llvm-svn: 7032
2003-07-01 16:28:20 +00:00
Chris Lattner
eecabc05a0 This causes an assert in the assembler. :(
llvm-svn: 7016
2003-06-30 22:03:21 +00:00
Misha Brukman
3e70f63a54 Spell apparently' with an e'.
llvm-svn: 7011
2003-06-30 15:33:47 +00:00
Chris Lattner
b5f7eadd16 New testcase
llvm-svn: 7010
2003-06-30 15:17:39 +00:00
Chris Lattner
b7d298c91d Add dependency on analyze
llvm-svn: 7009
2003-06-30 15:17:36 +00:00
Chris Lattner
9fc21749e1 New testcase
llvm-svn: 6995
2003-06-30 03:25:53 +00:00
Chris Lattner
7fa38d7edb Add clean target to clean up my mess
llvm-svn: 6988
2003-06-29 23:20:51 +00:00
Chris Lattner
394de19993 This node should not be incomplete!
llvm-svn: 6984
2003-06-29 22:35:55 +00:00
Chris Lattner
8fdb1dcff1 New testcase
llvm-svn: 6983
2003-06-29 22:20:53 +00:00
Chris Lattner
ba9973bcf3 New, smaller testcase
llvm-svn: 6980
2003-06-29 18:17:20 +00:00