1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 07:22:55 +01:00
Commit Graph

712 Commits

Author SHA1 Message Date
Chris Lattner
ee03b04210 Standard hello-world test
llvm-svn: 4889
2002-12-03 20:25:43 +00:00
Chris Lattner
68add39b01 Make testcase more interesting
llvm-svn: 4820
2002-11-21 23:30:08 +00:00
Chris Lattner
aedd7ddff2 Move test
llvm-svn: 4808
2002-11-21 17:20:32 +00:00
Chris Lattner
765cab60e7 Shuffle testcases around
llvm-svn: 4807
2002-11-21 17:20:12 +00:00
Chris Lattner
4c6cbfe211 New testcase
llvm-svn: 4806
2002-11-21 17:18:37 +00:00
Chris Lattner
486c9926b7 Checkin testcases for bugpoint
llvm-svn: 4791
2002-11-20 22:30:02 +00:00
Chris Lattner
4a4ea55228 Add support for bugpoint
llvm-svn: 4768
2002-11-19 21:57:18 +00:00
Chris Lattner
842793e45f New testcase for loads and stores
llvm-svn: 4715
2002-11-17 21:06:13 +00:00
Chris Lattner
c185d38059 New testcase
llvm-svn: 4703
2002-11-13 06:54:00 +00:00
Chris Lattner
8175700c70 Run local, bu, & td analyses
llvm-svn: 4670
2002-11-10 06:41:19 +00:00
Chris Lattner
b5493b772c Add new test that causes infinite recursion in bu pass
llvm-svn: 4669
2002-11-10 06:41:07 +00:00
Chris Lattner
d700f5db93 New testcase
llvm-svn: 4667
2002-11-10 03:35:43 +00:00
Chris Lattner
ca81f24a2e Allow tests to be run with release tools when ENABLE_OPTIMIZED=1
llvm-svn: 4650
2002-11-09 00:50:02 +00:00
Chris Lattner
b196fead59 Fix predicate
llvm-svn: 4617
2002-11-08 00:31:27 +00:00
Chris Lattner
e00133efd0 Add testcase that is fscking twolf
llvm-svn: 4615
2002-11-08 00:22:07 +00:00
Brian Gaeke
64d1827a58 comment out the 64-bit cases for now.
llvm-svn: 4604
2002-11-07 18:09:02 +00:00
Brian Gaeke
100510d2a8 Add instruction selection code and tests for setcc instructions
llvm-svn: 4603
2002-11-07 17:59:21 +00:00
Nick Hildenbrandt
711d90d546 Certain characters not getting escaped properly
llvm-svn: 4582
2002-11-06 21:38:39 +00:00
Chris Lattner
b14dc8aaaf libraries is used for internal stuff, not as a real testcase
llvm-svn: 4580
2002-11-06 20:36:52 +00:00
Chris Lattner
b08ece4571 New testcases
llvm-svn: 4563
2002-11-06 06:20:53 +00:00
Chris Lattner
d1de2510fc New testcase to handle eventually
llvm-svn: 4558
2002-11-06 00:52:21 +00:00
Chris Lattner
328212ad42 New testcase
llvm-svn: 4553
2002-11-05 21:12:30 +00:00
Chris Lattner
9f359e4395 Add new getelementptr elimination test
llvm-svn: 4535
2002-11-04 16:35:14 +00:00
Chris Lattner
862c22518a New testcase for malloc promotion
llvm-svn: 4533
2002-11-04 16:18:07 +00:00
Chris Lattner
b3f6e9491f Add information about why this testcase fails
llvm-svn: 4529
2002-11-04 06:16:13 +00:00
Chris Lattner
007c4d3141 Convert uint gep operands to long
llvm-svn: 4528
2002-11-04 06:09:46 +00:00
Chris Lattner
6765b6d381 Convert old style gep index from uint to long
llvm-svn: 4527
2002-11-04 06:07:04 +00:00
Chris Lattner
716ff3f4e6 Improve the clean target
llvm-svn: 4519
2002-11-04 00:33:19 +00:00
Chris Lattner
3feb63c213 Enable div and mod tests
llvm-svn: 4507
2002-11-02 20:54:11 +00:00
Chris Lattner
7d942f6d15 Enable multiply tests
llvm-svn: 4505
2002-11-02 20:28:47 +00:00
Chris Lattner
d1c303a1c6 New testcase for arithmetic operations
llvm-svn: 4504
2002-11-02 20:13:40 +00:00
Chris Lattner
32535a99f1 New testcase for logical operators
llvm-svn: 4501
2002-11-02 20:04:02 +00:00
Chris Lattner
f86144293d Make phi test a bit more challenging
llvm-svn: 4499
2002-11-02 19:45:30 +00:00
Chris Lattner
bc981007b0 Only test that uncond branch works
llvm-svn: 4497
2002-11-02 19:27:45 +00:00
Chris Lattner
6857731ae5 Expose a LJELLO variable
llvm-svn: 4495
2002-11-02 01:41:07 +00:00
Chris Lattner
81a46e1d74 Tests results are invalidated when jello is rebuilt
llvm-svn: 4494
2002-11-02 01:40:24 +00:00
Chris Lattner
202087ea2a Add a testcase cee should eventually pass
llvm-svn: 4484
2002-11-01 17:29:35 +00:00
Vikram S. Adve
fb09c1e402 Use absolute path name for "analyze" since we are changing directories.
llvm-svn: 4483
2002-11-01 16:49:10 +00:00
Brian Gaeke
81c6a7f7cd 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
a14ade019e CBE doesn't alloc correctly
llvm-svn: 4474
2002-10-31 18:23:09 +00:00
Chris Lattner
dbe9db0e15 New testcases
llvm-svn: 4464
2002-10-31 05:38:19 +00:00
Chris Lattner
2b71e7f10b Tell cvs to ignore *.dot and *.ps files in this directory
llvm-svn: 4463
2002-10-31 04:59:02 +00:00
Chris Lattner
3b827bcaaf New testcase for the possible array merging scenarios
llvm-svn: 4462
2002-10-31 04:48:32 +00:00
Chris Lattner
6543ec06a6 New testcases
llvm-svn: 4455
2002-10-31 01:25:13 +00:00
Chris Lattner
20ed68f623 Make the testcase MORE complex
llvm-svn: 4448
2002-10-30 02:03:59 +00:00
Chris Lattner
c87d6cdce5 Name the first basic block
llvm-svn: 4445
2002-10-30 01:54:42 +00:00
Chris Lattner
0b3fbcfd30 Make pointless testcase a bit more "challenging"
llvm-svn: 4299
2002-10-27 21:18:06 +00:00
Chris Lattner
eab61a23a7 Checkin simple testcases for LLVM-JIT
llvm-svn: 4288
2002-10-25 23:01:51 +00:00
Chris Lattner
1e2887855d Update test to use long instead of uint getelementptr subscripts
llvm-svn: 4280
2002-10-25 22:29:07 +00:00
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