1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
Commit Graph

201 Commits

Author SHA1 Message Date
Chris Lattner
a5184663ef Rip out irrelevant details
llvm-svn: 1625
2002-02-01 04:44:38 +00:00
Chris Lattner
64a3411bef Add TESTRUNR var
Correctly create directory for .bc target

llvm-svn: 1623
2002-02-01 04:25:12 +00:00
Chris Lattner
ab727e1cd4 Initial checkin
llvm-svn: 1622
2002-02-01 04:24:47 +00:00
Chris Lattner
27cd22f5a9 Initial checkin of 'Other' section
llvm-svn: 1621
2002-02-01 04:24:20 +00:00
Chris Lattner
11dfee78dc Forgot to force
llvm-svn: 1598
2002-01-31 00:27:32 +00:00
Chris Lattner
8d37e02ccd Testcase broken - Entry node of method cannot have predecessors!
llvm-svn: 1597
2002-01-31 00:25:00 +00:00
Chris Lattner
eac8c36f1d 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
8b6c515583 Testcase for SymbolTable.cpp bug
llvm-svn: 1584
2002-01-25 03:58:05 +00:00
Chris Lattner
84b2d6c3c9 Check in testcase and fix
llvm-svn: 1581
2002-01-25 03:44:58 +00:00
Chris Lattner
6c2d73fc51 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
85c74cd440 Checkin testcase for bug recently fixed
llvm-svn: 1579
2002-01-24 19:50:30 +00:00
Chris Lattner
080ac9a78c Initial Checkin
llvm-svn: 1577
2002-01-23 21:56:15 +00:00
Chris Lattner
b8298b46c2 Initial checkin of now fixed bug
llvm-svn: 1575
2002-01-23 21:40:57 +00:00
Chris Lattner
de7089af1f Initial Checkin
llvm-svn: 1574
2002-01-23 21:40:31 +00:00
Chris Lattner
606fdfe109 More rules checked in
llvm-svn: 1571
2002-01-23 21:36:59 +00:00
Chris Lattner
1031805e32 Failure.sh moved up a level
llvm-svn: 1569
2002-01-23 20:39:56 +00:00
Chris Lattner
f41c2d2771 Initial checkin
llvm-svn: 1564
2002-01-23 19:42:52 +00:00
Chris Lattner
38c80eb857 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
54c2d67c3a Initial checking of Failure.sh
llvm-svn: 1562
2002-01-23 18:03:49 +00:00
Chris Lattner
b89443534f New minimal makefile
llvm-svn: 1561
2002-01-23 17:22:17 +00:00
Chris Lattner
e286e092e9 Removal of more unnecesary stuff
llvm-svn: 1557
2002-01-23 05:50:04 +00:00
Chris Lattner
3c54e3bcdc Moved to Programs/SingleSource
llvm-svn: 1544
2002-01-22 17:42:43 +00:00
Chris Lattner
4cc27cf936 Move some makefile stuff to subdirectories
llvm-svn: 1543
2002-01-22 16:56:41 +00:00
Chris Lattner
e9b1e57e98 These are unneccesary now
llvm-svn: 1535
2002-01-22 15:47:47 +00:00
Chris Lattner
8362bfcac2 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
e7b51ff43a 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
6a327ec117 Rename Makefile.target to Makefile.tests.
Make all a :: target.

llvm-svn: 1488
2001-12-15 01:04:39 +00:00
Vikram S. Adve
3e63399b59 Renaming to Makefile.tests
llvm-svn: 1487
2001-12-15 00:54:37 +00:00
Vikram S. Adve
2f88ccc297 Run testsparc, not testcodegen for testing the back end.
llvm-svn: 1482
2001-12-15 00:29:14 +00:00
Chris Lattner
b0112dd11a 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
29a25639b5 Build Programs subdirectory
llvm-svn: 1473
2001-12-14 16:43:59 +00:00
Vikram S. Adve
bd94ac530c Added TRACEM option. Use -g when building native code for tests.
llvm-svn: 1438
2001-12-12 15:19:55 +00:00
Chris Lattner
7a41b0f4b0 Use _LOCAL_ gccas to build instead of Chris's
llvm-svn: 1436
2001-12-09 16:55:43 +00:00
Chris Lattner
4c09847cc2 New testcase for globaldce
llvm-svn: 1398
2001-11-26 20:50:07 +00:00
Chris Lattner
b05afffd5b Add testcases for internal
llvm-svn: 1388
2001-11-26 19:17:06 +00:00
Chris Lattner
4a9dcadb10 Rename irreducible to cfgstructures.ll Include other interesting structures
llvm-svn: 1387
2001-11-26 19:16:37 +00:00
Chris Lattner
e71cbe1233 MAke sure diffs match
llvm-svn: 1386
2001-11-26 19:15:25 +00:00
Chris Lattner
0e61e3ded6 Test array indexing
llvm-svn: 1349
2001-11-26 17:02:56 +00:00
Chris Lattner
42ca69b918 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
26fd330950 Overwrite files when linked
Remove native files when cleaned

llvm-svn: 1289
2001-11-13 05:44:27 +00:00
Vikram S. Adve
a503b77130 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
c47553b77d Use cc instead of gcc to compile *.native
llvm-svn: 1250
2001-11-10 14:23:54 +00:00
Chris Lattner
485b4f452a Testcase for structure field reordering
llvm-svn: 1247
2001-11-10 07:26:59 +00:00
Vikram S. Adve
23c29608c8 Added function LL__main.
llvm-svn: 1230
2001-11-09 02:21:38 +00:00
Vikram S. Adve
588c8a623a 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
6894dc91f5 Took out .clean.bc target.
llvm-svn: 1210
2001-11-08 18:25:05 +00:00
Vikram S. Adve
1403a726ac Run cleaning pass only when linking multiple files.
llvm-svn: 1209
2001-11-08 18:14:20 +00:00
Vikram S. Adve
4a979f9321 Add cleaning pass after linking.
llvm-svn: 1208
2001-11-08 18:13:17 +00:00
Vikram S. Adve
2d86468029 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
9d78f2d0e6 Add rule for %.clean.bc.
llvm-svn: 1204
2001-11-08 05:28:08 +00:00
Vikram S. Adve
dc8f8a1ed4 Roll back all these changes that have broken Makefile.target again.
llvm-svn: 1172
2001-11-07 12:29:40 +00:00
Chris Lattner
6dde80a780 Minor fixes
llvm-svn: 1164
2001-11-06 22:53:17 +00:00
Chris Lattner
afabe43593 Build .bc from .c better.
llvm-svn: 1158
2001-11-06 20:44:15 +00:00
Chris Lattner
d37c4db956 Don't forget to make the clean version.
llvm-svn: 1157
2001-11-06 20:23:50 +00:00
Vikram S. Adve
8cb25d11ea 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
ee82b1c32e 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
7df494872d Reorder paramters to make the command line more easily modifiable
llvm-svn: 1153
2001-11-06 08:34:56 +00:00
Chris Lattner
7ff2f7c96a Fix makefile to compile olden and main benchmarks
llvm-svn: 1142
2001-11-05 19:43:24 +00:00
Chris Lattner
138f1e2a4b Make the olden benchmarks compile again
llvm-svn: 1139
2001-11-05 18:25:37 +00:00
Vikram S. Adve
4bb90e1954 Put it back!
llvm-svn: 1136
2001-11-05 00:48:27 +00:00
Vikram S. Adve
f7cfaece3b Removed by mistake; will add it back immediately.
llvm-svn: 1135
2001-11-05 00:48:05 +00:00
Vikram S. Adve
d92f682f4c 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
6815cd9490 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
518ff05cee Replaced another HERE.
llvm-svn: 1132
2001-11-05 00:22:16 +00:00
Vikram S. Adve
93451dde57 Put common rules for compiling programs into Makefile.target.
llvm-svn: 1130
2001-11-05 00:18:30 +00:00
Chris Lattner
7efe08fc03 Start testing the new cleangcc pass
llvm-svn: 1067
2001-10-31 06:36:34 +00:00
Chris Lattner
21b62e11c8 Initial checkin of heapsort benchmark
llvm-svn: 1057
2001-10-31 02:28:25 +00:00
Chris Lattner
66a557994b Initial checkin of ary3 "benchmark" from prog lang shootout
llvm-svn: 1051
2001-10-30 22:17:57 +00:00
Chris Lattner
a688ec5b15 Add testcase for missed SCCP optimization
llvm-svn: 1040
2001-10-30 03:22:59 +00:00
Chris Lattner
ad4eb90651 Test bitwise operations
llvm-svn: 1025
2001-10-29 13:56:42 +00:00
Vikram S. Adve
0f4d41632f Added printPointer.
llvm-svn: 1001
2001-10-28 21:34:59 +00:00
Vikram S. Adve
854917adfa Runtime routines implementing print<TYPE> for all basic types.
llvm-svn: 1000
2001-10-28 21:31:33 +00:00
Vikram S. Adve
aff56bc163 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
984d6d10ea 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
493f65bc17 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
ea86d4fe08 *** empty log message ***
llvm-svn: 913
2001-10-18 22:47:50 +00:00
Chris Lattner
753ee3cf91 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
d7b0ec49a2 Fix null termination issue
llvm-svn: 907
2001-10-18 21:54:42 +00:00
Chris Lattner
8e4c716d8a Add new testcase from C source
llvm-svn: 906
2001-10-18 21:50:39 +00:00
Vikram S. Adve
91375f630e Reverse previous change.
llvm-svn: 867
2001-10-18 00:23:32 +00:00
Vikram S. Adve
83de705ef7 Generate assembly code for testcodegen.
llvm-svn: 866
2001-10-18 00:22:14 +00:00
Vikram S. Adve
4e61ad56e4 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
3bc02a2111 Disable codgen test for calltest.ll.
llvm-svn: 855
2001-10-17 20:14:34 +00:00
Chris Lattner
ddb08e826c Add rule to build executables
llvm-svn: 846
2001-10-15 20:08:19 +00:00
Chris Lattner
abff6800b6 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
706fdea521 Compile with v9 extensions
llvm-svn: 839
2001-10-15 17:55:35 +00:00
Chris Lattner
16ffc9987c Add some more interesting test cases for the linker
llvm-svn: 816
2001-10-15 03:11:58 +00:00
Chris Lattner
fcc8c249da More interesting testcase
llvm-svn: 809
2001-10-14 23:28:56 +00:00
Vikram S. Adve
167f77cf9e Enable most tests.
llvm-svn: 797
2001-10-14 23:15:42 +00:00
Vikram S. Adve
c3cdcdcb43 Added a string global variable.
llvm-svn: 796
2001-10-14 23:13:45 +00:00
Chris Lattner
0f05f26ebe Add C source for testmisc.ll
llvm-svn: 786
2001-10-13 07:32:16 +00:00
Chris Lattner
37f333c513 New testcase for testing constant pointers to globals
llvm-svn: 784
2001-10-13 07:16:11 +00:00
Chris Lattner
9e3b13cc29 Test files for linker
llvm-svn: 783
2001-10-13 07:15:38 +00:00
Chris Lattner
d4651b7cbf Use null keyword instead of kludge
llvm-svn: 778
2001-10-13 07:05:51 +00:00
Chris Lattner
bcd3ec56b0 Add more function call and prototype specific tests
llvm-svn: 777
2001-10-13 07:05:07 +00:00
Vikram S. Adve
8d89c1d8d6 Delete *.s on clean.
llvm-svn: 726
2001-10-11 04:24:10 +00:00
Vikram S. Adve
afd9787ce8 Moved first function to "simpleadd.ll".
llvm-svn: 716
2001-10-10 20:12:15 +00:00
Vikram S. Adve
cc952e1d5c testmemory and sumarray now work with instruction selection.
llvm-svn: 715
2001-10-10 20:10:48 +00:00
Chris Lattner
5c929fedef Fix broken testcase
llvm-svn: 705
2001-10-03 14:59:11 +00:00
Chris Lattner
fee01c0591 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