Chris Lattner
8e0ed6ea2c
run LICM tests
...
llvm-svn: 2608
2002-05-10 22:21:25 +00:00
Chris Lattner
2d032846d0
New testcase
...
llvm-svn: 2596
2002-05-10 15:14:54 +00:00
Chris Lattner
3b13b58ef0
Test the Pi node inserter
...
llvm-svn: 2591
2002-05-10 05:38:39 +00:00
Chris Lattner
6a4fa1c8b5
Initial checkin of testcases for Pi node inserter
...
llvm-svn: 2590
2002-05-10 05:38:18 +00:00
Chris Lattner
ce59a3d5f5
New testcase for wierd combine opportunity found in bzip2 benchmark
...
llvm-svn: 2580
2002-05-09 19:52:36 +00:00
Chris Lattner
c5a41d8af1
Fix broken testcase
...
llvm-svn: 2565
2002-05-09 01:28:30 +00:00
Chris Lattner
936e9f0e49
Add two new patterns that instcombine should or does handle
...
llvm-svn: 2563
2002-05-08 23:15:01 +00:00
Chris Lattner
90f5d5a5b1
New testcase for LICM reassociation
...
llvm-svn: 2560
2002-05-08 22:20:55 +00:00
Chris Lattner
5a2dbc2b3e
Add some simple test of reassociation
...
llvm-svn: 2555
2002-05-08 21:34:22 +00:00
Chris Lattner
d75d5d19ab
run reassociate tests
...
llvm-svn: 2554
2002-05-08 21:34:11 +00:00
Chris Lattner
38e019c267
New testcase for adce
...
llvm-svn: 2546
2002-05-07 21:05:36 +00:00
Chris Lattner
bcdd44937c
Build the ADCE tests
...
llvm-svn: 2545
2002-05-07 20:52:15 +00:00
Chris Lattner
fa7a203b57
ADCE tests
...
llvm-svn: 2544
2002-05-07 20:51:59 +00:00
Chris Lattner
c8ab06d452
Oops, forgot to check in makefile
...
llvm-svn: 2542
2002-05-07 20:39:18 +00:00
Chris Lattner
bafd51a722
Add check that phi nodes get constant propogated away
...
llvm-svn: 2541
2002-05-07 20:32:19 +00:00
Chris Lattner
26910ded0e
constprop doesn't delete dead instructions, it just makes them dead.
...
llvm-svn: 2540
2002-05-07 20:25:44 +00:00
Chris Lattner
5cd7dbb304
Add testcase for not expressions
...
llvm-svn: 2539
2002-05-07 20:22:12 +00:00
Chris Lattner
a9c099d1d2
Make the testcase more interesting so that DCE does not eliminate it.
...
Use DIE instead of DCE anyway
llvm-svn: 2500
2002-05-06 17:59:23 +00:00
Chris Lattner
5ff36750e7
New testcase for PHI folding
...
llvm-svn: 2495
2002-05-06 17:43:38 +00:00
Chris Lattner
679da03275
New testcase to make sure not instructions get combined
...
llvm-svn: 2492
2002-05-06 17:00:47 +00:00
Chris Lattner
e0c3fbb559
More tests
...
llvm-svn: 2489
2002-05-06 16:44:53 +00:00
Chris Lattner
973db87308
Add testcase for -(-A)
...
llvm-svn: 2488
2002-05-06 16:19:16 +00:00
Chris Lattner
bcb8138e08
Fix testcase, the 'shift out all bits' doesn't apply to signed types.
...
llvm-svn: 2482
2002-05-06 16:11:31 +00:00
Chris Lattner
6022ad064c
More testcases I don't want to forget about
...
llvm-svn: 2480
2002-05-06 05:51:26 +00:00
Chris Lattner
74e95476d4
New testcases so I don't forget about these algebraic simplifications
...
llvm-svn: 2479
2002-05-06 05:43:36 +00:00
Chris Lattner
8170e8f397
New testcase so I don't forget about this.
...
llvm-svn: 2478
2002-05-06 05:35:20 +00:00
Chris Lattner
5fc509b008
Testcase for missed merge opportunity
...
llvm-svn: 2477
2002-05-06 03:11:32 +00:00
Chris Lattner
fed6d77c43
Build CFGsimplify directory
...
llvm-svn: 2475
2002-05-06 03:03:55 +00:00
Chris Lattner
dac95a012b
Initial testcases for CFG simplify (which is part of DCE for now)
...
llvm-svn: 2466
2002-05-06 02:37:38 +00:00
Chris Lattner
1890ef5cd7
Test moved to SCCP test directory
...
llvm-svn: 2465
2002-05-06 00:52:06 +00:00
Chris Lattner
37c4d69860
New testcase for bugs in the constant propogator
...
llvm-svn: 2462
2002-05-03 20:25:40 +00:00
Chris Lattner
7ad7bf0071
Add tests for floating point remainder elimination
...
llvm-svn: 2461
2002-05-03 20:16:29 +00:00
Chris Lattner
f91d56355f
New testcase to see if constant propogation of remainder is implemented
...
llvm-svn: 2460
2002-05-03 20:14:21 +00:00
Chris Lattner
177dac4d92
This testcase is a sanity check
...
llvm-svn: 2459
2002-05-03 20:12:31 +00:00
Chris Lattner
40acfe3554
Add new testcase for general constant prop.
...
llvm-svn: 2457
2002-05-03 19:58:17 +00:00
Chris Lattner
8a1313ba26
Add const prop pass to eliminate dead branches
...
llvm-svn: 2456
2002-05-03 19:57:16 +00:00
Chris Lattner
eb164bc1fb
We currently don't allow unresolved opaque types!
...
llvm-svn: 2453
2002-05-03 18:32:40 +00:00
Chris Lattner
4f9a452284
Add -d switch to test AsmWriter as well
...
llvm-svn: 2452
2002-05-03 18:31:30 +00:00
Chris Lattner
732c209e83
Eliminate usage of function level constant pool
...
llvm-svn: 2450
2002-05-02 21:52:35 +00:00
Chris Lattner
b01e5db513
Use unified diffs with gnu diff instead of old diffs
...
llvm-svn: 2449
2002-05-02 21:51:55 +00:00
Chris Lattner
830b5290d0
More testcases for SCCP
...
llvm-svn: 2444
2002-05-02 20:41:39 +00:00
Chris Lattner
39e976d83a
Additional testcase
...
llvm-svn: 2442
2002-05-02 20:19:11 +00:00
Chris Lattner
af5cdf3c1a
Run the SCCP test
...
llvm-svn: 2441
2002-05-02 20:18:53 +00:00
Chris Lattner
f124e8ff35
First testcase for SCCP pass
...
llvm-svn: 2440
2002-05-02 20:18:37 +00:00
Chris Lattner
3f6b8335d5
Simplify the testcase a bit
...
llvm-svn: 2439
2002-05-02 19:58:05 +00:00
Chris Lattner
ed1228aedf
New testcase
...
llvm-svn: 2438
2002-05-02 19:54:58 +00:00
Chris Lattner
624fe0b0ba
New testcase for assembler failure
...
llvm-svn: 2435
2002-05-02 19:12:21 +00:00
Chris Lattner
90f608c002
Intitial checkin of cast tests
...
llvm-svn: 2427
2002-05-02 17:01:39 +00:00
Chris Lattner
dff664314a
New testcase for bug found by Vikram
...
llvm-svn: 2426
2002-05-02 16:16:39 +00:00
Chris Lattner
254e086e65
Check another case
...
llvm-svn: 2424
2002-05-02 15:24:40 +00:00
Chris Lattner
65d4dcb6ca
New bug testcase
...
llvm-svn: 2422
2002-05-01 15:33:12 +00:00
Chris Lattner
12fc22300e
New testcase
...
llvm-svn: 2419
2002-04-30 19:50:47 +00:00
Chris Lattner
5c9040e0e0
New test cases for mul folding
...
llvm-svn: 2416
2002-04-29 22:24:24 +00:00
Chris Lattner
68383d80de
New test for broken asm parser
...
llvm-svn: 2398
2002-04-29 18:12:28 +00:00
Chris Lattner
df8fcca994
New testcase for GCSE
...
llvm-svn: 2342
2002-04-28 01:46:36 +00:00
Chris Lattner
17602ba1c7
Test GCSE
...
llvm-svn: 2341
2002-04-28 01:46:30 +00:00
Chris Lattner
d8cec98cc1
New testcase
...
llvm-svn: 2304
2002-04-18 20:30:58 +00:00
Chris Lattner
7bfa8b6223
New testcase.
...
llvm-svn: 2291
2002-04-18 17:35:39 +00:00
Chris Lattner
ccfebfbb36
Check in the first test: make sure getelementptr gets folded
...
llvm-svn: 2288
2002-04-18 15:39:50 +00:00
Chris Lattner
5afa50eb5b
Test the instruction combiner
...
llvm-svn: 2287
2002-04-18 15:39:15 +00:00
Chris Lattner
e629eda6b9
Fix for buggy test
...
llvm-svn: 2267
2002-04-16 21:31:08 +00:00
Chris Lattner
26efe0b95c
New testcase
...
llvm-svn: 2262
2002-04-16 05:58:24 +00:00
Chris Lattner
c3f661b17f
New testcase
...
llvm-svn: 2261
2002-04-16 05:44:56 +00:00
Chris Lattner
91eda67aaf
Checkin first unit testcases for the backend
...
llvm-svn: 2249
2002-04-14 06:23:00 +00:00
Chris Lattner
8d7a6d246e
New testcase for the verifier
...
llvm-svn: 2242
2002-04-13 22:46:24 +00:00
Chris Lattner
0fda698670
New testcase for structure valued parameters.
...
llvm-svn: 2220
2002-04-10 17:43:40 +00:00
Chris Lattner
9387364f8d
New testcase
...
llvm-svn: 2218
2002-04-09 20:43:18 +00:00
Chris Lattner
fec8df44ba
Checkin old testcase that is newly fixed.
...
llvm-svn: 2161
2002-04-08 19:32:51 +00:00
Chris Lattner
3e39da81f2
New testcase
...
llvm-svn: 2160
2002-04-08 18:48:47 +00:00
Chris Lattner
c446f9c414
Checkin old testcase for switch statement. For now we just decimate them
...
to conditional branches.
llvm-svn: 2159
2002-04-08 18:48:27 +00:00
Chris Lattner
265704cf6b
Old testcase that missed getting checked in
...
llvm-svn: 2158
2002-04-08 15:19:02 +00:00
Chris Lattner
9a432f739a
New testcase
...
llvm-svn: 2138
2002-04-07 08:14:44 +00:00
Chris Lattner
213ab21812
don't delete intermediate files!
...
llvm-svn: 2136
2002-04-07 08:11:07 +00:00
Chris Lattner
3448216f32
Testcase for bad constant handling
...
llvm-svn: 2133
2002-04-07 07:58:25 +00:00
Chris Lattner
7babb7cc66
Fix bug in testcase: no implementatino section make it not legal input, so
...
once the parser is fixed to handle the bug, it broke on the bad input. :)
llvm-svn: 2123
2002-04-05 23:00:02 +00:00
Chris Lattner
c10f379f5a
New testcases
...
llvm-svn: 2122
2002-04-05 22:25:51 +00:00
Chris Lattner
4bc4297b5d
Testcase that breaks recursive type processing
...
llvm-svn: 2117
2002-04-05 19:39:55 +00:00
Chris Lattner
5b7efb83b1
Don't link in library that cannot be found, this should be removed eventually.
...
llvm-svn: 2111
2002-04-04 19:27:43 +00:00
Chris Lattner
674ff853b9
Add subdirs to makefile
...
llvm-svn: 2017
2002-03-28 18:21:31 +00:00
Chris Lattner
0a0e090e4e
Initial checkin of first regression test for mem2reg pass
...
llvm-svn: 2016
2002-03-28 18:21:05 +00:00
Vikram S. Adve
66f939fc33
Make test more rigorous. It was never reading the non-scalar variables
...
from memory! Also, separate the writing and reading routines.
llvm-svn: 1983
2002-03-24 13:22:04 +00:00
Chris Lattner
0a830e61da
initialize sum variable
...
llvm-svn: 1982
2002-03-24 07:03:10 +00:00
Vikram S. Adve
2d3ea22379
Fix out-of-date name.
...
llvm-svn: 1959
2002-03-24 03:18:49 +00:00
Vikram S. Adve
ec4a8205a7
Regression tests for DecomposeMultiDimRefs pass.
...
llvm-svn: 1958
2002-03-24 03:17:16 +00:00
Chris Lattner
14a9a20771
New testcase
...
llvm-svn: 1942
2002-03-21 23:00:48 +00:00
Chris Lattner
ef7023bd94
New testcase
...
llvm-svn: 1940
2002-03-21 22:39:43 +00:00
Chris Lattner
8a36ae8ab9
Rerun test if opt gets changed
...
llvm-svn: 1937
2002-03-21 21:29:47 +00:00
Chris Lattner
70ff2aedef
Run all testcases
...
llvm-svn: 1936
2002-03-21 21:24:19 +00:00
Chris Lattner
c5d2df184b
Build LevelRaise subdirectory
...
llvm-svn: 1935
2002-03-21 21:24:13 +00:00
Chris Lattner
70b130f27b
Testcase for a missed level raise opportunity
...
llvm-svn: 1932
2002-03-21 21:20:04 +00:00
Chris Lattner
261df367e0
Fix bug in testcase
...
llvm-svn: 1928
2002-03-21 06:19:43 +00:00
Chris Lattner
8054a1cd14
New testcase for YALRB (yet another level raise bug)
...
llvm-svn: 1925
2002-03-21 05:39:20 +00:00
Chris Lattner
14bfd557f3
Checkin testcase that was just sitting in my tree. Looks like backreferences
...
have some problem in the parser, oh joy.
llvm-svn: 1923
2002-03-21 05:35:11 +00:00
Chris Lattner
0f8a4bb762
New testcase
...
llvm-svn: 1920
2002-03-21 03:01:14 +00:00
Vikram S. Adve
8280198b62
include Makefile.tests.
...
llvm-svn: 1914
2002-03-18 04:05:26 +00:00
Vikram S. Adve
bd10b8e1d7
Fix libraries.
...
llvm-svn: 1912
2002-03-18 03:53:22 +00:00
Vikram S. Adve
78c2e12891
Minor changes.
...
llvm-svn: 1911
2002-03-18 03:52:31 +00:00
Vikram S. Adve
88981d2fa4
Regression tests for live-variable analysis on machine code
...
generated by llc.
llvm-svn: 1882
2002-03-16 21:42:33 +00:00
Chris Lattner
96f633af95
Testcase for bug
...
llvm-svn: 1875
2002-03-14 22:30:39 +00:00
Chris Lattner
74f5ce7aab
New testcase
...
llvm-svn: 1874
2002-03-14 20:16:23 +00:00
Chris Lattner
724d872ca7
New test case for long standing bug that was fixed
...
llvm-svn: 1873
2002-03-14 19:40:44 +00:00
Chris Lattner
96f4382c19
Forgot to check this in a long time ago
...
llvm-svn: 1872
2002-03-14 19:31:32 +00:00
Chris Lattner
dace30004c
New testcase
...
llvm-svn: 1871
2002-03-14 19:27:43 +00:00
Chris Lattner
edef6552de
New testcase for bugfx
...
llvm-svn: 1868
2002-03-14 16:35:50 +00:00
Chris Lattner
015bf1a6ba
New testcase
...
llvm-svn: 1867
2002-03-12 18:56:45 +00:00
Chris Lattner
8ec585d330
New testcase
...
llvm-svn: 1866
2002-03-12 17:45:36 +00:00
Chris Lattner
e16ff36af8
New testcase
...
llvm-svn: 1863
2002-03-11 23:28:11 +00:00
Chris Lattner
fbc26f3be9
New testcase
...
llvm-svn: 1860
2002-03-11 22:14:26 +00:00
Chris Lattner
7d1c5b31b6
New testcase for failure
...
llvm-svn: 1857
2002-03-11 22:09:43 +00:00
Chris Lattner
6c51cb7a1b
Testcase that causes an assertion failure in lib/Analysis/Expressions.cpp
...
llvm-svn: 1855
2002-03-11 20:28:16 +00:00
Chris Lattner
23ca4f2eb5
New testcase for broken GCCism
...
llvm-svn: 1854
2002-03-11 19:03:41 +00:00
Chris Lattner
2a00ac1e7e
Add var to find GCCLD tool
...
llvm-svn: 1846
2002-03-11 17:46:34 +00:00
Chris Lattner
159033875d
New testcase for crashing bug
...
llvm-svn: 1843
2002-03-11 17:25:50 +00:00
Chris Lattner
ff74b62f66
New testcase
...
llvm-svn: 1838
2002-03-08 19:10:09 +00:00
Chris Lattner
fcf6ccdd1c
New testcase
...
llvm-svn: 1835
2002-03-08 18:41:11 +00:00
Chris Lattner
28aa0c17a3
Testcase for new bug
...
llvm-svn: 1797
2002-02-25 00:34:18 +00:00
Chris Lattner
b4ba39dc2c
New testcase
...
llvm-svn: 1775
2002-02-18 19:46:09 +00:00
Chris Lattner
278dfafab2
New testcase
...
llvm-svn: 1768
2002-02-17 06:42:02 +00:00
Chris Lattner
18786d45b2
Checking regression test for bugfix
...
llvm-svn: 1766
2002-02-14 22:20:54 +00:00
Chris Lattner
23682869c0
New testcase for bug in levelraise
...
llvm-svn: 1759
2002-02-14 18:52:18 +00:00
Chris Lattner
49242560a4
New testcase for fixed GCC bug
...
llvm-svn: 1755
2002-02-14 05:41:15 +00:00
Chris Lattner
feeeffa170
NEw testcase for bugfix
...
llvm-svn: 1753
2002-02-14 00:18:44 +00:00
Chris Lattner
50ce08e6af
Checking testcase for reload problem
...
llvm-svn: 1752
2002-02-13 20:35:17 +00:00
Chris Lattner
8996df4a7e
New testcase for fixed bug
...
llvm-svn: 1751
2002-02-13 20:25:16 +00:00
Chris Lattner
a899644808
Add comments
...
Add rules to compile a program with LLC to machine code and an executable
llvm-svn: 1735
2002-02-12 15:39:38 +00:00
Chris Lattner
3426524f07
test/Features should not contain whole programs
...
llvm-svn: 1734
2002-02-12 15:21:57 +00:00
Chris Lattner
35e0a2c649
New testcase for bug in -raise pass
...
llvm-svn: 1733
2002-02-11 23:44:06 +00:00
Chris Lattner
004b053452
Allow multiline RUN:'s
...
llvm-svn: 1732
2002-02-11 23:32:43 +00:00
Chris Lattner
eb596af684
Add testcase for sparc backend
...
llvm-svn: 1731
2002-02-11 23:22:56 +00:00
Vikram S. Adve
7b2b3520c7
Added command to build SPARC executable.
...
llvm-svn: 1730
2002-02-11 22:50:17 +00:00
Vikram S. Adve
f594fe3503
Simple fibonacci test.
...
llvm-svn: 1729
2002-02-11 22:48:18 +00:00
Chris Lattner
ba57d74608
New checkin
...
llvm-svn: 1630
2002-02-01 05:04:58 +00:00
Chris Lattner
c1874e9259
Rip out irrelevant details
...
llvm-svn: 1625
2002-02-01 04:44:38 +00:00
Chris Lattner
a7d742f683
Add TESTRUNR var
...
Correctly create directory for .bc target
llvm-svn: 1623
2002-02-01 04:25:12 +00:00
Chris Lattner
0f342dac09
Initial checkin
...
llvm-svn: 1622
2002-02-01 04:24:47 +00:00
Chris Lattner
8251ad8445
Initial checkin of 'Other' section
...
llvm-svn: 1621
2002-02-01 04:24:20 +00:00
Chris Lattner
cfc6065d8a
Forgot to force
...
llvm-svn: 1598
2002-01-31 00:27:32 +00:00
Chris Lattner
a10ce8584c
Testcase broken - Entry node of method cannot have predecessors!
...
llvm-svn: 1597
2002-01-31 00:25:00 +00:00
Chris Lattner
aeabeb36eb
Make gcc tests depend on the part of GCC that actually gets updated.
...
llvm-svn: 1589
2002-01-26 22:48:08 +00:00
Chris Lattner
f5a507d009
Testcase for SymbolTable.cpp bug
...
llvm-svn: 1584
2002-01-25 03:58:05 +00:00
Chris Lattner
5feb5675dc
Check in testcase and fix
...
llvm-svn: 1581
2002-01-25 03:44:58 +00:00
Chris Lattner
735d4f15b8
New testcase to ensure GCC doesn't emit type identifiers with spaces in them
...
llvm-svn: 1580
2002-01-24 20:45:45 +00:00
Chris Lattner
faa2acbb89
Checkin testcase for bug recently fixed
...
llvm-svn: 1579
2002-01-24 19:50:30 +00:00
Chris Lattner
299b78a4aa
Initial Checkin
...
llvm-svn: 1577
2002-01-23 21:56:15 +00:00
Chris Lattner
7224240f74
Initial checkin of now fixed bug
...
llvm-svn: 1575
2002-01-23 21:40:57 +00:00
Chris Lattner
b07e2c0139
Initial Checkin
...
llvm-svn: 1574
2002-01-23 21:40:31 +00:00
Chris Lattner
0343be4ff6
More rules checked in
...
llvm-svn: 1571
2002-01-23 21:36:59 +00:00
Chris Lattner
1fc5e98327
Failure.sh moved up a level
...
llvm-svn: 1569
2002-01-23 20:39:56 +00:00
Chris Lattner
ef10f397a5
Initial checkin
...
llvm-svn: 1564
2002-01-23 19:42:52 +00:00
Chris Lattner
7297fdeaa5
Change test scripts so that they do not stop on failure, they just print
...
an error message
llvm-svn: 1563
2002-01-23 18:04:21 +00:00
Chris Lattner
a14d807fe0
Initial checking of Failure.sh
...
llvm-svn: 1562
2002-01-23 18:03:49 +00:00
Chris Lattner
c3aa35b66b
New minimal makefile
...
llvm-svn: 1561
2002-01-23 17:22:17 +00:00
Chris Lattner
e29baab985
Removal of more unnecesary stuff
...
llvm-svn: 1557
2002-01-23 05:50:04 +00:00
Chris Lattner
8dab4bc2a4
Moved to Programs/SingleSource
...
llvm-svn: 1544
2002-01-22 17:42:43 +00:00
Chris Lattner
11ea49931a
Move some makefile stuff to subdirectories
...
llvm-svn: 1543
2002-01-22 16:56:41 +00:00
Chris Lattner
261ccf462e
These are unneccesary now
...
llvm-svn: 1535
2002-01-22 15:47:47 +00:00
Chris Lattner
88e8ecff17
Add a path to LD_LIBRARY_PATH so that programs can find the stdC++ libraries
...
llvm-svn: 1505
2002-01-21 06:50:08 +00:00
Vikram S. Adve
10e0d8d4e3
Renamed Makefile.target to Makefile.tests and folded in
...
Chris's Makefile.tests used to build and test single-source tests
(but with some uses of Output/ directory eliminated for now).
Let's not create two versions of this file!
llvm-svn: 1490
2001-12-15 01:13:42 +00:00
Vikram S. Adve
46e663c6f2
Rename Makefile.target to Makefile.tests.
...
Make all a :: target.
llvm-svn: 1488
2001-12-15 01:04:39 +00:00
Vikram S. Adve
282390aaa0
Renaming to Makefile.tests
...
llvm-svn: 1487
2001-12-15 00:54:37 +00:00
Vikram S. Adve
485cabdb31
Run testsparc, not testcodegen for testing the back end.
...
llvm-svn: 1482
2001-12-15 00:29:14 +00:00
Chris Lattner
eb81d53e40
Update LLVM tests to use new pointer indexing, and remove unsized array test support
...
llvm-svn: 1474
2001-12-14 16:46:53 +00:00
Chris Lattner
913fe0f5a9
Build Programs subdirectory
...
llvm-svn: 1473
2001-12-14 16:43:59 +00:00
Vikram S. Adve
45ea2fd95e
Added TRACEM option. Use -g when building native code for tests.
...
llvm-svn: 1438
2001-12-12 15:19:55 +00:00
Chris Lattner
a6f3071b05
Use _LOCAL_ gccas to build instead of Chris's
...
llvm-svn: 1436
2001-12-09 16:55:43 +00:00
Chris Lattner
786df13fc1
New testcase for globaldce
...
llvm-svn: 1398
2001-11-26 20:50:07 +00:00
Chris Lattner
d8642f7b14
Add testcases for internal
...
llvm-svn: 1388
2001-11-26 19:17:06 +00:00
Chris Lattner
275cb9ec1f
Rename irreducible to cfgstructures.ll Include other interesting structures
...
llvm-svn: 1387
2001-11-26 19:16:37 +00:00
Chris Lattner
88a8ddae84
MAke sure diffs match
...
llvm-svn: 1386
2001-11-26 19:15:25 +00:00
Chris Lattner
792dc9978e
Test array indexing
...
llvm-svn: 1349
2001-11-26 17:02:56 +00:00
Chris Lattner
4f534e6b3a
Only use one form of printVal per program to avoid spurious link errors
...
llvm-svn: 1292
2001-11-13 06:27:19 +00:00
Chris Lattner
c047f4eb02
Overwrite files when linked
...
Remove native files when cleaned
llvm-svn: 1289
2001-11-13 05:44:27 +00:00
Vikram S. Adve
097b7cb52a
Distinguish LOCAL_LDFLAGS and LOCAL_LCFLAGS from LOCAL_CFLAGS.
...
In particular, never put -lm in LOCAL_[L]CFLAGS because it
disables an implicit rule that has LOCAL_CFLAGS as a prerequisite.
llvm-svn: 1281
2001-11-12 23:10:29 +00:00
Vikram S. Adve
b4489fb853
Use cc instead of gcc to compile *.native
...
llvm-svn: 1250
2001-11-10 14:23:54 +00:00
Chris Lattner
b98ec7f369
Testcase for structure field reordering
...
llvm-svn: 1247
2001-11-10 07:26:59 +00:00
Vikram S. Adve
21cbb36e3d
Added function LL__main.
...
llvm-svn: 1230
2001-11-09 02:21:38 +00:00
Vikram S. Adve
b92658976a
Eliminate cleaning step for individual %.bc files created by our gcc.
...
llvm-svn: 1211
2001-11-08 18:42:08 +00:00
Vikram S. Adve
7048762a3e
Took out .clean.bc target.
...
llvm-svn: 1210
2001-11-08 18:25:05 +00:00
Vikram S. Adve
17bfd13a39
Run cleaning pass only when linking multiple files.
...
llvm-svn: 1209
2001-11-08 18:14:20 +00:00
Vikram S. Adve
04a251d785
Add cleaning pass after linking.
...
llvm-svn: 1208
2001-11-08 18:13:17 +00:00
Vikram S. Adve
7543782956
Keep *.s files while we're debugging the native code.
...
Also, fix rule for $(LLCLIBS).
llvm-svn: 1206
2001-11-08 14:31:05 +00:00
Vikram S. Adve
7a3c4070d6
Add rule for %.clean.bc.
...
llvm-svn: 1204
2001-11-08 05:28:08 +00:00
Vikram S. Adve
b8157d5a29
Roll back all these changes that have broken Makefile.target again.
...
llvm-svn: 1172
2001-11-07 12:29:40 +00:00
Chris Lattner
74a4698aaa
Minor fixes
...
llvm-svn: 1164
2001-11-06 22:53:17 +00:00
Chris Lattner
82b7872326
Build .bc from .c better.
...
llvm-svn: 1158
2001-11-06 20:44:15 +00:00
Chris Lattner
21af446166
Don't forget to make the clean version.
...
llvm-svn: 1157
2001-11-06 20:23:50 +00:00
Vikram S. Adve
096a76aa92
Really fix Makefile to compile individual tests and Olden codes.
...
by using a better naming scheme.
llvm-svn: 1156
2001-11-06 17:09:49 +00:00
Vikram S. Adve
2f4b825ca1
Moved *.c files into subdirectory TestSources to avoid overwriting
...
corresponding *.ll files.
llvm-svn: 1155
2001-11-06 17:06:06 +00:00
Chris Lattner
0c993260fe
Reorder paramters to make the command line more easily modifiable
...
llvm-svn: 1153
2001-11-06 08:34:56 +00:00
Chris Lattner
7bb67c8ab8
Fix makefile to compile olden and main benchmarks
...
llvm-svn: 1142
2001-11-05 19:43:24 +00:00
Chris Lattner
ad480c5a34
Make the olden benchmarks compile again
...
llvm-svn: 1139
2001-11-05 18:25:37 +00:00
Vikram S. Adve
6cb546970f
Put it back!
...
llvm-svn: 1136
2001-11-05 00:48:27 +00:00
Vikram S. Adve
daa6058a13
Removed by mistake; will add it back immediately.
...
llvm-svn: 1135
2001-11-05 00:48:05 +00:00
Vikram S. Adve
d3be60db35
Make gcc generate assembly files (%.ll) until Chris has a stable
...
version of his gccas. Plus another dumb bug fix (the bug, not the fix).
llvm-svn: 1134
2001-11-05 00:35:56 +00:00
Vikram S. Adve
4d04e00072
Delete rule to disassemble %.bc -- need to make it effective only when
...
%.ll is not a pre-existing file.
llvm-svn: 1133
2001-11-05 00:23:25 +00:00
Vikram S. Adve
491d8dde35
Replaced another HERE.
...
llvm-svn: 1132
2001-11-05 00:22:16 +00:00
Vikram S. Adve
e943db9be9
Put common rules for compiling programs into Makefile.target.
...
llvm-svn: 1130
2001-11-05 00:18:30 +00:00
Chris Lattner
55c72cb47a
Start testing the new cleangcc pass
...
llvm-svn: 1067
2001-10-31 06:36:34 +00:00
Chris Lattner
49d9307ca6
Initial checkin of heapsort benchmark
...
llvm-svn: 1057
2001-10-31 02:28:25 +00:00
Chris Lattner
7551ec25e7
Initial checkin of ary3 "benchmark" from prog lang shootout
...
llvm-svn: 1051
2001-10-30 22:17:57 +00:00
Chris Lattner
cdb5936f45
Add testcase for missed SCCP optimization
...
llvm-svn: 1040
2001-10-30 03:22:59 +00:00
Chris Lattner
1711dcbd29
Test bitwise operations
...
llvm-svn: 1025
2001-10-29 13:56:42 +00:00
Vikram S. Adve
ef3544314e
Added printPointer.
...
llvm-svn: 1001
2001-10-28 21:34:59 +00:00
Vikram S. Adve
1b7cc1e33b
Runtime routines implementing print<TYPE> for all basic types.
...
llvm-svn: 1000
2001-10-28 21:31:33 +00:00
Vikram S. Adve
4a6067f959
Add calls to print results in fib, simpleadd and sumarray.
...
indirectcall is the same as fib but uses function pointers.
llvm-svn: 996
2001-10-28 21:16:34 +00:00
Vikram S. Adve
03fb2f3916
Added rules for building sparc executable with and without tracing,
...
and linking with local runtime library.
llvm-svn: 993
2001-10-28 20:18:11 +00:00
Vikram S. Adve
4b9c7c23b2
Disable alloca code gen tests until size of extra args in stack frame
...
can be computed.
llvm-svn: 957
2001-10-22 22:33:08 +00:00
Vikram S. Adve
c00a4343be
*** empty log message ***
...
llvm-svn: 913
2001-10-18 22:47:50 +00:00
Chris Lattner
cbe05f258e
Check in new testcase based on .c file. Adapted to run with lli
...
llvm-svn: 908
2001-10-18 21:55:07 +00:00
Chris Lattner
90c912acaa
Fix null termination issue
...
llvm-svn: 907
2001-10-18 21:54:42 +00:00
Chris Lattner
bc647f6a01
Add new testcase from C source
...
llvm-svn: 906
2001-10-18 21:50:39 +00:00
Vikram S. Adve
595747054d
Reverse previous change.
...
llvm-svn: 867
2001-10-18 00:23:32 +00:00
Vikram S. Adve
aad04c97e8
Generate assembly code for testcodegen.
...
llvm-svn: 866
2001-10-18 00:22:14 +00:00
Vikram S. Adve
757a67d389
Added several cases where a constant must be forwarded into a use.
...
llvm-svn: 865
2001-10-18 00:22:02 +00:00
Vikram S. Adve
72c1d99922
Disable codgen test for calltest.ll.
...
llvm-svn: 855
2001-10-17 20:14:34 +00:00
Chris Lattner
914fae18c2
Add rule to build executables
...
llvm-svn: 846
2001-10-15 20:08:19 +00:00
Chris Lattner
0abbdbf27c
Make main do some simple work without requiring main arguments to be happy
...
llvm-svn: 842
2001-10-15 19:18:01 +00:00
Chris Lattner
66fc9e73ed
Compile with v9 extensions
...
llvm-svn: 839
2001-10-15 17:55:35 +00:00
Chris Lattner
10e0b75be4
Add some more interesting test cases for the linker
...
llvm-svn: 816
2001-10-15 03:11:58 +00:00
Chris Lattner
197ac9c525
More interesting testcase
...
llvm-svn: 809
2001-10-14 23:28:56 +00:00
Vikram S. Adve
8514ec3186
Enable most tests.
...
llvm-svn: 797
2001-10-14 23:15:42 +00:00
Vikram S. Adve
0504bf4616
Added a string global variable.
...
llvm-svn: 796
2001-10-14 23:13:45 +00:00
Chris Lattner
83d64a068d
Add C source for testmisc.ll
...
llvm-svn: 786
2001-10-13 07:32:16 +00:00
Chris Lattner
1600652b24
New testcase for testing constant pointers to globals
...
llvm-svn: 784
2001-10-13 07:16:11 +00:00
Chris Lattner
1be86ca6a9
Test files for linker
...
llvm-svn: 783
2001-10-13 07:15:38 +00:00
Chris Lattner
a652ce3b1a
Use null keyword instead of kludge
...
llvm-svn: 778
2001-10-13 07:05:51 +00:00
Chris Lattner
dcd96760f6
Add more function call and prototype specific tests
...
llvm-svn: 777
2001-10-13 07:05:07 +00:00
Vikram S. Adve
e483768174
Delete *.s on clean.
...
llvm-svn: 726
2001-10-11 04:24:10 +00:00
Vikram S. Adve
cd23d1d9bd
Moved first function to "simpleadd.ll".
...
llvm-svn: 716
2001-10-10 20:12:15 +00:00
Vikram S. Adve
96654a04db
testmemory and sumarray now work with instruction selection.
...
llvm-svn: 715
2001-10-10 20:10:48 +00:00
Chris Lattner
f208dcfa2b
Fix broken testcase
...
llvm-svn: 705
2001-10-03 14:59:11 +00:00
Chris Lattner
23356658b3
Adjust test cases to match the fact that methods are now explicit pointer values, not explicit
...
llvm-svn: 702
2001-10-03 14:50:12 +00:00
Chris Lattner
02a9c0a081
Modify testcases for new LLVM const syntax
...
llvm-svn: 698
2001-10-03 01:48:04 +00:00
Chris Lattner
9b316883ed
Add path to as so it doesn't find llvm as if that path is set.
...
llvm-svn: 687
2001-10-01 00:50:36 +00:00
Chris Lattner
2ef89c99b3
Exclude a couple of tests that the regalloc stuff doesn't handle yet
...
llvm-svn: 686
2001-10-01 00:40:49 +00:00
Vikram S. Adve
35622c3fc0
Add different "cast constant value" for several possible types.
...
Note these are actually generated by Phis with constant operands.
llvm-svn: 685
2001-10-01 00:23:12 +00:00
Chris Lattner
edcc613706
Add a test for the new null keyword
...
llvm-svn: 669
2001-09-30 22:47:06 +00:00
Chris Lattner
17fe55defd
Add commands to assemble and compile a .ll file
...
llvm-svn: 661
2001-09-28 14:13:09 +00:00
Chris Lattner
34696621d8
Adding the tool to the path doesn't break anything anymore
...
llvm-svn: 658
2001-09-28 00:07:10 +00:00
Chris Lattner
c36515c32f
Un-neuter makefile
...
llvm-svn: 623
2001-09-18 16:33:36 +00:00
Vikram S. Adve
338f4cc397
Folded inssel*.ll into select.ll.
...
llvm-svn: 621
2001-09-18 13:10:26 +00:00
Chris Lattner
5751150169
Fix testcases to handle new syntax for construction and initializeation
...
Test constants
llvm-svn: 600
2001-09-18 04:38:50 +00:00
Chris Lattner
59c9403c7e
Remove invalid testcase
...
llvm-svn: 578
2001-09-14 20:30:58 +00:00
Chris Lattner
52a3873f30
Remove invalid testcase. Unneccesary anyways
...
llvm-svn: 577
2001-09-14 20:28:57 +00:00
Chris Lattner
4dcbbd5379
Add new test cases
...
llvm-svn: 576
2001-09-14 20:03:04 +00:00
Chris Lattner
16dd09a7bb
* Clean up InstrForest
...
* Fix ins sel problem, test case:
void "foo" (int *%x, int *%y)
begin
seteq int *%x, %y
ret void
end
llvm-svn: 552
2001-09-12 01:28:49 +00:00
Chris Lattner
da9755002f
Implement global variable support
...
llvm-svn: 530
2001-09-10 07:58:01 +00:00
Chris Lattner
8cc2749e2a
Rerun backend tests if as or llc is changed
...
llvm-svn: 518
2001-09-09 21:58:36 +00:00
Chris Lattner
9210ecaed8
New testcase to deal with lists
...
llvm-svn: 503
2001-09-07 23:00:46 +00:00
Chris Lattner
c0a673f133
Executables all live in a nice centralized location now
...
llvm-svn: 500
2001-09-07 22:58:50 +00:00
Chris Lattner
43840bd6f6
Executables have moved into centralized location
...
llvm-svn: 499
2001-09-07 22:58:33 +00:00
Chris Lattner
7170360d74
Add llc path to setup
...
Make code gen simpler, don't drop extra files all over the place
llvm-svn: 494
2001-09-07 22:13:44 +00:00
Chris Lattner
c6b8a071b6
Make makefile not depend on where stuff is installed!!!!
...
llvm-svn: 491
2001-09-07 21:24:25 +00:00
Chris Lattner
fc8566a1ed
Check opaque, abstract, and recursive type handling
...
llvm-svn: 479
2001-09-07 20:59:20 +00:00
Chris Lattner
5cc42aa810
Symboltables are sorted in the bytecode, so no problems here!
...
llvm-svn: 468
2001-09-07 16:58:39 +00:00
Chris Lattner
3b78fa378e
Make fib be more real
...
llvm-svn: 413
2001-09-01 01:47:52 +00:00
Vikram S. Adve
1f98eb43e5
Add testcodegen target, and restrict which tests are run for it.
...
llvm-svn: 407
2001-08-28 23:26:44 +00:00
Chris Lattner
7e0eec9a85
Rename start methods to main so interpreter works easier
...
llvm-svn: 367
2001-08-23 17:08:51 +00:00
Vikram S. Adve
5abe128752
Had used the wrong option.
...
llvm-svn: 339
2001-07-31 21:52:28 +00:00
Vikram S. Adve
a223748a52
Added support for testing instruction selection on all but 2 tests.
...
llvm-svn: 333
2001-07-31 21:45:56 +00:00
Chris Lattner
bf22504107
New test cases
...
llvm-svn: 329
2001-07-28 18:04:10 +00:00
Chris Lattner
44b939a328
Changes to make test scripts more reliable
...
llvm-svn: 319
2001-07-28 17:40:15 +00:00
Chris Lattner
b58fdf0e5e
Add test of string constants
...
llvm-svn: 318
2001-07-28 17:39:46 +00:00
Chris Lattner
3a7aa63841
Work around a few 'sorting issues' with the bytecode output that causes the bytecode
...
not to be bit for bit identical. This is a hack and should be fixed in the future
llvm-svn: 306
2001-07-26 16:30:18 +00:00
Chris Lattner
6bd07a6f51
New test for varargs functions
...
llvm-svn: 301
2001-07-25 22:49:12 +00:00
Chris Lattner
941978e1bf
New test case
...
llvm-svn: 268
2001-07-22 05:00:34 +00:00
Vikram S. Adve
18f60c7082
Version of testmemory to test alloca, load and store.
...
llvm-svn: 238
2001-07-21 12:46:12 +00:00
Vikram S. Adve
6546f97d2f
Used a bigger constant in loopfunc.ll that doesn't fit in immed field.
...
llvm-svn: 237
2001-07-21 12:44:24 +00:00
Chris Lattner
c7801d21f7
New test case for prototype support
...
llvm-svn: 199
2001-07-15 21:43:17 +00:00
Chris Lattner
abc1609342
New testcase from GCC doing array operations
...
llvm-svn: 192
2001-07-15 00:18:50 +00:00
Chris Lattner
f20469c1ab
add coverage of newly implemented instructions.
...
llvm-svn: 165
2001-07-08 23:23:30 +00:00
Chris Lattner
a682182f64
Neg instruction removed. Cast instruction implemented.
...
llvm-svn: 156
2001-07-08 04:57:15 +00:00
Chris Lattner
9559178a84
Added analyze to path for SetupOpt script
...
llvm-svn: 135
2001-07-03 15:30:10 +00:00
Chris Lattner
d27d05967d
Add analyze tool to path for Setup script
...
llvm-svn: 134
2001-07-03 15:29:48 +00:00
Chris Lattner
4cee8d8ffb
Miscellaneous cleanups:
...
* Convert post to pre-increment for for loops
* Use generic programming more
* Use new Value::cast* instructions
* Use new Module, Method, & BasicBlock forwarding methods
* Use new facilities in STLExtras.h
* Use new Instruction::isPHINode() method
llvm-svn: 96
2001-06-27 23:41:11 +00:00
Chris Lattner
e32de63e07
Put in test of SCCP. Watch out though, because we need to sort the
...
constant pool for the final check to work. :(
llvm-svn: 93
2001-06-27 23:37:22 +00:00
Chris Lattner
72bd8ccbac
Add a useless phi for testing with InductionVariables stuff
...
llvm-svn: 64
2001-06-24 04:06:23 +00:00
Chris Lattner
c3dcb5bced
Add a test case: an irreducible flow graph.
...
llvm-svn: 46
2001-06-21 03:00:25 +00:00
Chris Lattner
4f67265ba5
New test case
...
llvm-svn: 43
2001-06-20 23:05:53 +00:00
Chris Lattner
a6b0157879
Add a more complex test case
...
llvm-svn: 37
2001-06-20 19:27:18 +00:00
Chris Lattner
2b82b181a2
Updates to support
...
* Changes in PHI node structure
* We now run DCE after inlining because it helps clean up LOTS of inlining
gunk.
llvm-svn: 26
2001-06-11 15:05:02 +00:00
Chris Lattner
cc45ae3d49
inlining can change methods a second time, so don't rerun inliner when testing for
...
differences in optimizations
llvm-svn: 12
2001-06-07 17:00:00 +00:00
Chris Lattner
2f7c963559
Initial revision
...
llvm-svn: 2
2001-06-06 20:29:01 +00:00