oota-llvm.git
18 years agoAdded new license information in preparation for LLVM 1.0.
John Criswell [Thu, 23 Oct 2003 15:57:59 +0000 (15:57 +0000)]
Added new license information in preparation for LLVM 1.0.

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

18 years agofix test
Chris Lattner [Thu, 23 Oct 2003 15:57:45 +0000 (15:57 +0000)]
fix test

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

18 years agoFix test
Chris Lattner [Thu, 23 Oct 2003 15:51:55 +0000 (15:51 +0000)]
Fix test

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

18 years agoFix buggy test
Chris Lattner [Thu, 23 Oct 2003 15:46:42 +0000 (15:46 +0000)]
Fix buggy test

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

18 years agoFix an assertion failure in Bugpoint
Chris Lattner [Thu, 23 Oct 2003 15:42:55 +0000 (15:42 +0000)]
Fix an assertion failure in Bugpoint

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

18 years agoDo not report errors if QMTest returns a non-zero value.
John Criswell [Thu, 23 Oct 2003 14:11:53 +0000 (14:11 +0000)]
Do not report errors if QMTest returns a non-zero value.

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

18 years agoFix bug: instcombine/2003-10-23-InstcombineNullFail.ll
Chris Lattner [Thu, 23 Oct 2003 05:21:48 +0000 (05:21 +0000)]
Fix bug: instcombine/2003-10-23-InstcombineNullFail.ll

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

18 years agoA new testcase for an instcombine miscompilation!
Chris Lattner [Thu, 23 Oct 2003 05:10:53 +0000 (05:10 +0000)]
A new testcase for an instcombine miscompilation!

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

18 years agoFix apparent typo in head-of-file comment.
Brian Gaeke [Thu, 23 Oct 2003 04:01:49 +0000 (04:01 +0000)]
Fix apparent typo in head-of-file comment.

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

18 years agoMinor edits
Chris Lattner [Thu, 23 Oct 2003 03:55:23 +0000 (03:55 +0000)]
Minor edits

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

18 years agoMake this pass substantially stronger by having it delete dead return values
Chris Lattner [Thu, 23 Oct 2003 03:48:17 +0000 (03:48 +0000)]
Make this pass substantially stronger by having it delete dead return values
as well as arguments.  Now it can delete arguments and return values which are
only passed into other arguments or are returned, if they are dead.  This causes
it to delete several hundred extra args/retvals from the C++ hello world program,
shrinking it by about 2K.

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

18 years agoTo say this file is obsolete to understate the obvious
Chris Lattner [Thu, 23 Oct 2003 03:30:55 +0000 (03:30 +0000)]
To say this file is obsolete to understate the obvious

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

18 years agoReally close the <li> tags.
Misha Brukman [Thu, 23 Oct 2003 02:29:42 +0000 (02:29 +0000)]
Really close the <li> tags.

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

18 years agoRemove extraneous comments.
Misha Brukman [Thu, 23 Oct 2003 01:50:39 +0000 (01:50 +0000)]
Remove extraneous comments.

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

18 years ago* Quote a value in <font> tag.
Misha Brukman [Thu, 23 Oct 2003 01:49:47 +0000 (01:49 +0000)]
* Quote a value in <font> tag.
* Let CVS figure out the last-modified-date for us

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

18 years ago* Use UTF-8 instead of ISO-8859-1
Misha Brukman [Thu, 23 Oct 2003 01:48:33 +0000 (01:48 +0000)]
* Use UTF-8 instead of ISO-8859-1
* Use stylesheet instead of explicit <font> formatting
* Stop using <ul> for layout
* Close <li> tags

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

18 years ago* Use UTF-8 instead of soon-to-be-extinct ISO-8859-1 ;)
Misha Brukman [Wed, 22 Oct 2003 23:27:16 +0000 (23:27 +0000)]
* Use UTF-8 instead of soon-to-be-extinct ISO-8859-1 ;)
* Use stylesheets instead of explicit <font> tags
* Stop using <ul> for spacing layout
* Close <a> and <p> tags

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

18 years agoWe will distributed this stylesheet with the documentation, as well as use it
Misha Brukman [Wed, 22 Oct 2003 23:23:49 +0000 (23:23 +0000)]
We will distributed this stylesheet with the documentation, as well as use it
(via import) in the online version.

* Added styles for documentation headers, sections, etc.

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

18 years agoThis important patch fixes two warnings in the linker which can occur from linking
Chris Lattner [Wed, 22 Oct 2003 23:03:38 +0000 (23:03 +0000)]
This important patch fixes two warnings in the linker which can occur from linking
valid pieces of code

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

18 years agoNew testcase for the deadreturnvalue deletion extension to -deadargelim
Chris Lattner [Wed, 22 Oct 2003 22:33:59 +0000 (22:33 +0000)]
New testcase for the deadreturnvalue deletion extension to -deadargelim

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

18 years agoChange the type of FnAllocState.
Brian Gaeke [Wed, 22 Oct 2003 20:44:29 +0000 (20:44 +0000)]
Change the type of FnAllocState.

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

18 years agoDon't worry about converting each function's reg. alloc. state into One Big
Brian Gaeke [Wed, 22 Oct 2003 20:44:23 +0000 (20:44 +0000)]
Don't worry about converting each function's reg. alloc. state into One Big
Constant early on, because we can do it in doFinalization.

Tighten up a comment.

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

18 years agoAdd prototype for verifySavedState().
Brian Gaeke [Wed, 22 Oct 2003 20:23:13 +0000 (20:23 +0000)]
Add prototype for verifySavedState().

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

18 years agoDoxygenify method comments.
Brian Gaeke [Wed, 22 Oct 2003 20:22:53 +0000 (20:22 +0000)]
Doxygenify method comments.
Try to improve method comments a little.
Get rid of some excess whitespace; put braces on previous line when possible.
Add stub for method to verify the work of saveState().

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

18 years agoThis is a disgusting hack that improves code substantially, by making
Chris Lattner [Wed, 22 Oct 2003 18:53:31 +0000 (18:53 +0000)]
This is a disgusting hack that improves code substantially, by making
callgraphSCC passes more effective.

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

18 years agoClarify our testing experience.
Brian Gaeke [Wed, 22 Oct 2003 18:19:08 +0000 (18:19 +0000)]
Clarify our testing experience.

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

18 years agoDo not check for strings.h. This is an old, old, old pre-C89 header that
Brian Gaeke [Wed, 22 Oct 2003 17:52:56 +0000 (17:52 +0000)]
Do not check for strings.h. This is an old, old, old pre-C89 header that
absolutely nothing should be using (and it looks like nothing IS using it).

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

18 years agoI think this file is not included by anything.
Brian Gaeke [Wed, 22 Oct 2003 17:51:28 +0000 (17:51 +0000)]
I think this file is not included by anything.

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

18 years ago* Changed URL referring to zion to use llvm instead
Misha Brukman [Wed, 22 Oct 2003 17:01:44 +0000 (17:01 +0000)]
* Changed URL referring to zion to use llvm instead
* Close <li> tags

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

18 years agoDo not add unreachable code to a natural loop!
Chris Lattner [Wed, 22 Oct 2003 16:41:21 +0000 (16:41 +0000)]
Do not add unreachable code to a natural loop!

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

18 years agoMake sure to print labels on nodes without names
Chris Lattner [Wed, 22 Oct 2003 16:30:58 +0000 (16:30 +0000)]
Make sure to print labels on nodes without names

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

18 years agoIf the basic block has no name, make sure to print the % number of it
Chris Lattner [Wed, 22 Oct 2003 16:22:42 +0000 (16:22 +0000)]
If the basic block has no name, make sure to print the % number of it

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

18 years agoImplement the Function::viewCFG* methods, for use in a debugger. Also, the
Chris Lattner [Wed, 22 Oct 2003 16:03:49 +0000 (16:03 +0000)]
Implement the Function::viewCFG* methods, for use in a debugger.  Also, the
-print-cfg pass now lives here.

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

18 years agoAdd two new function stubs for viewing the CFG of a function inside of the
Chris Lattner [Wed, 22 Oct 2003 16:03:20 +0000 (16:03 +0000)]
Add two new function stubs for viewing the CFG of a function inside of the
debugger

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

18 years agoDelete the -print-cfg pass from this file
Chris Lattner [Wed, 22 Oct 2003 16:02:58 +0000 (16:02 +0000)]
Delete the -print-cfg pass from this file

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

18 years agoAdded information on using Bugzilla.
John Criswell [Wed, 22 Oct 2003 15:06:11 +0000 (15:06 +0000)]
Added information on using Bugzilla.
Removed information on using llvm-bugs to report bugs.

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

18 years agoAdd comments to describe what these functions actually do.
Misha Brukman [Wed, 22 Oct 2003 05:50:40 +0000 (05:50 +0000)]
Add comments to describe what these functions actually do.

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

18 years ago* Use <cmath> instead of <math.h>
Misha Brukman [Wed, 22 Oct 2003 05:09:56 +0000 (05:09 +0000)]
* Use <cmath> instead of <math.h>
* Order #includes according to LLVM coding standards

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

18 years agoRemoved completely duplicated function comment (an identical one appears later).
Misha Brukman [Wed, 22 Oct 2003 04:55:09 +0000 (04:55 +0000)]
Removed completely duplicated function comment (an identical one appears later).

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

18 years agoNo, really, order the #includes correctly.
Misha Brukman [Wed, 22 Oct 2003 04:51:36 +0000 (04:51 +0000)]
No, really, order the #includes correctly.

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

18 years agoUpdate the 'used' flag correctly
Chris Lattner [Wed, 22 Oct 2003 04:43:18 +0000 (04:43 +0000)]
Update the 'used' flag correctly

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

18 years agoLoop over the module, not the symbol table. This makes the code handle
Chris Lattner [Wed, 22 Oct 2003 04:42:20 +0000 (04:42 +0000)]
Loop over the module, not the symbol table.  This makes the code handle
unused external functions again

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

18 years agoNew library needed
Chris Lattner [Wed, 22 Oct 2003 03:40:33 +0000 (03:40 +0000)]
New library needed

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

18 years agoImplement FunctionResolve/2003-10-21-GlobalResolveHack.ll
Chris Lattner [Wed, 22 Oct 2003 03:35:34 +0000 (03:35 +0000)]
Implement FunctionResolve/2003-10-21-GlobalResolveHack.ll

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

18 years agoNew testcase for fun hack that is absolutely necessary for the C++ stdlib.
Chris Lattner [Wed, 22 Oct 2003 03:35:18 +0000 (03:35 +0000)]
New testcase for fun hack that is absolutely necessary for the C++ stdlib.

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

18 years ago* Fix order of #includes to follow style guide
Misha Brukman [Wed, 22 Oct 2003 03:27:45 +0000 (03:27 +0000)]
* Fix order of #includes to follow style guide
* It's no longer a BasicBlock pass: update comment on run() method
* Fix placement of braces to be consistent
* Delete extraneous whitespace

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

18 years agoConverted tabs to spaces.
Misha Brukman [Wed, 22 Oct 2003 03:10:26 +0000 (03:10 +0000)]
Converted tabs to spaces.

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

18 years agoFix bug: FunctionResolve/2003-10-21-GlobalTypeDifference.ll
Chris Lattner [Tue, 21 Oct 2003 23:17:56 +0000 (23:17 +0000)]
Fix bug: FunctionResolve/2003-10-21-GlobalTypeDifference.ll

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

18 years agoNew testcase: globals should be linked if they are the wrong type. We should
Chris Lattner [Tue, 21 Oct 2003 23:17:45 +0000 (23:17 +0000)]
New testcase: globals should be linked if they are the wrong type.  We should
just moan loudly.

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

18 years agoFix bug: Linker/2003-10-21-ConflictingTypesTolerance.ll
Chris Lattner [Tue, 21 Oct 2003 22:46:38 +0000 (22:46 +0000)]
Fix bug: Linker/2003-10-21-ConflictingTypesTolerance.ll

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

18 years agoNew testcase. The linker should not consider it an error if two types
Chris Lattner [Tue, 21 Oct 2003 22:46:22 +0000 (22:46 +0000)]
New testcase.  The linker should not consider it an error if two types
disagree.  It should grumble, then go ahead and do it.

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

18 years agoAdd C/C++ build instructions, first draft.
Brian Gaeke [Tue, 21 Oct 2003 21:58:38 +0000 (21:58 +0000)]
Add C/C++ build instructions, first draft.

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

18 years agoFix message to make more sense and confuse Chris less
Chris Lattner [Tue, 21 Oct 2003 21:52:20 +0000 (21:52 +0000)]
Fix message to make more sense and confuse Chris less

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

18 years agoNew testcase, fixed in the C++ frontend
Chris Lattner [Tue, 21 Oct 2003 21:33:18 +0000 (21:33 +0000)]
New testcase, fixed in the C++ frontend

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

18 years agoAdded the name of the public CVS repository.
John Criswell [Tue, 21 Oct 2003 21:24:38 +0000 (21:24 +0000)]
Added the name of the public CVS repository.
Removed the use of CVSROOTDIR as it is no longer used.
Fixed some word wrapping.

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

18 years agoFix off-by-one error in processing of libraries named on command line.
Brian Gaeke [Tue, 21 Oct 2003 21:07:12 +0000 (21:07 +0000)]
Fix off-by-one error in processing of libraries named on command line.

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

18 years agoAdding information on what testing support is provided by the LLVM build
John Criswell [Tue, 21 Oct 2003 19:35:06 +0000 (19:35 +0000)]
Adding information on what testing support is provided by the LLVM build
system.  Currently, it is not much.

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

18 years agoAdd dummy content for libgdbm.
Misha Brukman [Tue, 21 Oct 2003 18:26:07 +0000 (18:26 +0000)]
Add dummy content for libgdbm.

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

18 years agoFix libm's name to be `libm'
Misha Brukman [Tue, 21 Oct 2003 18:25:37 +0000 (18:25 +0000)]
Fix libm's name to be `libm'

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

18 years agoFix library name and fix line to fit within 80 columns.
Misha Brukman [Tue, 21 Oct 2003 18:22:34 +0000 (18:22 +0000)]
Fix library name and fix line to fit within 80 columns.

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

18 years agoAdd tools-only target, for bootstrapping the C/C++ front end.
Brian Gaeke [Tue, 21 Oct 2003 18:08:10 +0000 (18:08 +0000)]
Add tools-only target, for bootstrapping the C/C++ front end.

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

18 years agoThis was not a lower-switch bug, it was a preselection bug
Chris Lattner [Tue, 21 Oct 2003 18:02:17 +0000 (18:02 +0000)]
This was not a lower-switch bug, it was a preselection bug

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

18 years agoWhen linking the runtime libraries, do not link -lc and -lgcc into the libraries
Chris Lattner [Tue, 21 Oct 2003 18:00:37 +0000 (18:00 +0000)]
When linking the runtime libraries, do not link -lc and -lgcc into the libraries

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

18 years agoFix strcpy implementation and trie
Chris Lattner [Tue, 21 Oct 2003 17:53:16 +0000 (17:53 +0000)]
Fix strcpy implementation and trie

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

18 years agoFix the first FIXME in this file: automatically pick a "good"
Brian Gaeke [Tue, 21 Oct 2003 17:41:35 +0000 (17:41 +0000)]
Fix the first FIXME in this file: automatically pick a "good"
interpreter by default, by picking the first one that works
from a hard-coded list.

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

18 years agoMake sure to add a type for va_next operands, which may not other wise
Chris Lattner [Tue, 21 Oct 2003 17:40:54 +0000 (17:40 +0000)]
Make sure to add a type for va_next operands, which may not other wise
occur in the module

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

18 years agoFix problem which effected linking apache
Chris Lattner [Tue, 21 Oct 2003 17:39:59 +0000 (17:39 +0000)]
Fix problem which effected linking apache

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

18 years agoHrm, unbreak stuph :(
Chris Lattner [Tue, 21 Oct 2003 17:22:23 +0000 (17:22 +0000)]
Hrm, unbreak stuph :(

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

18 years agoFix preselection/lowerswitches bug
Chris Lattner [Tue, 21 Oct 2003 16:29:23 +0000 (16:29 +0000)]
Fix preselection/lowerswitches bug

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

18 years agoPull the PHI special case into it's own visit* method
Chris Lattner [Tue, 21 Oct 2003 16:09:23 +0000 (16:09 +0000)]
Pull the PHI special case into it's own visit* method

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

18 years agoThe lastOp operand is never used
Chris Lattner [Tue, 21 Oct 2003 16:06:07 +0000 (16:06 +0000)]
The lastOp operand is never used

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

18 years agoAdd more space!
Chris Lattner [Tue, 21 Oct 2003 15:47:31 +0000 (15:47 +0000)]
Add more space!

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

18 years agoHrm, for some reason, my fingers like typing va_begin. Weird
Chris Lattner [Tue, 21 Oct 2003 15:43:55 +0000 (15:43 +0000)]
Hrm, for some reason, my fingers like typing va_begin.  Weird

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

18 years agoSyntax highlight the new operators
Chris Lattner [Tue, 21 Oct 2003 15:37:09 +0000 (15:37 +0000)]
Syntax highlight the new operators

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

18 years agoUpdate test to new style
Chris Lattner [Tue, 21 Oct 2003 15:36:21 +0000 (15:36 +0000)]
Update test to new style

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

18 years agoRemoved LLVM copyright from sample Makefile.
John Criswell [Tue, 21 Oct 2003 15:33:12 +0000 (15:33 +0000)]
Removed LLVM copyright from sample Makefile.

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

18 years agoRemoved LLVM copyright notice from sample Makefile.
John Criswell [Tue, 21 Oct 2003 15:31:36 +0000 (15:31 +0000)]
Removed LLVM copyright notice from sample Makefile.

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

18 years agoAdded LLVM copyright notice.
John Criswell [Tue, 21 Oct 2003 15:29:18 +0000 (15:29 +0000)]
Added LLVM copyright notice.

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

18 years agoAdded LLVM copyright header.
John Criswell [Tue, 21 Oct 2003 15:17:13 +0000 (15:17 +0000)]
Added LLVM copyright header.

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

18 years agoPreselection is _not_ a basicblock pass, because it adds global variables to
Chris Lattner [Tue, 21 Oct 2003 14:49:19 +0000 (14:49 +0000)]
Preselection is _not_ a basicblock pass, because it adds global variables to
the module.  This change converts it from being a basic block pass to being
a simple pass.  This allows elimination of the annotation and simplification
of the logic for moving constants into global variables.

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

18 years agoAdded LLVM copyright notice.
John Criswell [Tue, 21 Oct 2003 14:33:46 +0000 (14:33 +0000)]
Added LLVM copyright notice.

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

18 years agoWhen opcodes like ADD were split into reg. and immed. versions (ADDi and ADDr),
Vikram S. Adve [Tue, 21 Oct 2003 12:29:45 +0000 (12:29 +0000)]
When opcodes like ADD were split into reg. and immed. versions (ADDi and ADDr),
this code wasn't fixed correctly so it missed copy operations that used ADDi.

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

18 years agoWhy does g++ not even generate a warning when you miss a break statement?
Vikram S. Adve [Tue, 21 Oct 2003 12:28:27 +0000 (12:28 +0000)]
Why does g++ not even generate a warning when you miss a break statement?

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

18 years agoImplement the new varargs instructions and intrinsics.
Vikram S. Adve [Tue, 21 Oct 2003 11:25:09 +0000 (11:25 +0000)]
Implement the new varargs instructions and intrinsics.

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

18 years agoOnly fails on the Sparc, only when run via the JIT.
Misha Brukman [Tue, 21 Oct 2003 04:13:37 +0000 (04:13 +0000)]
Only fails on the Sparc, only when run via the JIT.
And yet, it's a failure in the ``LowerSwitch'' pass.

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

18 years agoAdded LLVM copyright to Makefiles.
John Criswell [Mon, 20 Oct 2003 22:29:16 +0000 (22:29 +0000)]
Added LLVM copyright to Makefiles.

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

18 years agoAdded LLVM copyrights to Makefiles.
John Criswell [Mon, 20 Oct 2003 22:28:01 +0000 (22:28 +0000)]
Added LLVM copyrights to Makefiles.

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

18 years agoAdded LLVM copyright notice to Makefiles.
John Criswell [Mon, 20 Oct 2003 22:26:57 +0000 (22:26 +0000)]
Added LLVM copyright notice to Makefiles.

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

18 years agoAdd a new map
Chris Lattner [Mon, 20 Oct 2003 20:55:13 +0000 (20:55 +0000)]
Add a new map

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

18 years agoConvert this code from using annotations to using a local map
Chris Lattner [Mon, 20 Oct 2003 20:52:23 +0000 (20:52 +0000)]
Convert this code from using annotations to using a local map

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

18 years agoGoodbye, AddRegNumToValues
Brian Gaeke [Mon, 20 Oct 2003 20:44:03 +0000 (20:44 +0000)]
Goodbye, AddRegNumToValues

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

18 years agoRemoved extraneous comment line.
John Criswell [Mon, 20 Oct 2003 20:40:30 +0000 (20:40 +0000)]
Removed extraneous comment line.

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

18 years agoRemove using declaration
Chris Lattner [Mon, 20 Oct 2003 20:38:17 +0000 (20:38 +0000)]
Remove using declaration

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

18 years agoThis #include is no longer necessary
Chris Lattner [Mon, 20 Oct 2003 20:29:44 +0000 (20:29 +0000)]
This #include is no longer necessary

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

18 years agoAdded LLVM copyright header.
John Criswell [Mon, 20 Oct 2003 20:20:30 +0000 (20:20 +0000)]
Added LLVM copyright header.

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

18 years agoAdded LLVM copyright header (for lack of a better term).
John Criswell [Mon, 20 Oct 2003 20:19:47 +0000 (20:19 +0000)]
Added LLVM copyright header (for lack of a better term).

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

18 years agoOops. Typo.
John Criswell [Mon, 20 Oct 2003 20:16:14 +0000 (20:16 +0000)]
Oops. Typo.

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

18 years agoAdded LLVM header notice.
John Criswell [Mon, 20 Oct 2003 20:11:43 +0000 (20:11 +0000)]
Added LLVM header notice.

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

18 years agoFixed the documentation to coincide with the code.
Misha Brukman [Mon, 20 Oct 2003 19:47:25 +0000 (19:47 +0000)]
Fixed the documentation to coincide with the code.

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

18 years agoAdded LLVM notice.
John Criswell [Mon, 20 Oct 2003 19:46:57 +0000 (19:46 +0000)]
Added LLVM notice.

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