Chris Lattner
a9c08b50ae
test the shift cases for long that are implemented
...
llvm-svn: 5250
2003-01-13 00:57:49 +00:00
Chris Lattner
93a6598107
test longs
...
llvm-svn: 5249
2003-01-13 00:57:37 +00:00
Chris Lattner
b0d6bfca05
Test longs and fp
...
llvm-svn: 5248
2003-01-13 00:57:19 +00:00
Chris Lattner
ce17b87539
TEst longs
...
llvm-svn: 5247
2003-01-13 00:57:11 +00:00
Chris Lattner
8aa1a4c643
Add test for longs
...
llvm-svn: 5246
2003-01-13 00:57:04 +00:00
Chris Lattner
d7ba363bed
add div test as well
...
llvm-svn: 5245
2003-01-13 00:56:54 +00:00
Chris Lattner
4c8e84bb60
test a bunch of stuff
...
llvm-svn: 5244
2003-01-13 00:56:37 +00:00
Chris Lattner
e451078909
Test long support
...
llvm-svn: 5243
2003-01-13 00:56:27 +00:00
Chris Lattner
c1f89884ca
Add capability to turn on the -no-fp-elim option
...
llvm-svn: 5161
2002-12-28 20:01:23 +00:00
Chris Lattner
8dde3469ee
Add another simple call
...
llvm-svn: 5160
2002-12-28 20:01:07 +00:00
Chris Lattner
c513cbfa46
Test argument passing
...
llvm-svn: 5159
2002-12-28 20:00:47 +00:00
Chris Lattner
1c2ddafa2e
Add a variable sized alloca to test
...
llvm-svn: 5158
2002-12-28 20:00:33 +00:00
Chris Lattner
14e00852c5
Initial fp test
...
llvm-svn: 5155
2002-12-25 05:14:29 +00:00
Chris Lattner
ec08d0bf6b
Testcases for bugfixes
...
llvm-svn: 5123
2002-12-23 23:51:30 +00:00
Chris Lattner
912f11f35d
Jello is now part of LLI
...
llvm-svn: 5122
2002-12-23 23:51:19 +00:00
Chris Lattner
6e80973050
New testcase
...
llvm-svn: 5121
2002-12-23 23:50:35 +00:00
Chris Lattner
b9909bdefd
Remove temp files
...
llvm-svn: 5118
2002-12-23 23:47:39 +00:00
Chris Lattner
acd2890ec1
Jello is going away
...
llvm-svn: 5117
2002-12-23 23:47:20 +00:00
Chris Lattner
3b100b8767
Add stats output
...
llvm-svn: 5110
2002-12-20 04:14:19 +00:00
Chris Lattner
8557cb2489
Print argc as well as argv
...
llvm-svn: 5105
2002-12-18 02:07:21 +00:00
Chris Lattner
dcb3cfb698
Make testcase return 0 on success
...
llvm-svn: 5091
2002-12-17 02:02:01 +00:00
Chris Lattner
7418dc3975
Add dummy implementation of __main
...
llvm-svn: 5089
2002-12-16 23:31:48 +00:00
Chris Lattner
dfcaf6aa62
New testcase for printing out arguments
...
llvm-svn: 5085
2002-12-16 20:09:54 +00:00
Chris Lattner
c3be436a6a
Add new testcase for repeated preds
...
llvm-svn: 5056
2002-12-15 20:52:08 +00:00
Chris Lattner
54734f0267
New testcase for structure argument problems.
...
llvm-svn: 5042
2002-12-15 17:46:18 +00:00
Chris Lattner
cbfdde7f72
New test to make sure I'm getting constness right
...
llvm-svn: 5041
2002-12-15 17:37:35 +00:00
Chris Lattner
1e30ba04b9
New testcase, courtesy of Brian Gaeke
...
llvm-svn: 5040
2002-12-15 17:14:32 +00:00
Chris Lattner
fe3c271ffe
Allow folding together two globals through type resolution
...
llvm-svn: 5038
2002-12-15 16:32:21 +00:00
Chris Lattner
76939edaf0
Testcase identified by Brian Gaeke that breaks the C frontend...
...
llvm-svn: 5036
2002-12-15 15:52:03 +00:00
Chris Lattner
e4c65213f5
New testcase for bool support
...
llvm-svn: 5031
2002-12-15 07:55:43 +00:00
Chris Lattner
70760e7cb9
Test indirect call
...
llvm-svn: 5025
2002-12-13 14:15:20 +00:00
Chris Lattner
e6362c661b
New testcase
...
llvm-svn: 5018
2002-12-13 12:10:16 +00:00
Chris Lattner
e3d5a3e467
Return success on success
...
llvm-svn: 5006
2002-12-13 10:13:45 +00:00
Chris Lattner
f8310c83dd
Test more phi stuff
...
llvm-svn: 5005
2002-12-13 10:12:50 +00:00
Brian Gaeke
34ad176df5
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
beb18ff2dd
return 0 on success
...
llvm-svn: 4996
2002-12-13 06:57:24 +00:00
Chris Lattner
8ed9bdc80a
Stop sucking
...
llvm-svn: 4992
2002-12-13 05:51:32 +00:00
Misha Brukman
02f2676eac
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
a60d5f394d
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
071795caf3
Fix testcase
...
llvm-svn: 4989
2002-12-13 05:42:57 +00:00
Chris Lattner
c2871e6cfb
Infinite loops, are, well, not good
...
llvm-svn: 4987
2002-12-13 05:28:50 +00:00
Misha Brukman
37ebb1a55f
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
b8ec19c4a1
Check in an old testcase
...
llvm-svn: 4951
2002-12-07 17:08:07 +00:00
Chris Lattner
3cde2e355e
New testcase pointed out by Casey Carter
...
llvm-svn: 4934
2002-12-05 22:25:47 +00:00
Misha Brukman
b68d769c01
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
6f002640ff
Fix testcase
...
llvm-svn: 4926
2002-12-04 23:51:44 +00:00
Chris Lattner
f9ddcf9bd5
New testcase
...
llvm-svn: 4920
2002-12-04 17:35:11 +00:00
Chris Lattner
e8386a7e44
Add main functions to benchmarks
...
llvm-svn: 4915
2002-12-04 17:15:07 +00:00
Chris Lattner
f64d7c6939
New testcase
...
llvm-svn: 4912
2002-12-04 17:00:25 +00:00
Chris Lattner
e653814b5c
Testcase for call instruction
...
llvm-svn: 4890
2002-12-03 20:30:03 +00:00
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