Commit Graph

13234 Commits

Author SHA1 Message Date
Chris Lattner
01853e8773 Check another case
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2424 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-02 15:24:40 +00:00
Chris Lattner
5061263285 New bug testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2422 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-01 15:33:12 +00:00
Chris Lattner
fdc7c29679 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2419 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-30 19:50:47 +00:00
Chris Lattner
efc01f62c6 New test cases for mul folding
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2416 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-29 22:24:24 +00:00
Chris Lattner
51176ea54a New test for broken asm parser
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2398 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-29 18:12:28 +00:00
Chris Lattner
89bf005646 New testcase for GCSE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2342 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-28 01:46:36 +00:00
Chris Lattner
923caadfab Test GCSE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2341 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-28 01:46:30 +00:00
Chris Lattner
1d2535c0b1 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2304 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-18 20:30:58 +00:00
Chris Lattner
fe053c77c1 New testcase.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2291 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-18 17:35:39 +00:00
Chris Lattner
dce153e112 Check in the first test: make sure getelementptr gets folded
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2288 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-18 15:39:50 +00:00
Chris Lattner
88f2501eda Test the instruction combiner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2287 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-18 15:39:15 +00:00
Chris Lattner
0ed4833986 Fix for buggy test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2267 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-16 21:31:08 +00:00
Chris Lattner
7523a107d9 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2262 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-16 05:58:24 +00:00
Chris Lattner
61b064759d New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2261 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-16 05:44:56 +00:00
Chris Lattner
b42b7f921a Checkin first unit testcases for the backend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2249 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-14 06:23:00 +00:00
Chris Lattner
cbec8be8f8 New testcase for the verifier
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2242 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-13 22:46:24 +00:00
Chris Lattner
b49cebb26a New testcase for structure valued parameters.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2220 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-10 17:43:40 +00:00
Chris Lattner
b55a5b47e2 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2218 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-09 20:43:18 +00:00
Chris Lattner
e4bd95e44f Checkin old testcase that is newly fixed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2161 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-08 19:32:51 +00:00
Chris Lattner
6590373db7 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2160 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-08 18:48:47 +00:00
Chris Lattner
0bfaf3b7b5 Checkin old testcase for switch statement. For now we just decimate them
to conditional branches.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2159 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-08 18:48:27 +00:00
Chris Lattner
74550e1d06 Old testcase that missed getting checked in
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2158 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-08 15:19:02 +00:00
Chris Lattner
db59c17853 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2138 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-07 08:14:44 +00:00
Chris Lattner
aef6546191 don't delete intermediate files!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2136 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-07 08:11:07 +00:00
Chris Lattner
24823ccd47 Testcase for bad constant handling
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2133 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-07 07:58:25 +00:00
Chris Lattner
ee9285c179 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.  :)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2123 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-05 23:00:02 +00:00
Chris Lattner
0cca46421f New testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2122 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-05 22:25:51 +00:00
Chris Lattner
8db92d0f7b Testcase that breaks recursive type processing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2117 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-05 19:39:55 +00:00
Chris Lattner
2c024a78fc Don't link in library that cannot be found, this should be removed eventually.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2111 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-04 19:27:43 +00:00
Chris Lattner
846f1c3c13 Add subdirs to makefile
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2017 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-28 18:21:31 +00:00
Chris Lattner
c4d5fec26f Initial checkin of first regression test for mem2reg pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2016 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-28 18:21:05 +00:00
Vikram S. Adve
12bcf84e53 Make test more rigorous. It was never reading the non-scalar variables
from memory!  Also, separate the writing and reading routines.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1983 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-24 13:22:04 +00:00
Chris Lattner
dea73e5ca8 initialize sum variable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1982 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-24 07:03:10 +00:00
Vikram S. Adve
c99afb88ab Fix out-of-date name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1959 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-24 03:18:49 +00:00
Vikram S. Adve
79c738599b Regression tests for DecomposeMultiDimRefs pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1958 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-24 03:17:16 +00:00
Chris Lattner
df268ceb06 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1942 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-21 23:00:48 +00:00
Chris Lattner
41e8e9deea New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1940 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-21 22:39:43 +00:00
Chris Lattner
2e5c295100 Rerun test if opt gets changed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1937 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-21 21:29:47 +00:00
Chris Lattner
7b3c34b87a Run all testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1936 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-21 21:24:19 +00:00
Chris Lattner
48374147f6 Build LevelRaise subdirectory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1935 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-21 21:24:13 +00:00
Chris Lattner
6e848eac1b Testcase for a missed level raise opportunity
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1932 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-21 21:20:04 +00:00
Chris Lattner
35191769a5 Fix bug in testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1928 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-21 06:19:43 +00:00
Chris Lattner
774888c1a4 New testcase for YALRB (yet another level raise bug)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1925 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-21 05:39:20 +00:00
Chris Lattner
60091fa6b1 Checkin testcase that was just sitting in my tree. Looks like backreferences
have some problem in the parser, oh joy.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1923 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-21 05:35:11 +00:00
Chris Lattner
f7f04098ce New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1920 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-21 03:01:14 +00:00
Vikram S. Adve
fad0f52666 include Makefile.tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1914 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-18 04:05:26 +00:00
Vikram S. Adve
d79b4eb506 Fix libraries.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1912 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-18 03:53:22 +00:00
Vikram S. Adve
4bec7fab45 Minor changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1911 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-18 03:52:31 +00:00
Vikram S. Adve
190144293d Regression tests for live-variable analysis on machine code
generated by llc.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1882 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-16 21:42:33 +00:00
Chris Lattner
3df17fe7a8 Testcase for bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1875 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-14 22:30:39 +00:00
Chris Lattner
f5c04ef6d3 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1874 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-14 20:16:23 +00:00
Chris Lattner
df72341d60 New test case for long standing bug that was fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1873 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-14 19:40:44 +00:00
Chris Lattner
cbc98eb6a4 Forgot to check this in a long time ago
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1872 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-14 19:31:32 +00:00
Chris Lattner
5f988c0969 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1871 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-14 19:27:43 +00:00
Chris Lattner
34fc767c10 New testcase for bugfx
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1868 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-14 16:35:50 +00:00
Chris Lattner
4b3f94573d New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1867 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-12 18:56:45 +00:00
Chris Lattner
e22dddb433 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1866 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-12 17:45:36 +00:00
Chris Lattner
4c63ce3d23 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1863 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-11 23:28:11 +00:00
Chris Lattner
1340f7671c New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1860 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-11 22:14:26 +00:00
Chris Lattner
81ba70445f New testcase for failure
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1857 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-11 22:09:43 +00:00
Chris Lattner
6a314b58c7 Testcase that causes an assertion failure in lib/Analysis/Expressions.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1855 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-11 20:28:16 +00:00
Chris Lattner
2286a9c34a New testcase for broken GCCism
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1854 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-11 19:03:41 +00:00
Chris Lattner
9dfdf0f1e6 Add var to find GCCLD tool
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1846 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-11 17:46:34 +00:00
Chris Lattner
4a24792a47 New testcase for crashing bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1843 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-11 17:25:50 +00:00
Chris Lattner
df00605a9d New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1838 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-08 19:10:09 +00:00
Chris Lattner
57232c53aa New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1835 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-08 18:41:11 +00:00
Chris Lattner
664c953b39 Testcase for new bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1797 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-25 00:34:18 +00:00
Chris Lattner
ae50560920 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1775 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-18 19:46:09 +00:00
Chris Lattner
6374a52253 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1768 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-17 06:42:02 +00:00
Chris Lattner
4ed5534a8f Checking regression test for bugfix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1766 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-14 22:20:54 +00:00
Chris Lattner
9ab91af486 New testcase for bug in levelraise
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1759 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-14 18:52:18 +00:00
Chris Lattner
d1ba4475be New testcase for fixed GCC bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1755 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-14 05:41:15 +00:00
Chris Lattner
efa4ec0cf9 NEw testcase for bugfix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1753 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-14 00:18:44 +00:00
Chris Lattner
b3cd2c123b Checking testcase for reload problem
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1752 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-13 20:35:17 +00:00
Chris Lattner
11b89dc119 New testcase for fixed bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1751 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-13 20:25:16 +00:00
Chris Lattner
6723addbc7 Add comments
Add rules to compile a program with LLC to machine code and an executable


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1735 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-12 15:39:38 +00:00
Chris Lattner
434c280a91 test/Features should not contain whole programs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1734 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-12 15:21:57 +00:00
Chris Lattner
be65001fb1 New testcase for bug in -raise pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1733 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-11 23:44:06 +00:00
Chris Lattner
d24d4afb99 Allow multiline RUN:'s
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1732 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-11 23:32:43 +00:00
Chris Lattner
7e49ea1519 Add testcase for sparc backend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1731 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-11 23:22:56 +00:00
Vikram S. Adve
90c511cd18 Added command to build SPARC executable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1730 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-11 22:50:17 +00:00
Vikram S. Adve
289e74a4ba Simple fibonacci test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1729 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-11 22:48:18 +00:00
Chris Lattner
07ae06d18e New checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1630 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-01 05:04:58 +00:00
Chris Lattner
097fc015a8 Rip out irrelevant details
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1625 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-01 04:44:38 +00:00
Chris Lattner
fbda7a0297 Add TESTRUNR var
Correctly create directory for .bc target


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1623 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-01 04:25:12 +00:00
Chris Lattner
9a3c2b58bc Initial checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1622 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-01 04:24:47 +00:00
Chris Lattner
04dcb5c4fc Initial checkin of 'Other' section
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1621 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-01 04:24:20 +00:00
Chris Lattner
bafff3380e Forgot to force
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1598 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-31 00:27:32 +00:00
Chris Lattner
8b309de132 Testcase broken - Entry node of method cannot have predecessors!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1597 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-31 00:25:00 +00:00
Chris Lattner
296a360dc5 Make gcc tests depend on the part of GCC that actually gets updated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1589 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-26 22:48:08 +00:00
Chris Lattner
2122318240 Testcase for SymbolTable.cpp bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1584 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-25 03:58:05 +00:00
Chris Lattner
ef308f8210 Check in testcase and fix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1581 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-25 03:44:58 +00:00
Chris Lattner
15a2e175fd New testcase to ensure GCC doesn't emit type identifiers with spaces in them
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1580 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-24 20:45:45 +00:00
Chris Lattner
11d11f01a9 Checkin testcase for bug recently fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1579 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-24 19:50:30 +00:00
Chris Lattner
ad637cc8ce Initial Checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1577 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 21:56:15 +00:00
Chris Lattner
b95e7d5a0b Initial checkin of now fixed bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1575 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 21:40:57 +00:00
Chris Lattner
66c1f727bd Initial Checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1574 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 21:40:31 +00:00
Chris Lattner
52a4e85a98 More rules checked in
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1571 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 21:36:59 +00:00
Chris Lattner
fa149909ab Failure.sh moved up a level
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1569 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 20:39:56 +00:00
Chris Lattner
9363884abe Initial checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1564 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 19:42:52 +00:00
Chris Lattner
8cb23b2cf9 Change test scripts so that they do not stop on failure, they just print
an error message


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1563 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 18:04:21 +00:00
Chris Lattner
9288cd9c6b Initial checking of Failure.sh
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1562 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 18:03:49 +00:00
Chris Lattner
3e81173902 New minimal makefile
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1561 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 17:22:17 +00:00
Chris Lattner
747604218f Removal of more unnecesary stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1557 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 05:50:04 +00:00
Chris Lattner
e5cf823b54 Moved to Programs/SingleSource
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1544 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-22 17:42:43 +00:00
Chris Lattner
c89764e80c Move some makefile stuff to subdirectories
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1543 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-22 16:56:41 +00:00
Chris Lattner
fca0402b2b These are unneccesary now
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1535 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-22 15:47:47 +00:00
Chris Lattner
f2a1dbc1e3 Add a path to LD_LIBRARY_PATH so that programs can find the stdC++ libraries
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1505 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-21 06:50:08 +00:00
Vikram S. Adve
977fa8df93 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!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1490 91177308-0d34-0410-b5e6-96231b3b80d8
2001-12-15 01:13:42 +00:00
Vikram S. Adve
1b654bd347 Rename Makefile.target to Makefile.tests.
Make all a :: target.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1488 91177308-0d34-0410-b5e6-96231b3b80d8
2001-12-15 01:04:39 +00:00
Vikram S. Adve
15784de2e7 Renaming to Makefile.tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1487 91177308-0d34-0410-b5e6-96231b3b80d8
2001-12-15 00:54:37 +00:00
Vikram S. Adve
b15f64c353 Run testsparc, not testcodegen for testing the back end.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1482 91177308-0d34-0410-b5e6-96231b3b80d8
2001-12-15 00:29:14 +00:00
Chris Lattner
f493a569c3 Update LLVM tests to use new pointer indexing, and remove unsized array test support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1474 91177308-0d34-0410-b5e6-96231b3b80d8
2001-12-14 16:46:53 +00:00
Chris Lattner
48e9f40be0 Build Programs subdirectory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1473 91177308-0d34-0410-b5e6-96231b3b80d8
2001-12-14 16:43:59 +00:00
Vikram S. Adve
2836e8e7aa Added TRACEM option. Use -g when building native code for tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1438 91177308-0d34-0410-b5e6-96231b3b80d8
2001-12-12 15:19:55 +00:00
Chris Lattner
e5b27bd320 Use _LOCAL_ gccas to build instead of Chris's
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1436 91177308-0d34-0410-b5e6-96231b3b80d8
2001-12-09 16:55:43 +00:00
Chris Lattner
475aee944d New testcase for globaldce
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1398 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-26 20:50:07 +00:00
Chris Lattner
b4b07c788d Add testcases for internal
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1388 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-26 19:17:06 +00:00
Chris Lattner
13d38cd805 Rename irreducible to cfgstructures.ll Include other interesting structures
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1387 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-26 19:16:37 +00:00
Chris Lattner
f6e54d0ab7 MAke sure diffs match
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1386 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-26 19:15:25 +00:00
Chris Lattner
4d631b85c1 Test array indexing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1349 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-26 17:02:56 +00:00
Chris Lattner
689e076b90 Only use one form of printVal per program to avoid spurious link errors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1292 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-13 06:27:19 +00:00
Chris Lattner
02b5d1386e Overwrite files when linked
Remove native files when cleaned


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1289 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-13 05:44:27 +00:00
Vikram S. Adve
0ab42dce08 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1281 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-12 23:10:29 +00:00
Vikram S. Adve
409ffcc918 Use cc instead of gcc to compile *.native
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1250 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-10 14:23:54 +00:00
Chris Lattner
2ac03f488b Testcase for structure field reordering
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1247 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-10 07:26:59 +00:00
Vikram S. Adve
04aec9fbb4 Added function LL__main.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1230 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-09 02:21:38 +00:00
Vikram S. Adve
19560c3fd3 Eliminate cleaning step for individual %.bc files created by our gcc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1211 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-08 18:42:08 +00:00
Vikram S. Adve
f87fc32e35 Took out .clean.bc target.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1210 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-08 18:25:05 +00:00
Vikram S. Adve
5efe19801e Run cleaning pass only when linking multiple files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1209 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-08 18:14:20 +00:00
Vikram S. Adve
9af7022d55 Add cleaning pass after linking.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1208 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-08 18:13:17 +00:00
Vikram S. Adve
3bc29389c5 Keep *.s files while we're debugging the native code.
Also, fix rule for $(LLCLIBS).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1206 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-08 14:31:05 +00:00
Vikram S. Adve
e78ea6782b Add rule for %.clean.bc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1204 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-08 05:28:08 +00:00
Vikram S. Adve
1f64ad998a Roll back all these changes that have broken Makefile.target again.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1172 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-07 12:29:40 +00:00
Chris Lattner
4bf36bb67f Minor fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1164 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-06 22:53:17 +00:00
Chris Lattner
54b7741dff Build .bc from .c better.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1158 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-06 20:44:15 +00:00
Chris Lattner
054385a11a Don't forget to make the clean version.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1157 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-06 20:23:50 +00:00
Vikram S. Adve
a46fb6bb90 Really fix Makefile to compile individual tests and Olden codes.
by using a better naming scheme.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1156 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-06 17:09:49 +00:00
Vikram S. Adve
7b10c3694a Moved *.c files into subdirectory TestSources to avoid overwriting
corresponding *.ll files.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1155 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-06 17:06:06 +00:00
Chris Lattner
54bc6b3166 Reorder paramters to make the command line more easily modifiable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1153 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-06 08:34:56 +00:00
Chris Lattner
93ee0a165a Fix makefile to compile olden and main benchmarks
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1142 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-05 19:43:24 +00:00
Chris Lattner
8448fb5b24 Make the olden benchmarks compile again
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1139 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-05 18:25:37 +00:00
Vikram S. Adve
0b12f2bb30 Put it back!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1136 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-05 00:48:27 +00:00
Vikram S. Adve
11f45baa9b Removed by mistake; will add it back immediately.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1135 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-05 00:48:05 +00:00
Vikram S. Adve
772d091e00 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).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1134 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-05 00:35:56 +00:00
Vikram S. Adve
2fc372e0ca Delete rule to disassemble %.bc -- need to make it effective only when
%.ll is not a pre-existing file.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1133 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-05 00:23:25 +00:00
Vikram S. Adve
38b8620f4a Replaced another HERE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1132 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-05 00:22:16 +00:00
Vikram S. Adve
4cceffe0a9 Put common rules for compiling programs into Makefile.target.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1130 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-05 00:18:30 +00:00
Chris Lattner
2305b6c3a7 Start testing the new cleangcc pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1067 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-31 06:36:34 +00:00
Chris Lattner
a3ad7bbbb1 Initial checkin of heapsort benchmark
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1057 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-31 02:28:25 +00:00
Chris Lattner
db351718d0 Initial checkin of ary3 "benchmark" from prog lang shootout
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1051 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-30 22:17:57 +00:00
Chris Lattner
bfbed460df Add testcase for missed SCCP optimization
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1040 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-30 03:22:59 +00:00
Chris Lattner
b82f5e7c00 Test bitwise operations
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1025 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-29 13:56:42 +00:00
Vikram S. Adve
5b3a0140a7 Added printPointer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1001 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-28 21:34:59 +00:00
Vikram S. Adve
1b20ca21c6 Runtime routines implementing print<TYPE> for all basic types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1000 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-28 21:31:33 +00:00
Vikram S. Adve
ffcaa7bb00 Add calls to print results in fib, simpleadd and sumarray.
indirectcall is the same as fib but uses function pointers.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@996 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-28 21:16:34 +00:00
Vikram S. Adve
59a9960423 Added rules for building sparc executable with and without tracing,
and linking with local runtime library.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@993 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-28 20:18:11 +00:00
Vikram S. Adve
919b59a148 Disable alloca code gen tests until size of extra args in stack frame
can be computed.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@957 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-22 22:33:08 +00:00
Vikram S. Adve
ad5b62012c *** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@913 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-18 22:47:50 +00:00
Chris Lattner
b7e711838f Check in new testcase based on .c file. Adapted to run with lli
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@908 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-18 21:55:07 +00:00
Chris Lattner
03f7ce0757 Fix null termination issue
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@907 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-18 21:54:42 +00:00
Chris Lattner
1e39a958c0 Add new testcase from C source
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@906 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-18 21:50:39 +00:00
Vikram S. Adve
8f1afbf3b3 Reverse previous change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@867 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-18 00:23:32 +00:00
Vikram S. Adve
867c3cc380 Generate assembly code for testcodegen.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@866 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-18 00:22:14 +00:00
Vikram S. Adve
f6ee0d876a Added several cases where a constant must be forwarded into a use.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@865 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-18 00:22:02 +00:00
Vikram S. Adve
67edee1443 Disable codgen test for calltest.ll.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@855 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-17 20:14:34 +00:00
Chris Lattner
abe959c063 Add rule to build executables
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@846 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-15 20:08:19 +00:00
Chris Lattner
1b3512ff97 Make main do some simple work without requiring main arguments to be happy
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@842 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-15 19:18:01 +00:00
Chris Lattner
18fc812a1b Compile with v9 extensions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@839 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-15 17:55:35 +00:00
Chris Lattner
230e5efe63 Add some more interesting test cases for the linker
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@816 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-15 03:11:58 +00:00
Chris Lattner
784c52f614 More interesting testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@809 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-14 23:28:56 +00:00
Vikram S. Adve
519c6fc354 Enable most tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@797 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-14 23:15:42 +00:00
Vikram S. Adve
b40acbe8c2 Added a string global variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@796 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-14 23:13:45 +00:00
Chris Lattner
836f414c2c Add C source for testmisc.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@786 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-13 07:32:16 +00:00
Chris Lattner
5bc20c7fe3 New testcase for testing constant pointers to globals
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@784 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-13 07:16:11 +00:00
Chris Lattner
285c68d66d Test files for linker
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@783 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-13 07:15:38 +00:00
Chris Lattner
a6f1ac40a4 Use null keyword instead of kludge
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@778 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-13 07:05:51 +00:00
Chris Lattner
49ca7aae44 Add more function call and prototype specific tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@777 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-13 07:05:07 +00:00
Vikram S. Adve
c68059ebc1 Delete *.s on clean.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@726 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-11 04:24:10 +00:00
Vikram S. Adve
25e288fd92 Moved first function to "simpleadd.ll".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@716 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-10 20:12:15 +00:00
Vikram S. Adve
5a28f062b9 testmemory and sumarray now work with instruction selection.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@715 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-10 20:10:48 +00:00
Chris Lattner
a861f966fd Fix broken testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@705 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-03 14:59:11 +00:00
Chris Lattner
da25716296 Adjust test cases to match the fact that methods are now explicit pointer values, not explicit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@702 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-03 14:50:12 +00:00
Chris Lattner
fe5e584cd9 Modify testcases for new LLVM const syntax
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@698 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-03 01:48:04 +00:00
Chris Lattner
19f8623416 Add path to as so it doesn't find llvm as if that path is set.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@687 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-01 00:50:36 +00:00
Chris Lattner
f0d2676ee5 Exclude a couple of tests that the regalloc stuff doesn't handle yet
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@686 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-01 00:40:49 +00:00
Vikram S. Adve
fd0336e345 Add different "cast constant value" for several possible types.
Note these are actually generated by Phis with constant operands.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@685 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-01 00:23:12 +00:00
Chris Lattner
6b12936ac3 Add a test for the new null keyword
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@669 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-30 22:47:06 +00:00
Chris Lattner
3d754fbcaa Add commands to assemble and compile a .ll file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@661 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-28 14:13:09 +00:00
Chris Lattner
79d4eb3aa0 Adding the tool to the path doesn't break anything anymore
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@658 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-28 00:07:10 +00:00
Chris Lattner
bb036be620 Un-neuter makefile
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@623 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-18 16:33:36 +00:00
Vikram S. Adve
9bf654646e Folded inssel*.ll into select.ll.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@621 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-18 13:10:26 +00:00
Chris Lattner
ead19d51ba Fix testcases to handle new syntax for construction and initializeation
Test constants


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@600 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-18 04:38:50 +00:00
Chris Lattner
f24ce2a600 Remove invalid testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@578 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-14 20:30:58 +00:00
Chris Lattner
a229b0685f Remove invalid testcase. Unneccesary anyways
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@577 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-14 20:28:57 +00:00
Chris Lattner
808b9b6cdf Add new test cases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@576 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-14 20:03:04 +00:00
Chris Lattner
4ddb4c82d7 * Clean up InstrForest
* Fix ins sel problem, test case:
void "foo" (int *%x, int *%y)

begin
        seteq int *%x, %y
        ret void
end


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@552 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-12 01:28:49 +00:00
Chris Lattner
70cc3397f8 Implement global variable support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@530 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-10 07:58:01 +00:00
Chris Lattner
f1ce146c36 Rerun backend tests if as or llc is changed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@518 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-09 21:58:36 +00:00
Chris Lattner
6a8f91e3e9 New testcase to deal with lists
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@503 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-07 23:00:46 +00:00
Chris Lattner
f074cfc59e Executables all live in a nice centralized location now
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@500 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-07 22:58:50 +00:00
Chris Lattner
b7e9ae1e93 Executables have moved into centralized location
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@499 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-07 22:58:33 +00:00
Chris Lattner
5341e214d9 Add llc path to setup
Make code gen simpler, don't drop extra files all over the place


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@494 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-07 22:13:44 +00:00
Chris Lattner
ddceab8fbf Make makefile not depend on where stuff is installed!!!!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@491 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-07 21:24:25 +00:00
Chris Lattner
fd84023f5f Check opaque, abstract, and recursive type handling
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@479 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-07 20:59:20 +00:00
Chris Lattner
12ecac65f5 Symboltables are sorted in the bytecode, so no problems here!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@468 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-07 16:58:39 +00:00
Chris Lattner
98af669fb9 Make fib be more real
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@413 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-01 01:47:52 +00:00
Vikram S. Adve
5b7d0bf988 Add testcodegen target, and restrict which tests are run for it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@407 91177308-0d34-0410-b5e6-96231b3b80d8
2001-08-28 23:26:44 +00:00
Chris Lattner
1a42c342c2 Rename start methods to main so interpreter works easier
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367 91177308-0d34-0410-b5e6-96231b3b80d8
2001-08-23 17:08:51 +00:00
Vikram S. Adve
cf8a5f899b Had used the wrong option.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@339 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-31 21:52:28 +00:00
Vikram S. Adve
35fc0b172e Added support for testing instruction selection on all but 2 tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@333 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-31 21:45:56 +00:00
Chris Lattner
877fbcd8d7 New test cases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@329 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-28 18:04:10 +00:00
Chris Lattner
dc693b8965 Changes to make test scripts more reliable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-28 17:40:15 +00:00
Chris Lattner
e17303dc9b Add test of string constants
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-28 17:39:46 +00:00
Chris Lattner
8ce0669a56 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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-26 16:30:18 +00:00
Chris Lattner
c628b1790d New test for varargs functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-25 22:49:12 +00:00
Chris Lattner
90147816f6 New test case
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-22 05:00:34 +00:00
Vikram S. Adve
71de0cea1d Version of testmemory to test alloca, load and store.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-21 12:46:12 +00:00
Vikram S. Adve
1677d0d6f1 Used a bigger constant in loopfunc.ll that doesn't fit in immed field.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-21 12:44:24 +00:00
Chris Lattner
21341d3108 New test case for prototype support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-15 21:43:17 +00:00
Chris Lattner
9674104416 New testcase from GCC doing array operations
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-15 00:18:50 +00:00
Chris Lattner
91e1596c16 add coverage of newly implemented instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-08 23:23:30 +00:00
Chris Lattner
0908309e3c Neg instruction removed. Cast instruction implemented.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-08 04:57:15 +00:00
Chris Lattner
acd257efee Added analyze to path for SetupOpt script
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-03 15:30:10 +00:00
Chris Lattner
ad1bb04eec Add analyze tool to path for Setup script
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-03 15:29:48 +00:00
Chris Lattner
7fc9fe3439 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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96 91177308-0d34-0410-b5e6-96231b3b80d8
2001-06-27 23:41:11 +00:00
Chris Lattner
b351ab8c1b Put in test of SCCP. Watch out though, because we need to sort the
constant pool for the final check to work.  :(


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93 91177308-0d34-0410-b5e6-96231b3b80d8
2001-06-27 23:37:22 +00:00
Chris Lattner
4ea55136c1 Add a useless phi for testing with InductionVariables stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64 91177308-0d34-0410-b5e6-96231b3b80d8
2001-06-24 04:06:23 +00:00
Chris Lattner
90c8194425 Add a test case: an irreducible flow graph.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46 91177308-0d34-0410-b5e6-96231b3b80d8
2001-06-21 03:00:25 +00:00
Chris Lattner
f7d11a93cb New test case
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43 91177308-0d34-0410-b5e6-96231b3b80d8
2001-06-20 23:05:53 +00:00
Chris Lattner
bd3df527ed Add a more complex test case
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37 91177308-0d34-0410-b5e6-96231b3b80d8
2001-06-20 19:27:18 +00:00
Chris Lattner
a6b1f53451 Updates to support
* Changes in PHI node structure
* We now run DCE after inlining because it helps clean up LOTS of inlining
  gunk.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26 91177308-0d34-0410-b5e6-96231b3b80d8
2001-06-11 15:05:02 +00:00
Chris Lattner
c42266a870 inlining can change methods a second time, so don't rerun inliner when testing for
differences in optimizations


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12 91177308-0d34-0410-b5e6-96231b3b80d8
2001-06-07 17:00:00 +00:00
Chris Lattner
009505452b Initial revision
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2 91177308-0d34-0410-b5e6-96231b3b80d8
2001-06-06 20:29:01 +00:00