Commit Graph

1608 Commits

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