oota-llvm.git
20 years agoAdd some "useful" methods
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

20 years agoAdd an option to enable the SSA based peephole optimizer.
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

20 years agoAdd a new SSA-based peephole optimizer which includes copy propagation and
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

20 years agogeneralize the instruction types permitted a bit
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

20 years agofix broken link
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

20 years agoPrint instructions before register allocation is performed. Also fix
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

20 years agoadd missing dependency
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

20 years agoFinegrainify namespacification
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

20 years agoA line was missing
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

20 years agoRemove "numReloaded" statistic.
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

20 years agoEmit constants to one contiguous block, but this time, respect alignment constraints.
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

20 years agoGo back to allocating memory for each constant separately. Since SPARCs do not
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

20 years agobe 3.4 happy
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

20 years agobe GCC 3.4 clean
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

20 years agoHrm, how could this compile?
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

20 years agoFix compatibility with gcc 3.4
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

20 years agoBuild _lib_crtend.a, not crtend.a
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

20 years agoDon't print out tons of crap
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

20 years agoRewrite makefile logic to build an archive instead of a .o file. This is
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

20 years agoSimplify some rules
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

20 years agoMove rule to top-level makefile
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

20 years agoAdd readme and spiff up makefile header
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

20 years agoTestcase for duplicated cleanup work (PR11). Note that this testcase is not actually
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

20 years agoFix test: Transforms/LevelRaise/2003-11-28-IllegalTypeConversion.ll
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

20 years agonew testcase for problem causing 2003-10-12-GlobalVarInitializers failures
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

20 years agoThe function resolving pass must be run, even if -disable-opt is specified
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

20 years ago* The return value of LinkLibraries is ignored, so remove it.
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

20 years agofix gcc 3.4 compatibility problem
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

20 years agoTestcase for PR160
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

20 years agoNew testcase for PR158
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

20 years agoFix grammaro
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

20 years agotestcase for PR159
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

20 years agoPR11 is now fixed for 1.1!
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

20 years agoPR11 is now fixed for 1.1
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

20 years ago* Squelch warning on Sun
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

20 years agoMakefiles are now copies over to the object root directory dynamically.
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

20 years agoRenamed intermediate values that used the same type and name as previous
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

20 years agoBugz die!
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

20 years agoTestcase for PR157
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

20 years agoTo not barf when an error occurs.
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

20 years agoBoogs
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

20 years agoMore dead boogers
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

20 years agooutput foo(void) as appropriate
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

20 years agoFix bug in previous checkin
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

20 years agoFixed a small grammatical error.
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

20 years agoFix const correctness
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

20 years agoRelax constrains on GEP type indexes
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

20 years agoIt is legal to index into sequential types with any integer
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

20 years agoDo not use index type to determine what it is indexing into!
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

20 years agoDo not depend on the gep index types to determine what flavor of index it is
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

20 years agoDo not depend on structure elements being of type UByteTy
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

20 years agoAdjusted the projects Makefile so that it picks up the name of projects
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

20 years agoConfigure all project directories contained in llvm/projects.
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

20 years agoDo not depend on index type to determine whether it is a structure or sequential...
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

20 years agoWork with gepi's and constant exprs. Also, add versions of iterator ctors that take...
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

20 years agoFix file header
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

20 years agoRemove dead variable
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

20 years agoUse gep_type_begin/end instead of looking for ubytes
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

20 years agoConfigure script for ModuleMaker.
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

20 years agoAuto-confed ModuleMaker.
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

20 years agoAuto-conf'ed the ModuleMaker code.
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

20 years agoRename class to be consistent with other iterator classes
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

20 years agoInitial checkin of gep_type_begin/end which will be used to address PR82
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

20 years agoAll directory targets now install the Makefile only if it is missing.
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

20 years agoFinegrainify namespacification
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

20 years agoAdded a pseudo-hack: The Makefile now copies Makefiles from source tree to
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

20 years agoboog
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

20 years agotestcase for PR 148
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

20 years agoTestcase for PR147
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

20 years agoFix PR147
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

20 years agoadd link to the stacker dox
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

20 years agoMinor fixes
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

20 years agoApply docs patch fro Reid
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

20 years agocheckin reid's docpatch
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

20 years agoModified directory building rules so that using the cd program/alias is
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

20 years agoApply doc patch from PR136.
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

20 years agoFix copy-pasto.
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

20 years agoI'm gonna be picky and say we don't really need that trailing slash "lib/"
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

20 years agoMake sure we ONLY add a `-load' switch to the JIT command line if the file is
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

20 years agoExpose functionality to query if a file is an ELF shared object.
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

20 years agoAdd ability to query if a file is a legitimate ELF shared object.
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

20 years agoApply patches from PR136
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

20 years agoRegenerated using autoconf-2.57
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

20 years agoAdd Stacker directories.
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

20 years agoAdd documentation for Stacker.
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

21 years agoAdd a script I missed
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

21 years agoCheckin tests
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

21 years agoDisable test.
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

21 years agoFix these assertions:
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

21 years agoCheckin the stacker compiler
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

21 years agoFix file header
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

21 years agoInitial checkin
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

21 years agoInitial checkin of stacker samples
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

21 years agoAdjust file header
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

21 years agoInitial checkin of stacker runtime
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

21 years agoInitial stacker checkin
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

21 years agoUpdate file header
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

21 years agoinitial checkin of stacker makefile
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

21 years agoDo not DESTROY programs by default. No wonder bugpoint was not being useful all...
Chris Lattner [Sun, 23 Nov 2003 04:51:05 +0000 (04:51 +0000)]
Do not DESTROY programs by default.  No wonder bugpoint was not being useful all this time!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10175 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoA better way to get std::pair into the compiler's little, walnut-sized brain.
Brian Gaeke [Sun, 23 Nov 2003 03:50:31 +0000 (03:50 +0000)]
A better way to get std::pair into the compiler's little, walnut-sized brain.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10174 91177308-0d34-0410-b5e6-96231b3b80d8