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