Chris Lattner [Mon, 1 Dec 2003 05:40:37 +0000 (05:40 +0000)]
Remove unused enum value
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10279
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Mon, 1 Dec 2003 05:31:12 +0000 (05:31 +0000)]
This may fix the "0 dirs" stuff we get in the nightly tests when they are
checking out over remote cvs connections.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10278
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 1 Dec 2003 05:30:29 +0000 (05:30 +0000)]
Add some "useful" methods
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10277
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 1 Dec 2003 05:18:30 +0000 (05:18 +0000)]
Add an option to enable the SSA based peephole optimizer.
Eventually this pass will provide substantially better code in the interim between when we
have a crappy isel and nice isel. Unfortunately doing so requires fixing the backend to
actually SUPPORT all of the fancy addressing modes that we now generate, and writing a DCE
pass for machine code. Each of these is a fairly substantial job, so this will remain disabled
for the immediate future. :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10276
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 1 Dec 2003 05:15:28 +0000 (05:15 +0000)]
Add a new SSA-based peephole optimizer which includes copy propagation and
folding of instructions into addressing modes. This creates lots of dead
instructions, which are currently not deleted. It also creates a lot of
instructions that the X86 backend currently cannot handle. :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10275
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 1 Dec 2003 05:13:56 +0000 (05:13 +0000)]
generalize the instruction types permitted a bit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10274
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 1 Dec 2003 05:12:09 +0000 (05:12 +0000)]
fix broken link
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10273
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Sun, 30 Nov 2003 23:40:39 +0000 (23:40 +0000)]
Print instructions before register allocation is performed. Also fix
bug where spill instructions were added to the next basic block
instead of the end of the current one if the instruction that required
the spill was the last in the block.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10272
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 30 Nov 2003 09:22:42 +0000 (09:22 +0000)]
add missing dependency
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10271
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 30 Nov 2003 06:13:25 +0000 (06:13 +0000)]
Finegrainify namespacification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10270
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 30 Nov 2003 05:46:14 +0000 (05:46 +0000)]
A line was missing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10269
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Sun, 30 Nov 2003 05:15:36 +0000 (05:15 +0000)]
Remove "numReloaded" statistic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10268
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 30 Nov 2003 04:23:21 +0000 (04:23 +0000)]
Emit constants to one contiguous block, but this time, respect alignment constraints.
If this doesn't work Misha, feel free to revert it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10267
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Sun, 30 Nov 2003 00:50:53 +0000 (00:50 +0000)]
Go back to allocating memory for each constant separately. Since SPARCs do not
allow unaligned loads, that is probably the problem I've been seeing in numerous
SPARC test cases failing. X86, on the other hand, just slows down unaligned
accesses, since it must make 2 aligned accesses for each unaligned one.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10266
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 29 Nov 2003 20:04:13 +0000 (20:04 +0000)]
be 3.4 happy
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10265
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 29 Nov 2003 19:55:12 +0000 (19:55 +0000)]
be GCC 3.4 clean
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10264
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 29 Nov 2003 19:55:02 +0000 (19:55 +0000)]
Hrm, how could this compile?
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10263
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 29 Nov 2003 19:45:47 +0000 (19:45 +0000)]
Fix compatibility with gcc 3.4
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10262
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 29 Nov 2003 10:24:57 +0000 (10:24 +0000)]
Build _lib_crtend.a, not crtend.a
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10260
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 29 Nov 2003 10:14:17 +0000 (10:14 +0000)]
Don't print out tons of crap
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10259
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 29 Nov 2003 10:05:30 +0000 (10:05 +0000)]
Rewrite makefile logic to build an archive instead of a .o file. This is
intended to address PR142
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10257
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 29 Nov 2003 09:50:15 +0000 (09:50 +0000)]
Simplify some rules
Move LGCCLDPROG from test/Makefile.tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10256
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 29 Nov 2003 09:49:14 +0000 (09:49 +0000)]
Move rule to top-level makefile
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10255
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 29 Nov 2003 09:22:53 +0000 (09:22 +0000)]
Add readme and spiff up makefile header
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10254
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 29 Nov 2003 09:10:50 +0000 (09:10 +0000)]
Testcase for duplicated cleanup work (PR11). Note that this testcase is not actually
tested automatically, so it is practically useless. However, it seemed silly to throw
away my testcase, so here it is.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10253
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 29 Nov 2003 05:31:25 +0000 (05:31 +0000)]
Fix test: Transforms/LevelRaise/2003-11-28-IllegalTypeConversion.ll
Some gep generalization changes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10252
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 29 Nov 2003 05:19:15 +0000 (05:19 +0000)]
new testcase for problem causing 2003-10-12-GlobalVarInitializers failures
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10251
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 Nov 2003 09:44:03 +0000 (09:44 +0000)]
The function resolving pass must be run, even if -disable-opt is specified
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10250
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 Nov 2003 07:44:09 +0000 (07:44 +0000)]
* The return value of LinkLibraries is ignored, so remove it.
* Finegrainify namespacification of Linker.cpp
* If linking a library in fails, do not STOP LINKING IN LIBRARIES AND
CONTINUE ANYWAY! Instead, just output the warning, and keep going. :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10249
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 Nov 2003 01:46:06 +0000 (01:46 +0000)]
fix gcc 3.4 compatibility problem
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10248
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 Nov 2003 01:32:03 +0000 (01:32 +0000)]
Testcase for PR160
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10247
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 27 Nov 2003 21:25:07 +0000 (21:25 +0000)]
New testcase for PR158
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10246
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 27 Nov 2003 21:17:48 +0000 (21:17 +0000)]
Fix grammaro
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10245
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 27 Nov 2003 20:47:16 +0000 (20:47 +0000)]
testcase for PR159
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10244
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 27 Nov 2003 09:52:03 +0000 (09:52 +0000)]
PR11 is now fixed for 1.1!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10243
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 27 Nov 2003 09:51:54 +0000 (09:51 +0000)]
PR11 is now fixed for 1.1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10242
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 27 Nov 2003 07:48:45 +0000 (07:48 +0000)]
* Squelch warning on Sun
* stdlib and friends are system headers
* 'long long' is the type that consistently turns into the LLVM 'long' type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10241
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Wed, 26 Nov 2003 20:09:49 +0000 (20:09 +0000)]
Makefiles are now copies over to the object root directory dynamically.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10240
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Wed, 26 Nov 2003 14:45:37 +0000 (14:45 +0000)]
Renamed intermediate values that used the same type and name as previous
values. All of these files should assemble now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10239
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 26 Nov 2003 08:20:34 +0000 (08:20 +0000)]
Bugz die!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10238
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 26 Nov 2003 07:35:52 +0000 (07:35 +0000)]
Testcase for PR157
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10237
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 26 Nov 2003 07:24:58 +0000 (07:24 +0000)]
To not barf when an error occurs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10236
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 26 Nov 2003 02:48:00 +0000 (02:48 +0000)]
Boogs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10235
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 26 Nov 2003 01:18:49 +0000 (01:18 +0000)]
More dead boogers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10233
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 26 Nov 2003 00:09:17 +0000 (00:09 +0000)]
output foo(void) as appropriate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10232
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Nov 2003 23:44:40 +0000 (23:44 +0000)]
Fix bug in previous checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10231
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Tue, 25 Nov 2003 21:45:46 +0000 (21:45 +0000)]
Fixed a small grammatical error.
Explained that function return types cannot be aggregate types.
Explained that functions with the same name but different type signatures
are considered to be different functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10230
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Nov 2003 21:28:00 +0000 (21:28 +0000)]
Fix const correctness
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10229
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Nov 2003 21:21:46 +0000 (21:21 +0000)]
Relax constrains on GEP type indexes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10228
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Nov 2003 21:20:19 +0000 (21:20 +0000)]
It is legal to index into sequential types with any integer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10227
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Nov 2003 21:09:18 +0000 (21:09 +0000)]
Do not use index type to determine what it is indexing into!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10226
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Nov 2003 20:49:55 +0000 (20:49 +0000)]
Do not depend on the gep index types to determine what flavor of index it is
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10225
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Nov 2003 20:44:56 +0000 (20:44 +0000)]
Do not depend on structure elements being of type UByteTy
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10224
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Tue, 25 Nov 2003 20:37:45 +0000 (20:37 +0000)]
Adjusted the projects Makefile so that it picks up the name of projects
by scanning the source tree (not the object tree).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10223
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Tue, 25 Nov 2003 20:36:46 +0000 (20:36 +0000)]
Configure all project directories contained in llvm/projects.
The autoconf program will generate a warning about how we should use a
literal in AC_CONFIG_SUBDIRS. This warning can be ignored.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10222
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Nov 2003 20:19:55 +0000 (20:19 +0000)]
Do not depend on index type to determine whether it is a structure or sequential index
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10221
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Nov 2003 20:17:49 +0000 (20:17 +0000)]
Work with gepi's and constant exprs. Also, add versions of iterator ctors that take references
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10220
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Nov 2003 20:11:47 +0000 (20:11 +0000)]
Fix file header
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10219
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Nov 2003 20:11:00 +0000 (20:11 +0000)]
Remove dead variable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10218
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Nov 2003 20:10:07 +0000 (20:10 +0000)]
Use gep_type_begin/end instead of looking for ubytes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10217
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Tue, 25 Nov 2003 20:02:07 +0000 (20:02 +0000)]
Configure script for ModuleMaker.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10216
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Tue, 25 Nov 2003 19:59:59 +0000 (19:59 +0000)]
Auto-confed ModuleMaker.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10215
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Tue, 25 Nov 2003 19:59:21 +0000 (19:59 +0000)]
Auto-conf'ed the ModuleMaker code.
Moved Makefile.common to Makefile.common.in.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10214
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Nov 2003 19:58:35 +0000 (19:58 +0000)]
Rename class to be consistent with other iterator classes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10213
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Nov 2003 19:37:28 +0000 (19:37 +0000)]
Initial checkin of gep_type_begin/end which will be used to address PR82
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10212
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Tue, 25 Nov 2003 19:32:22 +0000 (19:32 +0000)]
All directory targets now install the Makefile only if it is missing.
Directory targets no longer check for existance of the directory in the
object tree; if the Makefile doesn't exist, we will re-create the directory.
This seems to be a pretty good assumption and saves us from checking
directory existance each time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10211
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Nov 2003 18:33:40 +0000 (18:33 +0000)]
Finegrainify namespacification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10210
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Tue, 25 Nov 2003 17:49:22 +0000 (17:49 +0000)]
Added a pseudo-hack: The Makefile now copies Makefiles from source tree to
object tree if it is missing. This means that new Makefiles should get
picked up automagically, requiring less bothersome re-configuring after
updates.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10209
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Nov 2003 08:49:12 +0000 (08:49 +0000)]
boog
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10207
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Nov 2003 08:45:38 +0000 (08:45 +0000)]
testcase for PR 148
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10206
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Nov 2003 03:58:49 +0000 (03:58 +0000)]
Testcase for PR147
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10205
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Nov 2003 03:54:16 +0000 (03:54 +0000)]
Fix PR147
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10204
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Nov 2003 03:32:57 +0000 (03:32 +0000)]
add link to the stacker dox
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10203
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Nov 2003 01:44:27 +0000 (01:44 +0000)]
Minor fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10202
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Nov 2003 01:35:06 +0000 (01:35 +0000)]
Apply docs patch fro Reid
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10201
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Nov 2003 01:02:51 +0000 (01:02 +0000)]
checkin reid's docpatch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10200
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Mon, 24 Nov 2003 18:31:01 +0000 (18:31 +0000)]
Modified directory building rules so that using the cd program/alias is
not necessary.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10199
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Mon, 24 Nov 2003 17:03:38 +0000 (17:03 +0000)]
Apply doc patch from PR136.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10198
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Mon, 24 Nov 2003 05:36:38 +0000 (05:36 +0000)]
Fix copy-pasto.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10197
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Mon, 24 Nov 2003 05:31:57 +0000 (05:31 +0000)]
I'm gonna be picky and say we don't really need that trailing slash "lib/"
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10196
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Mon, 24 Nov 2003 05:29:42 +0000 (05:29 +0000)]
Make sure we ONLY add a `-load' switch to the JIT command line if the file is
verified as having an ELF header. This fixes PR151.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10195
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Mon, 24 Nov 2003 05:28:39 +0000 (05:28 +0000)]
Expose functionality to query if a file is an ELF shared object.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10194
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Mon, 24 Nov 2003 05:28:12 +0000 (05:28 +0000)]
Add ability to query if a file is a legitimate ELF shared object.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10193
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Mon, 24 Nov 2003 02:57:25 +0000 (02:57 +0000)]
Apply patches from PR136
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10192
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Mon, 24 Nov 2003 02:54:57 +0000 (02:54 +0000)]
Regenerated using autoconf-2.57
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10191
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Mon, 24 Nov 2003 02:54:17 +0000 (02:54 +0000)]
Add Stacker directories.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10190
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Mon, 24 Nov 2003 02:52:51 +0000 (02:52 +0000)]
Add documentation for Stacker.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10189
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 Nov 2003 18:12:51 +0000 (18:12 +0000)]
Add a script I missed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10188
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 Nov 2003 18:12:22 +0000 (18:12 +0000)]
Checkin tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10187
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 Nov 2003 18:10:25 +0000 (18:10 +0000)]
Disable test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10186
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 Nov 2003 18:06:37 +0000 (18:06 +0000)]
Fix these assertions:
stkrc -e -f -o testing.bc testing.st
Global is external, but doesn't have external linkage!
[1024 x int]* %_stack_
Global is external, but doesn't have external linkage!
long* %_index_
Broken module found, compilation aborted!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10185
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 Nov 2003 18:01:26 +0000 (18:01 +0000)]
Checkin the stacker compiler
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10184
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 Nov 2003 17:59:43 +0000 (17:59 +0000)]
Fix file header
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10183
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 Nov 2003 17:58:46 +0000 (17:58 +0000)]
Initial checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10182
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 Nov 2003 17:55:19 +0000 (17:55 +0000)]
Initial checkin of stacker samples
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10181
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 Nov 2003 17:54:18 +0000 (17:54 +0000)]
Adjust file header
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10180
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 Nov 2003 17:53:46 +0000 (17:53 +0000)]
Initial checkin of stacker runtime
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10179
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 Nov 2003 17:52:55 +0000 (17:52 +0000)]
Initial stacker checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10178
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 Nov 2003 17:51:56 +0000 (17:51 +0000)]
Update file header
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10177
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 23 Nov 2003 17:51:37 +0000 (17:51 +0000)]
initial checkin of stacker makefile
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10176
91177308-0d34-0410-b5e6-
96231b3b80d8