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

113 Commits

Author SHA1 Message Date
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