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
Chris Lattner
185972c7e6
Checkin testcases for bugpoint
...
llvm-svn: 4791
2002-11-20 22:30:02 +00:00
Chris Lattner
57339c0d82
New testcase for loads and stores
...
llvm-svn: 4715
2002-11-17 21:06:13 +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
Brian Gaeke
6f7e74ccbb
comment out the 64-bit cases for now.
...
llvm-svn: 4604
2002-11-07 18:09:02 +00:00
Brian Gaeke
9cbe229704
Add instruction selection code and tests for setcc instructions
...
llvm-svn: 4603
2002-11-07 17:59:21 +00:00
Nick Hildenbrandt
36053f5b52
Certain characters not getting escaped properly
...
llvm-svn: 4582
2002-11-06 21:38:39 +00:00
Chris Lattner
5f60711713
New testcases
...
llvm-svn: 4563
2002-11-06 06:20:53 +00:00
Chris Lattner
e6a2968a5f
New testcase to handle eventually
...
llvm-svn: 4558
2002-11-06 00:52:21 +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
b322f1666a
Enable div and mod tests
...
llvm-svn: 4507
2002-11-02 20:54:11 +00:00
Chris Lattner
97c2c655c8
Enable multiply tests
...
llvm-svn: 4505
2002-11-02 20:28:47 +00:00
Chris Lattner
656474b680
New testcase for arithmetic operations
...
llvm-svn: 4504
2002-11-02 20:13:40 +00:00
Chris Lattner
bde990f226
New testcase for logical operators
...
llvm-svn: 4501
2002-11-02 20:04:02 +00:00
Chris Lattner
856c0850ab
Make phi test a bit more challenging
...
llvm-svn: 4499
2002-11-02 19:45:30 +00:00
Chris Lattner
3c9f5f45f6
Only test that uncond branch works
...
llvm-svn: 4497
2002-11-02 19:27:45 +00:00
Chris Lattner
b6f549bc6a
Tests results are invalidated when jello is rebuilt
...
llvm-svn: 4494
2002-11-02 01:40:24 +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
Brian Gaeke
ac53424858
A new test case that tries to generate all the different possible shift
...
opcodes.
llvm-svn: 4478
2002-10-31 23:05:22 +00:00
Nick Hildenbrandt
5b55d9183d
CBE doesn't alloc correctly
...
llvm-svn: 4474
2002-10-31 18:23:09 +00:00
Chris Lattner
9040859af3
New testcases
...
llvm-svn: 4464
2002-10-31 05:38:19 +00:00
Chris Lattner
0a1ed70e82
Tell cvs to ignore *.dot and *.ps files in this directory
...
llvm-svn: 4463
2002-10-31 04:59:02 +00:00
Chris Lattner
dfe8759e01
New testcase for the possible array merging scenarios
...
llvm-svn: 4462
2002-10-31 04:48:32 +00:00
Chris Lattner
237e9c0710
New testcases
...
llvm-svn: 4455
2002-10-31 01:25:13 +00:00
Chris Lattner
9d811ecc96
Make the testcase MORE complex
...
llvm-svn: 4448
2002-10-30 02:03:59 +00:00
Chris Lattner
5c39f65fcd
Name the first basic block
...
llvm-svn: 4445
2002-10-30 01:54:42 +00:00
Chris Lattner
814516f54a
Make pointless testcase a bit more "challenging"
...
llvm-svn: 4299
2002-10-27 21:18:06 +00:00
Chris Lattner
a81795267d
Checkin simple testcases for LLVM-JIT
...
llvm-svn: 4288
2002-10-25 23:01:51 +00:00
Chris Lattner
0b04e936bd
Update test to use long instead of uint getelementptr subscripts
...
llvm-svn: 4280
2002-10-25 22:29:07 +00:00
Chris Lattner
3d9fcb3f59
New testcase
...
llvm-svn: 4200
2002-10-16 20:08:19 +00:00
Chris Lattner
4ea2f29d65
New testcase
...
llvm-svn: 4189
2002-10-16 00:08:08 +00:00
Chris Lattner
6b3cb6fcaf
Clean up testcases
...
llvm-svn: 4187
2002-10-15 21:39:49 +00:00
Chris Lattner
3f3c65220d
Cleanup test
...
llvm-svn: 4185
2002-10-15 21:21:42 +00:00
Chris Lattner
b96259e467
Fix typo
...
llvm-svn: 4184
2002-10-15 21:20:18 +00:00
Chris Lattner
e048e5afb5
New testcase
...
llvm-svn: 4183
2002-10-15 21:18:03 +00:00
Chris Lattner
150a83efd5
Cleanup testcase
...
llvm-svn: 4182
2002-10-15 21:14:24 +00:00
Chris Lattner
8bf1438ecf
Fix testcase
...
llvm-svn: 4181
2002-10-15 21:10:53 +00:00
Vikram S. Adve
97232498fb
Test case that shows some poor results for register allocation.
...
llvm-svn: 4167
2002-10-14 14:53:06 +00:00
Chris Lattner
095441dcc3
Simplify again
...
llvm-svn: 4154
2002-10-13 21:51:55 +00:00
Chris Lattner
89f1161293
Simplify testcase
...
llvm-svn: 4152
2002-10-13 21:47:43 +00:00
Chris Lattner
88957b9bc0
Rename test so that we can run the disassembler on it.
...
llvm-svn: 4151
2002-10-13 21:43:56 +00:00
Chris Lattner
a5841825fe
Checking testcase for bytecode reader/writer that is causing the SPEC parser
...
benchmark to not build.
llvm-svn: 4150
2002-10-13 21:38:21 +00:00
Vikram S. Adve
31dbda2a1c
Add a test for folding a GEP into a load.
...
llvm-svn: 4139
2002-10-13 00:44:00 +00:00
Vikram S. Adve
46f21c4443
Added inline constant expressions, including uses in binary subtract.
...
llvm-svn: 4125
2002-10-12 23:47:36 +00:00
Chris Lattner
1a061216a0
New testcase that causes invalid llvm to be emitted by cfe
...
llvm-svn: 4124
2002-10-12 23:37:34 +00:00
Chris Lattner
58cbb46b5f
Add check to see if opt aborts
...
llvm-svn: 4098
2002-10-09 20:55:32 +00:00
Chris Lattner
a6a9522180
New testcase
...
llvm-svn: 4097
2002-10-09 20:37:13 +00:00
Chris Lattner
004965bfd5
Avoid having testcases spit out bytecode on error
...
llvm-svn: 4096
2002-10-09 20:36:54 +00:00
Chris Lattner
19a2f08956
Cleanup testcase a lot to test JUST funcresolve of globals
...
llvm-svn: 4095
2002-10-09 17:44:34 +00:00
Chris Lattner
57c420ea47
New testcase for infinite loop that the raise pass is getting into
...
llvm-svn: 4087
2002-10-09 00:09:59 +00:00
Chris Lattner
091c3add36
New testcase that the assembler is unacceptably slow on
...
llvm-svn: 4084
2002-10-08 22:35:04 +00:00
Chris Lattner
a1dc570868
New testcase for bug that messes up the CWriter
...
llvm-svn: 4082
2002-10-08 21:57:49 +00:00
Chris Lattner
219b848205
Make test more interesting by adding dummy phi node
...
llvm-svn: 4072
2002-10-08 19:11:02 +00:00
Chris Lattner
ee5c8a9e8d
Add new testcase for arithmetic shr of -1
...
llvm-svn: 4069
2002-10-08 16:10:35 +00:00
Chris Lattner
86566f1d85
This test was mistakenly matching 'predecessors' that the new asmwriter
...
spits out
llvm-svn: 4068
2002-10-08 16:09:47 +00:00
Chris Lattner
dd8a336e09
New testcase
...
llvm-svn: 4065
2002-10-07 20:32:38 +00:00
Chris Lattner
84d7b61585
Fix testcase to run correctly, add description
...
llvm-svn: 4064
2002-10-07 20:25:45 +00:00
Chris Lattner
85068aa417
Finally I'm able to distill a testcase for a problem I'm seeing!
...
llvm-svn: 4063
2002-10-07 20:05:27 +00:00
Chris Lattner
5b17790ba5
Checkin new "feature" test for cee
...
llvm-svn: 4054
2002-10-06 23:31:09 +00:00
Chris Lattner
3cf5bcf7e5
NEw "feature" test that cee should eventually handle
...
llvm-svn: 4053
2002-10-06 23:05:38 +00:00
Chris Lattner
8ea38b996b
New testcase for bug never checked into CVS, but that I hit during debugging a
...
new feature
llvm-svn: 4039
2002-10-04 23:29:40 +00:00
Chris Lattner
223ce0ed91
New testcase
...
llvm-svn: 4030
2002-10-03 20:06:33 +00:00
Chris Lattner
6ee87ef090
New testcase for a problem discovered in the SPECINT gzip benchmark.
...
llvm-svn: 4015
2002-10-02 18:32:38 +00:00
Chris Lattner
fd400215d5
Allow production of -stats output for benchmarks by specifying
...
ENABLE_STATS=1 on the make command line.
llvm-svn: 3989
2002-09-30 19:24:07 +00:00
Vikram S. Adve
2b099a2419
On this code, llc did not pass the sixth argument (%reg321) to printf.
...
llvm-svn: 3986
2002-09-30 16:14:14 +00:00
Vikram S. Adve
009dac7ab4
Regression test for llc bug that was folding two getelementptrs illegally.
...
llvm-svn: 3971
2002-09-28 18:09:05 +00:00
Vikram S. Adve
d92bd6f951
Regression test for live range bug for call arguments.
...
llvm-svn: 3962
2002-09-28 16:51:47 +00:00
Vikram S. Adve
2a351d54a0
Simple test for constant expressions constructed from global addresses.
...
llvm-svn: 3956
2002-09-27 13:27:14 +00:00
Vikram S. Adve
9cf9da9642
Overhauled completely.
...
llvm-svn: 3955
2002-09-27 13:26:36 +00:00
Chris Lattner
ed06af34b6
* Run preheaders pass tests
...
* Linearize list of directories so I don't have to keep dealing with
wrapping problems.
llvm-svn: 3953
2002-09-26 19:53:02 +00:00
Chris Lattner
b009ceaa9d
Checkin the simple features tests for the preheader insertion pass.
...
llvm-svn: 3952
2002-09-26 19:50:11 +00:00
Chris Lattner
4e6e0eda00
New feature test for something we have done for a long time
...
llvm-svn: 3914
2002-09-24 16:13:20 +00:00
Chris Lattner
710e9a5c65
New testcase that causes SimplifyCFG to assert out.
...
llvm-svn: 3912
2002-09-24 16:02:44 +00:00
Chris Lattner
d4c8f4e826
Convert to using long indexes instead of uint
...
llvm-svn: 3898
2002-09-23 23:41:53 +00:00
Chris Lattner
ef453e2800
Add some more testcases for things to get optimized away
...
llvm-svn: 3896
2002-09-23 23:39:17 +00:00
Chris Lattner
be4521f333
New testcase distilled from SPEC vortex benchmark
...
llvm-svn: 3894
2002-09-23 22:31:04 +00:00
Chris Lattner
935559ad2a
Run constantmerge tests too
...
llvm-svn: 3893
2002-09-23 22:26:23 +00:00
Chris Lattner
caad373759
Fix testcase to accurately expose bug
...
llvm-svn: 3890
2002-09-23 20:04:54 +00:00
Chris Lattner
16c563fd78
New testcase distilled from SPEC MCF benchmark
...
llvm-svn: 3889
2002-09-23 19:54:06 +00:00
Vikram S. Adve
b4e9f91b81
C tests are run via Makefile.singlesrc so don't run them twice.
...
llvm-svn: 3885
2002-09-23 14:23:15 +00:00
Chris Lattner
6e1f8c5963
Build with $(CC), not gcc explicitly
...
llvm-svn: 3869
2002-09-20 22:32:00 +00:00
Chris Lattner
d48ac6ea41
New testcase for cbe
...
llvm-svn: 3868
2002-09-20 22:28:03 +00:00
Nick Hildenbrandt
6829a0b1d1
New testcase for broken type printing for the cwriter
...
llvm-svn: 3867
2002-09-20 21:44:32 +00:00
Chris Lattner
b6c55cf394
Checkin old testcase
...
llvm-svn: 3855
2002-09-20 14:37:46 +00:00
Vikram S. Adve
2c8dbedc9e
Fix data types header file and declarations to work on Linux.
...
llvm-svn: 3851
2002-09-20 01:05:16 +00:00
Vikram S. Adve
e73ac65c25
Fix to avoid addition on pointers, which is no longer legal.
...
llvm-svn: 3850
2002-09-20 00:57:37 +00:00
Chris Lattner
00cfa14284
New testcase that breaks the CFE.
...
llvm-svn: 3821
2002-09-19 16:54:57 +00:00
Chris Lattner
a15eeb68ad
New testcase for a bug fixed in the GCC SSA construction algorithm:
...
http://gcc.gnu.org/ml/gcc/2002-09/msg00760.html
llvm-svn: 3817
2002-09-19 04:23:59 +00:00
Chris Lattner
0822dd0210
New regression test
...
llvm-svn: 3782
2002-09-17 21:02:24 +00:00
Chris Lattner
0a2590a6af
Convert to use long indexes instead of uint
...
llvm-svn: 3781
2002-09-17 20:47:46 +00:00
Chris Lattner
10ccd32ff9
Run the cee pass tests
...
llvm-svn: 3765
2002-09-16 19:09:11 +00:00
Chris Lattner
f28d80602c
Checking testcases for cee pass
...
llvm-svn: 3764
2002-09-16 19:08:36 +00:00
Chris Lattner
025e58dfa5
Check for cannonicalization of shl X, 1 -> add X, X
...
llvm-svn: 3670
2002-09-10 23:03:10 +00:00
Chris Lattner
46e5a5f523
Clean up pointer using testcases
...
llvm-svn: 3662
2002-09-10 20:04:19 +00:00
Chris Lattner
0f18d5042d
Remove a testcase that is irrelevant now, fix a pointer adding testcase
...
llvm-svn: 3659
2002-09-10 19:55:40 +00:00
Chris Lattner
f8013f3ca7
New testcase for poitner problem
...
llvm-svn: 3657
2002-09-10 19:41:57 +00:00
Chris Lattner
a6a5335197
Run indvars tests
...
llvm-svn: 3643
2002-09-10 04:55:36 +00:00
Chris Lattner
df422ba2b9
Add new testcase for broken indvars case
...
llvm-svn: 3642
2002-09-10 04:54:44 +00:00
Chris Lattner
acb1825937
Testcase no longer applicable since shifts of pointers are no longer allowed
...
llvm-svn: 3629
2002-09-09 03:43:09 +00:00
Chris Lattner
23ecec4320
Eliminate multiply of pointer type
...
llvm-svn: 3628
2002-09-09 03:42:14 +00:00
Chris Lattner
aae5959902
New testcase for a bug identified by Vikram
...
llvm-svn: 3625
2002-09-08 21:37:49 +00:00
Chris Lattner
3ea7da13bb
New testcase that tests for array pointer analysis type stuff
...
llvm-svn: 3615
2002-09-08 18:08:36 +00:00
Chris Lattner
1567ab4059
Fix bug in testcase now that load-vn is not built into gcse
...
llvm-svn: 3614
2002-09-07 22:50:41 +00:00
Chris Lattner
439f5d5ef7
Fix broken test
...
llvm-svn: 3613
2002-09-07 22:48:30 +00:00
Chris Lattner
80c0964fc9
Make sure that setcc is implemented for bools.
...
llvm-svn: 3575
2002-09-03 20:09:23 +00:00
Chris Lattner
2bb359e421
New testcase
...
llvm-svn: 3556
2002-08-31 00:24:54 +00:00
Chris Lattner
7495a9b13a
New testcase
...
llvm-svn: 3554
2002-08-30 23:22:15 +00:00
Chris Lattner
06724b8d8a
Make sure to run these tests with load value #'ing
...
llvm-svn: 3530
2002-08-30 20:18:09 +00:00
Chris Lattner
5ce35beed5
New testcase
...
llvm-svn: 3510
2002-08-26 20:49:42 +00:00
Chris Lattner
ad1e0535e2
Test that demorgan's law is instcombined successfully
...
llvm-svn: 3494
2002-08-23 18:31:18 +00:00
Chris Lattner
de0025c688
Add new testcases for instcombine
...
llvm-svn: 3477
2002-08-22 21:26:15 +00:00
Chris Lattner
1445af3fd9
New testcase
...
llvm-svn: 3472
2002-08-22 20:30:06 +00:00
Chris Lattner
a953cd6759
Add a testcase that checks to make sure LICM uses basicaa correctly.
...
Add another gcse testcase.
llvm-svn: 3471
2002-08-22 20:22:55 +00:00
Chris Lattner
a5f2297029
Add readme file describing directory
...
llvm-svn: 3469
2002-08-22 20:20:08 +00:00
Chris Lattner
f919a51d9f
Initial testcases for basicaa alias analysis
...
llvm-svn: 3462
2002-08-22 17:31:36 +00:00
Chris Lattner
bf5c3140ca
Convert testcases to not use indexed loads/stores
...
llvm-svn: 3460
2002-08-22 16:39:14 +00:00
Chris Lattner
cab6494efb
Convert testcases to not use indexed loads/stores
...
llvm-svn: 3459
2002-08-22 16:39:12 +00:00
Chris Lattner
9fc07940af
Covnert testcases to not use indexed loads/stores
...
llvm-svn: 3458
2002-08-22 16:39:05 +00:00
Chris Lattner
4bcf7ef304
Covnert testcases to not use indexed loads/stores
...
llvm-svn: 3457
2002-08-22 16:39:04 +00:00
Vikram S. Adve
d25378de83
Add functions castbool and boolexpr.
...
llvm-svn: 3448
2002-08-22 03:05:13 +00:00
Vikram S. Adve
a2f79dac9d
*** empty log message ***
...
llvm-svn: 3447
2002-08-22 03:04:14 +00:00
Chris Lattner
76d209b1ad
Fix testcase to not use indexing in non-gep instructions
...
llvm-svn: 3439
2002-08-21 23:52:57 +00:00
Chris Lattner
5b0af8164d
Fix store to not index
...
llvm-svn: 3429
2002-08-21 22:45:23 +00:00
Chris Lattner
a2f47f58dc
Convert testcase to not use indexing on loads & stores
...
llvm-svn: 3428
2002-08-21 22:44:39 +00:00
Chris Lattner
f75c333d24
Add testcase for the not (setcc A, B) case
...
llvm-svn: 3418
2002-08-21 17:11:18 +00:00
Chris Lattner
a2d5b4d68c
Cleanup testsuite
...
llvm-svn: 3411
2002-08-20 19:34:51 +00:00
Chris Lattner
c41cf2b422
Clean up testcases to make them proper
...
llvm-svn: 3410
2002-08-20 19:32:17 +00:00
Chris Lattner
9b836e4058
New testcase for constexpr problem.
...
llvm-svn: 3409
2002-08-20 19:29:20 +00:00
Chris Lattner
0fec012ec1
Provide a way to actually run tests
...
llvm-svn: 3408
2002-08-20 19:29:08 +00:00
Chris Lattner
e9e7ab545f
Fix buggy testcase
...
llvm-svn: 3403
2002-08-20 17:07:02 +00:00
Chris Lattner
b333923e2f
Don't stop the testing process if dis segfaults
...
llvm-svn: 3400
2002-08-20 16:33:28 +00:00
Chris Lattner
8081ec710b
New testcase
...
llvm-svn: 3399
2002-08-20 16:01:23 +00:00
Chris Lattner
a774a82514
Testcase for anonymous recursive types
...
llvm-svn: 3398
2002-08-20 15:49:52 +00:00
Chris Lattner
019783b1bf
New testcase for instcombine
...
llvm-svn: 3396
2002-08-20 15:27:45 +00:00
Chris Lattner
22c3c7be7d
New testcase
...
llvm-svn: 3395
2002-08-19 23:10:52 +00:00
Chris Lattner
69bee0eb5e
* Build with warnings
...
* Add a bunch of testcases.
llvm-svn: 3393
2002-08-19 23:09:30 +00:00
Chris Lattner
8858f0272d
New testcase
...
llvm-svn: 3390
2002-08-19 21:48:09 +00:00
Chris Lattner
f278b67b46
New testcase
...
llvm-svn: 3385
2002-08-19 19:08:52 +00:00
Chris Lattner
e61824eed4
New testcase
...
llvm-svn: 3383
2002-08-19 16:14:10 +00:00
Chris Lattner
3314d92a99
New testcase.
...
llvm-svn: 3380
2002-08-18 01:27:10 +00:00
Chris Lattner
1c26440b54
Add a simple testcase that just uses a CPR instead of a CPR & ConstExpr
...
llvm-svn: 3373
2002-08-17 23:20:37 +00:00
Chris Lattner
db748de8d2
New testcase
...
llvm-svn: 3372
2002-08-17 22:57:52 +00:00
Chris Lattner
e910ab899c
Include a basic simple test.
...
llvm-svn: 3369
2002-08-17 22:36:45 +00:00
Chris Lattner
3afbe3aa49
Add new testcase for gep instruction -> get constexpr promotion
...
llvm-svn: 3364
2002-08-16 21:18:21 +00:00
Chris Lattner
75c34870ac
New testcase distilled from much larger problem
...
llvm-svn: 3360
2002-08-16 16:54:52 +00:00
Chris Lattner
0dff9cb61d
New testcase
...
llvm-svn: 3358
2002-08-15 21:08:38 +00:00
Chris Lattner
4a16110da7
Add another testcase
...
llvm-svn: 3355
2002-08-15 19:38:03 +00:00
Chris Lattner
6e3f31d072
There seem to be issues with constant exprs
...
llvm-svn: 3349
2002-08-15 17:04:40 +00:00
Chris Lattner
47744689d0
Add a bunch of testcases for cast-of-casts that should be removed.
...
llvm-svn: 3345
2002-08-15 16:13:29 +00:00
Vikram S. Adve
f352eaf351
Add tests for unary NOT operations.
...
llvm-svn: 3340
2002-08-15 14:09:56 +00:00
Chris Lattner
ac4e8c6ea4
Fix testcase to actually test what we think we are
...
llvm-svn: 3338
2002-08-14 23:01:19 +00:00
Chris Lattner
6499ee2e7a
*** empty log message ***
...
llvm-svn: 3333
2002-08-14 19:29:38 +00:00
Chris Lattner
1115d58b7c
Fix tests that use the now dead not instruction
...
llvm-svn: 3331
2002-08-14 19:28:22 +00:00
Chris Lattner
07a5218b6e
Fix testcases that used to now dead 'not' instruction
...
llvm-svn: 3330
2002-08-14 19:28:09 +00:00
Chris Lattner
94126ed044
Change not's to xors
...
llvm-svn: 3329
2002-08-14 19:26:34 +00:00
Chris Lattner
0764967cd7
Remove illegal test now that not instruction does not exist.
...
llvm-svn: 3312
2002-08-14 17:44:00 +00:00
Chris Lattner
c59703b1fa
Make sure there is SOME output always so the test is not rerun when unneccesary.
...
llvm-svn: 3311
2002-08-14 17:38:15 +00:00
Chris Lattner
f9b9af0887
The not instruction is just a specialized form of XOR
...
llvm-svn: 3310
2002-08-14 17:37:04 +00:00
Chris Lattner
593a74adc5
Add comment
...
llvm-svn: 3287
2002-08-12 19:18:49 +00:00
Chris Lattner
169f7b299c
xor x, ALLONES should -> not x
...
llvm-svn: 3285
2002-08-09 23:34:39 +00:00
Chris Lattner
b86ab650f6
setcc of booleans should always be eliminated
...
llvm-svn: 3284
2002-08-09 23:34:18 +00:00
Chris Lattner
840d4699e4
Add more strength reduction testcases
...
llvm-svn: 3283
2002-08-09 23:33:58 +00:00
Vikram S. Adve
89f992bf2c
Add a sequence of GEPs with constant indices, for folding.
...
llvm-svn: 3247
2002-08-04 20:53:14 +00:00
Chris Lattner
419bda15f5
Testcase for stuff instcombine should do eventually
...
llvm-svn: 3240
2002-08-03 20:30:26 +00:00
Chris Lattner
ff61e352ae
Add some more features that we could instcombine away
...
llvm-svn: 3239
2002-08-03 20:24:58 +00:00
Chris Lattner
4b03304600
*** empty log message ***
...
llvm-svn: 3238
2002-08-03 20:24:45 +00:00
Vikram S. Adve
eaf18e16fe
Run both *.ll and *.c tests.
...
llvm-svn: 3232
2002-08-03 13:17:03 +00:00
Vikram S. Adve
26a0029255
Added expected decomposed sequence in comments, plus a couple of new cases.
...
llvm-svn: 3231
2002-08-03 13:16:47 +00:00
Chris Lattner
a479fecbd5
Fix yet another bug in the testcase
...
llvm-svn: 3224
2002-08-02 19:59:20 +00:00
Chris Lattner
ab3aeb7eae
Fix bug in testcase
...
llvm-svn: 3223
2002-08-02 19:54:05 +00:00
Chris Lattner
f6f95d08da
These tests should not run -dce pass to cleanup instcombine.
...
If instcombine is making dead instructions, ALL that should be used is -die
llvm-svn: 3221
2002-08-02 19:27:58 +00:00
Chris Lattner
e19f137097
Add another testcase that isn't failing because of another bug in instcombine
...
llvm-svn: 3220
2002-08-02 18:48:09 +00:00
Chris Lattner
7feaa068eb
Change test to really test the cases we can hit
...
llvm-svn: 3219
2002-08-02 18:47:11 +00:00
Chris Lattner
a1651c750b
New testcase
...
llvm-svn: 3218
2002-08-02 18:46:53 +00:00
Chris Lattner
35d69af46f
Add a note about where to put miscompilation tests.
...
llvm-svn: 3212
2002-08-02 16:44:09 +00:00
Chris Lattner
45dca23e2f
New testcase for dominator problem
...
llvm-svn: 3209
2002-08-02 16:41:21 +00:00
Chris Lattner
2410759241
The verify pass is implicit
...
llvm-svn: 3208
2002-08-02 16:39:18 +00:00
Chris Lattner
932ed7a084
New test
...
llvm-svn: 3207
2002-08-02 16:26:08 +00:00
Chris Lattner
36e3570dc2
Tweak makefile after moving
...
llvm-svn: 3205
2002-08-02 16:10:24 +00:00
Chris Lattner
b8f6cfa06e
Verify is implicit for opt
...
llvm-svn: 3204
2002-08-01 22:26:32 +00:00
Chris Lattner
96164edcfb
Fix makefile to work.
...
llvm-svn: 3203
2002-08-01 20:50:54 +00:00
Chris Lattner
2fdcb4b7b6
Fix broken testcase
...
llvm-svn: 3202
2002-08-01 20:50:03 +00:00
Chris Lattner
3a9b031848
Make testcase legal LLVM
...
llvm-svn: 3201
2002-08-01 20:48:21 +00:00
Vikram S. Adve
92a546c025
Feature test for stack size bigger than immed. field of SAVE instruction.
...
Also tests code generation for code with mixed indices.
llvm-svn: 3197
2002-08-01 14:21:05 +00:00
Chris Lattner
14fceb8244
NEw testcase
...
llvm-svn: 3194
2002-07-31 23:54:29 +00:00
Chris Lattner
ee94eda056
Trim down testcase a bit
...
llvm-svn: 3190
2002-07-31 21:10:11 +00:00
Chris Lattner
0d3f623a70
New testcase for level-raise crash inspired by SPEC
...
llvm-svn: 3189
2002-07-31 21:06:29 +00:00
Chris Lattner
6678ec4d1d
Fix testcase
...
llvm-svn: 3182
2002-07-31 17:54:24 +00:00
Chris Lattner
93ca4e50d9
New testcase
...
llvm-svn: 3181
2002-07-31 17:52:36 +00:00