1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
Commit Graph

663 Commits

Author SHA1 Message Date
Chris Lattner
5092ecd2ae New testcase
llvm-svn: 4200
2002-10-16 20:08:19 +00:00
Chris Lattner
715ee86363 New testcase
llvm-svn: 4189
2002-10-16 00:08:08 +00:00
Chris Lattner
cc46ccb8eb Clean up testcases
llvm-svn: 4187
2002-10-15 21:39:49 +00:00
Chris Lattner
62b5f7040d Cleanup test
llvm-svn: 4185
2002-10-15 21:21:42 +00:00
Chris Lattner
75631d4e51 Fix typo
llvm-svn: 4184
2002-10-15 21:20:18 +00:00
Chris Lattner
ba0d92b555 New testcase
llvm-svn: 4183
2002-10-15 21:18:03 +00:00
Chris Lattner
6d75a44cd0 Cleanup testcase
llvm-svn: 4182
2002-10-15 21:14:24 +00:00
Chris Lattner
c62d322984 Fix testcase
llvm-svn: 4181
2002-10-15 21:10:53 +00:00
Vikram S. Adve
75311bff80 Test case that shows some poor results for register allocation.
llvm-svn: 4167
2002-10-14 14:53:06 +00:00
Chris Lattner
3d41813b7a MAke sure llc output is regenerated if the LLC binary changes.
llvm-svn: 4164
2002-10-14 06:12:10 +00:00
Chris Lattner
e82fbd0ff7 Simplify again
llvm-svn: 4154
2002-10-13 21:51:55 +00:00
Chris Lattner
5958375380 Simplify testcase
llvm-svn: 4152
2002-10-13 21:47:43 +00:00
Chris Lattner
e772032256 Rename test so that we can run the disassembler on it.
llvm-svn: 4151
2002-10-13 21:43:56 +00:00
Chris Lattner
dc1602f5ec 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
27487637f8 Add a test for folding a GEP into a load.
llvm-svn: 4139
2002-10-13 00:44:00 +00:00
Vikram S. Adve
97b4ecaaff Added inline constant expressions, including uses in binary subtract.
llvm-svn: 4125
2002-10-12 23:47:36 +00:00
Chris Lattner
e325097564 New testcase that causes invalid llvm to be emitted by cfe
llvm-svn: 4124
2002-10-12 23:37:34 +00:00
Chris Lattner
8081455368 Add check to see if opt aborts
llvm-svn: 4098
2002-10-09 20:55:32 +00:00
Chris Lattner
a92a64af7c New testcase
llvm-svn: 4097
2002-10-09 20:37:13 +00:00
Chris Lattner
c9ed9a594a Avoid having testcases spit out bytecode on error
llvm-svn: 4096
2002-10-09 20:36:54 +00:00
Chris Lattner
0ca434ecd5 Cleanup testcase a lot to test JUST funcresolve of globals
llvm-svn: 4095
2002-10-09 17:44:34 +00:00
Chris Lattner
929c9c90be 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
a79cd9c1a0 New testcase that the assembler is unacceptably slow on
llvm-svn: 4084
2002-10-08 22:35:04 +00:00
Chris Lattner
2da5975c47 New testcase for bug that messes up the CWriter
llvm-svn: 4082
2002-10-08 21:57:49 +00:00
Chris Lattner
0007480fd4 Cleanup testcase
llvm-svn: 4073
2002-10-08 19:11:21 +00:00
Chris Lattner
35c02b84ff Make test more interesting by adding dummy phi node
llvm-svn: 4072
2002-10-08 19:11:02 +00:00
Chris Lattner
1e39dc6f80 Add new testcase for arithmetic shr of -1
llvm-svn: 4069
2002-10-08 16:10:35 +00:00
Chris Lattner
717bd8eb0b 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
b9cacc43f7 New testcase
llvm-svn: 4065
2002-10-07 20:32:38 +00:00
Chris Lattner
0d8fa625ea Fix testcase to run correctly, add description
llvm-svn: 4064
2002-10-07 20:25:45 +00:00
Chris Lattner
21aba702ee 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
80cf2a964b Update testcase to be legal llvm
llvm-svn: 4057
2002-10-07 17:00:53 +00:00
Chris Lattner
b366eddab0 Remove really old testcase
llvm-svn: 4056
2002-10-07 16:59:51 +00:00
Chris Lattner
f04f2bc929 Checkin new "feature" test for cee
llvm-svn: 4054
2002-10-06 23:31:09 +00:00
Chris Lattner
82fa78a6ea NEw "feature" test that cee should eventually handle
llvm-svn: 4053
2002-10-06 23:05:38 +00:00
Chris Lattner
24e01d2066 - Cleaned up all of the test/Feature tests to not use uint's with
getelementptr instructions and not to add pointers.

llvm-svn: 4049
2002-10-06 22:43:49 +00:00
Chris Lattner
06471a039a Remove old crusty test
llvm-svn: 4048
2002-10-06 22:35:56 +00:00
Chris Lattner
f4abbab692 Test "external" modifier on global variable
Fix getelementptr instruction to use long isntead of uint index

llvm-svn: 4047
2002-10-06 22:32:38 +00:00
Chris Lattner
75e143a29e 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
c135b54584 New testcase
llvm-svn: 4030
2002-10-03 20:06:33 +00:00
Chris Lattner
febd4191fe New testcase for a problem discovered in the SPECINT gzip benchmark.
llvm-svn: 4015
2002-10-02 18:32:38 +00:00
Chris Lattner
61e617c5f2 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
Chris Lattner
90e74835ef Allow production of -stats output for benchmarks by specifying
ENABLE_STATS=1 on the make command line.

llvm-svn: 3988
2002-09-30 19:23:55 +00:00
Vikram S. Adve
90d79b536c On this code, llc did not pass the sixth argument (%reg321) to printf.
llvm-svn: 3986
2002-09-30 16:14:14 +00:00
Chris Lattner
d279fa6581 Enable buidling of programs on Linux again
llvm-svn: 3984
2002-09-29 22:58:51 +00:00
Vikram S. Adve
fe5ef54d40 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
d3a8e54af0 Regression test for live range bug for call arguments.
llvm-svn: 3962
2002-09-28 16:51:47 +00:00
Vikram S. Adve
5019af9afd Simple test for constant expressions constructed from global addresses.
llvm-svn: 3956
2002-09-27 13:27:14 +00:00
Vikram S. Adve
2847e1123e Overhauled completely.
llvm-svn: 3955
2002-09-27 13:26:36 +00:00
Chris Lattner
e96e0a72c4 * 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
fb2874639f Checkin the simple features tests for the preheader insertion pass.
llvm-svn: 3952
2002-09-26 19:50:11 +00:00
Chris Lattner
1cbd9f2010 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
5323e8ef58 New testcase that causes SimplifyCFG to assert out.
llvm-svn: 3912
2002-09-24 16:02:44 +00:00
Chris Lattner
cb44e9f152 Convert to using long indexes instead of uint
llvm-svn: 3898
2002-09-23 23:41:53 +00:00
Chris Lattner
bacc51a4e3 Add some more testcases for things to get optimized away
llvm-svn: 3896
2002-09-23 23:39:17 +00:00
Chris Lattner
8a7da2fe0d New testcase distilled from SPEC vortex benchmark
llvm-svn: 3894
2002-09-23 22:31:04 +00:00
Chris Lattner
4bf3ffe7f5 Run constantmerge tests too
llvm-svn: 3893
2002-09-23 22:26:23 +00:00
Chris Lattner
26a4bbb2f6 Fix testcase to accurately expose bug
llvm-svn: 3890
2002-09-23 20:04:54 +00:00
Chris Lattner
dea32da482 New testcase distilled from SPEC MCF benchmark
llvm-svn: 3889
2002-09-23 19:54:06 +00:00
Vikram S. Adve
2e14ffe3ec 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
1d1e7559b2 Build with $(CC), not gcc explicitly
llvm-svn: 3869
2002-09-20 22:32:00 +00:00
Chris Lattner
61009abe92 New testcase for cbe
llvm-svn: 3868
2002-09-20 22:28:03 +00:00
Nick Hildenbrandt
cdbca9dde3 New testcase for broken type printing for the cwriter
llvm-svn: 3867
2002-09-20 21:44:32 +00:00
Chris Lattner
26e44e3d21 Checkin old testcase
llvm-svn: 3855
2002-09-20 14:37:46 +00:00
Vikram S. Adve
6e77f5dc3f 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
430772db49 Fix to avoid addition on pointers, which is no longer legal.
llvm-svn: 3850
2002-09-20 00:57:37 +00:00
Chris Lattner
a506baf8bd Reenable these options because they break testing on sparc without them.
Conditionalizing them on DISABLE_LLC means they aren't enabled under linux.

llvm-svn: 3837
2002-09-19 21:46:03 +00:00
Chris Lattner
b282a1de36 Point gccld to the correct library directory.
llvm-svn: 3827
2002-09-19 19:22:30 +00:00
Chris Lattner
220855bab6 It turns out that the cannonical name for the llvm-gcc compiler is, well
llvm-gcc, not gcc.

llvm-svn: 3824
2002-09-19 19:06:05 +00:00
Vikram S. Adve
c1c18368c1 Avoid Solaris-specific defines.
llvm-svn: 3823
2002-09-19 18:45:11 +00:00
Chris Lattner
0cd19bd988 New testcase that breaks the CFE.
llvm-svn: 3821
2002-09-19 16:54:57 +00:00
Chris Lattner
552b6c0834 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
556d2f6013 New regression test
llvm-svn: 3782
2002-09-17 21:02:24 +00:00
Chris Lattner
b77ecb3bc6 Convert to use long indexes instead of uint
llvm-svn: 3781
2002-09-17 20:47:46 +00:00
Chris Lattner
97e757b8b8 Run the cee pass tests
llvm-svn: 3765
2002-09-16 19:09:11 +00:00
Chris Lattner
c22413c699 Checking testcases for cee pass
llvm-svn: 3764
2002-09-16 19:08:36 +00:00
Chris Lattner
9b5ccd195a Check for cannonicalization of shl X, 1 -> add X, X
llvm-svn: 3670
2002-09-10 23:03:10 +00:00
Chris Lattner
7bbde74ab5 Clean up pointer using testcases
llvm-svn: 3662
2002-09-10 20:04:19 +00:00
Chris Lattner
5ee202eb3e 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
f23529513c New testcase for poitner problem
llvm-svn: 3657
2002-09-10 19:41:57 +00:00
Chris Lattner
8d0869c928 Run indvars tests
llvm-svn: 3643
2002-09-10 04:55:36 +00:00
Chris Lattner
24543fac4c Add new testcase for broken indvars case
llvm-svn: 3642
2002-09-10 04:54:44 +00:00
Chris Lattner
2e9fc50086 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
349050906a Eliminate multiply of pointer type
llvm-svn: 3628
2002-09-09 03:42:14 +00:00
Chris Lattner
71447ecb91 New testcase for a bug identified by Vikram
llvm-svn: 3625
2002-09-08 21:37:49 +00:00
Chris Lattner
d562a01cf2 New testcase that tests for array pointer analysis type stuff
llvm-svn: 3615
2002-09-08 18:08:36 +00:00
Chris Lattner
0333d57a31 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
67dd76548b Fix broken test
llvm-svn: 3613
2002-09-07 22:48:30 +00:00
Chris Lattner
4470e33494 Make sure that setcc is implemented for bools.
llvm-svn: 3575
2002-09-03 20:09:23 +00:00
Chris Lattner
41ad7b71cf New testcase
llvm-svn: 3556
2002-08-31 00:24:54 +00:00
Chris Lattner
fbd9dc8c44 New testcase
llvm-svn: 3554
2002-08-30 23:22:15 +00:00
Chris Lattner
8c0c2f8776 Make sure to run these tests with load value #'ing
llvm-svn: 3530
2002-08-30 20:18:09 +00:00
Vikram S. Adve
3474545f81 Eliminate hardcoded paths using LLVMGCCDIR variable.
llvm-svn: 3529
2002-08-30 03:27:36 +00:00
Chris Lattner
e39b931b9c New testcase
llvm-svn: 3510
2002-08-26 20:49:42 +00:00
Chris Lattner
21c1619f4a Test that demorgan's law is instcombined successfully
llvm-svn: 3494
2002-08-23 18:31:18 +00:00
Chris Lattner
b9184b5e1f Add new testcases for instcombine
llvm-svn: 3477
2002-08-22 21:26:15 +00:00
Chris Lattner
d708a5ce3f New testcase
llvm-svn: 3472
2002-08-22 20:30:06 +00:00
Chris Lattner
203e6006dc 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
92b0b64bde Add readme file describing directory
llvm-svn: 3469
2002-08-22 20:20:08 +00:00
Chris Lattner
70bf6f1c6c Initial testcases for basicaa alias analysis
llvm-svn: 3462
2002-08-22 17:31:36 +00:00
Chris Lattner
98c42292b4 Convert testcases to not use indexed loads/stores
llvm-svn: 3460
2002-08-22 16:39:14 +00:00
Chris Lattner
f84dbc6909 Convert testcases to not use indexed loads/stores
llvm-svn: 3459
2002-08-22 16:39:12 +00:00
Chris Lattner
39352fa2a4 Covnert testcases to not use indexed loads/stores
llvm-svn: 3458
2002-08-22 16:39:05 +00:00
Chris Lattner
6c3c7288c9 Covnert testcases to not use indexed loads/stores
llvm-svn: 3457
2002-08-22 16:39:04 +00:00
Chris Lattner
bec992a623 Remove obsolete test
llvm-svn: 3456
2002-08-22 16:15:20 +00:00
Chris Lattner
83913e005a Remove ancient test
llvm-svn: 3455
2002-08-22 16:14:53 +00:00
Chris Lattner
6890c815e9 Covnert tests to not use indexed load/stores
llvm-svn: 3454
2002-08-22 16:04:03 +00:00
Vikram S. Adve
55ac2d6c83 Add functions castbool and boolexpr.
llvm-svn: 3448
2002-08-22 03:05:13 +00:00
Vikram S. Adve
9a696dd528 *** empty log message ***
llvm-svn: 3447
2002-08-22 03:04:14 +00:00
Chris Lattner
ad1d057170 Fix testcase to not use indexing in non-gep instructions
llvm-svn: 3439
2002-08-21 23:52:57 +00:00
Chris Lattner
6d24b489f5 Test the C backend on all of the feature tests as well.
llvm-svn: 3437
2002-08-21 23:52:15 +00:00
Chris Lattner
b67e1ad397 Fix store to not index
llvm-svn: 3429
2002-08-21 22:45:23 +00:00
Chris Lattner
9f93dfeac0 Convert testcase to not use indexing on loads & stores
llvm-svn: 3428
2002-08-21 22:44:39 +00:00
Chris Lattner
795d6f0ccb Add testcase for the not (setcc A, B) case
llvm-svn: 3418
2002-08-21 17:11:18 +00:00
Chris Lattner
7d600cb270 Cleanup testsuite
llvm-svn: 3411
2002-08-20 19:34:51 +00:00
Chris Lattner
ecd6eabdc7 Clean up testcases to make them proper
llvm-svn: 3410
2002-08-20 19:32:17 +00:00
Chris Lattner
d7c6fb44a9 New testcase for constexpr problem.
llvm-svn: 3409
2002-08-20 19:29:20 +00:00
Chris Lattner
258ca4c73e Provide a way to actually run tests
llvm-svn: 3408
2002-08-20 19:29:08 +00:00
Chris Lattner
ad9f0fd080 Fix buggy testcase
llvm-svn: 3403
2002-08-20 17:07:02 +00:00
Chris Lattner
84282cf465 Don't stop the testing process if dis segfaults
llvm-svn: 3400
2002-08-20 16:33:28 +00:00
Chris Lattner
6a55577cc5 New testcase
llvm-svn: 3399
2002-08-20 16:01:23 +00:00
Chris Lattner
c1f5ceb42e Testcase for anonymous recursive types
llvm-svn: 3398
2002-08-20 15:49:52 +00:00
Chris Lattner
125fa35762 New testcase for instcombine
llvm-svn: 3396
2002-08-20 15:27:45 +00:00
Chris Lattner
c08e1244df New testcase
llvm-svn: 3395
2002-08-19 23:10:52 +00:00
Chris Lattner
1e0dd6d404 * Build with warnings
* Add a bunch of testcases.

llvm-svn: 3393
2002-08-19 23:09:30 +00:00
Chris Lattner
d68da32adf New testcase
llvm-svn: 3390
2002-08-19 21:48:09 +00:00
Chris Lattner
5a2d125f94 New testcase
llvm-svn: 3385
2002-08-19 19:08:52 +00:00
Chris Lattner
cdd2f12eb1 New testcase
llvm-svn: 3383
2002-08-19 16:14:10 +00:00
Chris Lattner
9054ff5f0b New testcase.
llvm-svn: 3380
2002-08-18 01:27:10 +00:00
Chris Lattner
4397add539 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
f9532f3682 New testcase
llvm-svn: 3372
2002-08-17 22:57:52 +00:00
Chris Lattner
1c0f9a6cf8 Include a basic simple test.
llvm-svn: 3369
2002-08-17 22:36:45 +00:00
Chris Lattner
f2a93d41f1 Add new testcase for gep instruction -> get constexpr promotion
llvm-svn: 3364
2002-08-16 21:18:21 +00:00
Chris Lattner
8c281eeac8 Fix typo
llvm-svn: 3361
2002-08-16 19:34:33 +00:00
Chris Lattner
feb5f57b91 New testcase distilled from much larger problem
llvm-svn: 3360
2002-08-16 16:54:52 +00:00
Chris Lattner
8851c60986 Convert constexpr over to new syntax
llvm-svn: 3359
2002-08-15 21:14:39 +00:00
Chris Lattner
b1a1627385 New testcase
llvm-svn: 3358
2002-08-15 21:08:38 +00:00
Chris Lattner
fcda164b39 Make 'features' testsuite work with the /shared changes.
llvm-svn: 3357
2002-08-15 19:49:06 +00:00
Chris Lattner
cf5622ad22 Convert testcase to use correct syntax
llvm-svn: 3356
2002-08-15 19:48:48 +00:00
Chris Lattner
6a844fa8b0 Add another testcase
llvm-svn: 3355
2002-08-15 19:38:03 +00:00
Chris Lattner
ea7257ec94 There seem to be issues with constant exprs
llvm-svn: 3349
2002-08-15 17:04:40 +00:00
Chris Lattner
54a8a632ea 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
7bad3cdc7a Add tests for unary NOT operations.
llvm-svn: 3340
2002-08-15 14:09:56 +00:00
Chris Lattner
de33f53011 Fix testcase to actually test what we think we are
llvm-svn: 3338
2002-08-14 23:01:19 +00:00
Chris Lattner
9294035c00 *** empty log message ***
llvm-svn: 3333
2002-08-14 19:29:38 +00:00
Chris Lattner
62ae28b6e7 This file does not belong here.
llvm-svn: 3332
2002-08-14 19:29:32 +00:00
Chris Lattner
03ab577d77 Fix tests that use the now dead not instruction
llvm-svn: 3331
2002-08-14 19:28:22 +00:00
Chris Lattner
55bdf1fec4 Fix testcases that used to now dead 'not' instruction
llvm-svn: 3330
2002-08-14 19:28:09 +00:00
Chris Lattner
7f5aa43c5d Change not's to xors
llvm-svn: 3329
2002-08-14 19:26:34 +00:00
Chris Lattner
ce6d033e05 Remove illegal test now that not instruction does not exist.
llvm-svn: 3312
2002-08-14 17:44:00 +00:00