Reid Spencer
a8ae492281
* Undo previous commit that breaks the test.
...
* Correct the test to work when srcdir == objdir.
NOTE: Since multiple tests run from the same source archive and llvm-ranlib
changes the archive, these tests MUST work on a copy of the archive or else
this test corrupts the archive file subsequent tests or subsequent runs of
the test suite.
llvm-svn: 18093
2004-11-21 21:22:56 +00:00
Reid Spencer
fb782d6e0a
First version of manual page for llvm-ld.
...
llvm-svn: 18092
2004-11-21 18:20:16 +00:00
John Criswell
4cb89f9420
Fixed another typo.
...
llvm-svn: 18091
2004-11-21 15:11:37 +00:00
John Criswell
a1b9970166
Corrected spelling mistakes.
...
llvm-svn: 18090
2004-11-21 14:58:12 +00:00
John Criswell
45001afef1
It looks like I'm fixing a spelling mistake, but I'm really trying to
...
replicate the CVS performance problems that Reid is seeing.
llvm-svn: 18089
2004-11-21 14:34:34 +00:00
Brian Gaeke
52bb1a0073
Implement setcc on longs.
...
llvm-svn: 18088
2004-11-21 08:11:28 +00:00
Brian Gaeke
3904c8ffec
Add all the rest of the ADD and SUB variants, some of which are important for
...
64-bit support.
llvm-svn: 18087
2004-11-21 07:13:17 +00:00
Brian Gaeke
cb0a971f8f
Support add, sub, mul, div, rem on longs/ulongs (latter 3 by emitting libcalls).
...
Add a big comment containing my notes on how to do setcc for longs/ulongs.
llvm-svn: 18086
2004-11-21 07:13:16 +00:00
Brian Gaeke
3b6aeefea6
Update to-do list.
...
llvm-svn: 18085
2004-11-21 07:13:15 +00:00
Nate Begeman
7ec36ad70f
Fix Shootout-C++/wc, which was broken by my recent changes to emit fewer
...
reg-reg copies. The necessary conditions for this bug are a GEP that is
used outside the basic block in which it is defined, whose components
other than the pointer are all constant zero, and where the use is
selected before the definition (backwards branch to successsor block).
llvm-svn: 18084
2004-11-21 05:14:06 +00:00
Chris Lattner
ed19f4fe7d
Fix a warning
...
llvm-svn: 18083
2004-11-21 04:42:32 +00:00
Chris Lattner
f4c8575535
There is no reason to emit function stubs for direct calls.
...
llvm-svn: 18082
2004-11-21 03:46:06 +00:00
Chris Lattner
596d18c8dd
Clean up DEBUG output
...
llvm-svn: 18081
2004-11-21 03:44:32 +00:00
Chris Lattner
ce43d636fe
Allow targets to avoid emitting a stub for EVERY lazily resolved call. In
...
most cases (e.g. direct calls) no stub is needed.
llvm-svn: 18080
2004-11-21 03:37:42 +00:00
Brian Gaeke
e07eb993d6
Fix extraStack calculation -- I think in fact it might be getting a bit *too*
...
much stack, but that's better than not enough, which leads to miscompilations.
Fix FP vaarg.
llvm-svn: 18079
2004-11-21 03:35:22 +00:00
Brian Gaeke
75580d2a09
Update list of failing benchmarks & to-do list.
...
llvm-svn: 18078
2004-11-21 03:35:21 +00:00
Chris Lattner
3765dc4ebd
Add another bit, to make the JIT a bit more efficient.
...
llvm-svn: 18077
2004-11-21 03:27:13 +00:00
Reid Spencer
a079db1911
Test archive built with GNU ar(1).
...
llvm-svn: 18076
2004-11-21 01:36:59 +00:00
Tanya Lattner
3781e5d5e0
Made dejagnu option lower case.
...
llvm-svn: 18075
2004-11-21 00:10:12 +00:00
Tanya Lattner
9ee9ff4ea2
Added the ability to run Dejagnu tests.
...
llvm-svn: 18074
2004-11-21 00:02:40 +00:00
Chris Lattner
6d1fb33657
ignore generated files
...
llvm-svn: 18073
2004-11-21 00:01:54 +00:00
Chris Lattner
3e3645938e
ignore generated files.
...
llvm-svn: 18072
2004-11-21 00:00:54 +00:00
Chris Lattner
32fb560b34
Ignore generated files
...
llvm-svn: 18071
2004-11-21 00:00:04 +00:00
Chris Lattner
34db55fe83
Ignore files
...
llvm-svn: 18070
2004-11-20 23:58:43 +00:00
Chris Lattner
d8c2739b24
Implement relocation support by adding a target independent resolver interface.
...
llvm-svn: 18069
2004-11-20 23:57:07 +00:00
Chris Lattner
4a340e281e
Remove all JIT specific code and switch the code generator over to emitting
...
relocations for global references.
llvm-svn: 18068
2004-11-20 23:55:15 +00:00
Chris Lattner
b9a44893e9
Implement the X86 JIT interfaces
...
llvm-svn: 18067
2004-11-20 23:54:33 +00:00
Chris Lattner
8e33311566
Describe the X86 target-specific relocations.
...
llvm-svn: 18066
2004-11-20 23:54:19 +00:00
Chris Lattner
3c20464ad7
We implement these interfaces
...
llvm-svn: 18065
2004-11-20 23:53:56 +00:00
Chris Lattner
37fc0d8b95
Adjust to changed interfaces
...
llvm-svn: 18064
2004-11-20 23:53:26 +00:00
Chris Lattner
53ea58d4c1
Change this interface a bit
...
llvm-svn: 18063
2004-11-20 23:52:43 +00:00
Tanya Lattner
8300ab6f15
Adding missing dg file.
...
llvm-svn: 18062
2004-11-20 23:51:38 +00:00
Chris Lattner
c6c7f2ac58
This method does not exist any longer.
...
llvm-svn: 18061
2004-11-20 23:51:03 +00:00
Chris Lattner
ebb79ba538
Add new methods that a target should implement
...
llvm-svn: 18060
2004-11-20 23:50:02 +00:00
Tanya Lattner
0b0300cb5d
Removing unnecessary copies. Use %p to reference them.
...
llvm-svn: 18059
2004-11-20 23:47:23 +00:00
Chris Lattner
62d04b04f0
Add missing #include
...
llvm-svn: 18058
2004-11-20 23:40:54 +00:00
Tanya Lattner
a2cf139875
Fixed assertion from triggering. We need to check if the commandline map is empty before checking if an arg exists.
...
llvm-svn: 18057
2004-11-20 23:35:20 +00:00
Reid Spencer
de847ecdaa
Cast the void* handle data member to HMODULE* to keep the VC++ compiler
...
happy. Thanks to Henrik Bach for pointing this out.
llvm-svn: 18056
2004-11-20 23:30:55 +00:00
Brian Gaeke
1805f32d5f
Support most cases of vaarg (except double).
...
llvm-svn: 18055
2004-11-20 22:50:42 +00:00
Brian Gaeke
e989dc883f
Update failing test cases & to-do list.
...
llvm-svn: 18054
2004-11-20 22:50:41 +00:00
Reid Spencer
c0225c7802
Use llvmc to compile test cases
...
llvm-svn: 18053
2004-11-20 21:03:34 +00:00
Reid Spencer
b4f1b1d3cb
Get the -o option right
...
llvm-svn: 18052
2004-11-20 20:45:33 +00:00
Reid Spencer
4544b56ca2
Get the -o option right
...
llvm-svn: 18051
2004-11-20 20:39:33 +00:00
Reid Spencer
740228a8c6
Not needed any more.
...
llvm-svn: 18050
2004-11-20 20:27:20 +00:00
Reid Spencer
b8b0c37d7f
Content moved to llvm-ld.cpp
...
llvm-svn: 18049
2004-11-20 20:15:08 +00:00
Reid Spencer
bd8d71cdcd
Incorporate GenerateCode.cpp. Make static things static.
...
llvm-svn: 18048
2004-11-20 20:02:56 +00:00
Reid Spencer
00a474017b
First cut at implementing generic link-time Optimization
...
llvm-svn: 18047
2004-11-20 19:43:28 +00:00
Reid Spencer
d6c3dcc8dc
The Archive class now has differentiation for BSD4.4 and SVR4 style archive
...
symbol tables. Adjust our usage to compensate.
llvm-svn: 18046
2004-11-20 18:01:22 +00:00
Reid Spencer
c321f216dc
Test floating point constants
...
llvm-svn: 18045
2004-11-20 07:29:51 +00:00
Reid Spencer
f381e95cc6
Distinguish between BSD4.4 and SVR4 symbol tables
...
llvm-svn: 18044
2004-11-20 07:29:40 +00:00