Chris Lattner [Thu, 23 Oct 2003 16:00:59 +0000 (16:00 +0000)]
document real source of bug
llvm-svn: 9413
John Criswell [Thu, 23 Oct 2003 15:57:59 +0000 (15:57 +0000)]
Added new license information in preparation for LLVM 1.0.
llvm-svn: 9410
Chris Lattner [Thu, 23 Oct 2003 15:57:45 +0000 (15:57 +0000)]
fix test
llvm-svn: 9409
Chris Lattner [Thu, 23 Oct 2003 15:51:55 +0000 (15:51 +0000)]
Fix test
llvm-svn: 9408
Chris Lattner [Thu, 23 Oct 2003 15:46:42 +0000 (15:46 +0000)]
Fix buggy test
llvm-svn: 9407
Chris Lattner [Thu, 23 Oct 2003 15:42:55 +0000 (15:42 +0000)]
Fix an assertion failure in Bugpoint
llvm-svn: 9406
John Criswell [Thu, 23 Oct 2003 14:11:53 +0000 (14:11 +0000)]
Do not report errors if QMTest returns a non-zero value.
llvm-svn: 9404
Chris Lattner [Thu, 23 Oct 2003 05:21:48 +0000 (05:21 +0000)]
Fix bug: instcombine/2003-10-23-InstcombineNullFail.ll
llvm-svn: 9403
Chris Lattner [Thu, 23 Oct 2003 05:10:53 +0000 (05:10 +0000)]
A new testcase for an instcombine miscompilation!
llvm-svn: 9402
Brian Gaeke [Thu, 23 Oct 2003 04:01:49 +0000 (04:01 +0000)]
Fix apparent typo in head-of-file comment.
llvm-svn: 9400
Chris Lattner [Thu, 23 Oct 2003 03:55:23 +0000 (03:55 +0000)]
Minor edits
llvm-svn: 9399
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.
llvm-svn: 9398
Chris Lattner [Thu, 23 Oct 2003 03:30:55 +0000 (03:30 +0000)]
To say this file is obsolete to understate the obvious
llvm-svn: 9397
Misha Brukman [Thu, 23 Oct 2003 02:29:42 +0000 (02:29 +0000)]
Really close the <li> tags.
llvm-svn: 9396
Misha Brukman [Thu, 23 Oct 2003 01:50:39 +0000 (01:50 +0000)]
Remove extraneous comments.
llvm-svn: 9395
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
llvm-svn: 9394
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
llvm-svn: 9393
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
llvm-svn: 9392
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.
llvm-svn: 9391
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
llvm-svn: 9390
Chris Lattner [Wed, 22 Oct 2003 22:33:59 +0000 (22:33 +0000)]
New testcase for the deadreturnvalue deletion extension to -deadargelim
llvm-svn: 9389
Brian Gaeke [Wed, 22 Oct 2003 20:44:29 +0000 (20:44 +0000)]
Change the type of FnAllocState.
llvm-svn: 9388
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.
llvm-svn: 9387
Brian Gaeke [Wed, 22 Oct 2003 20:23:13 +0000 (20:23 +0000)]
Add prototype for verifySavedState().
llvm-svn: 9386
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().
llvm-svn: 9385
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.
llvm-svn: 9384
Brian Gaeke [Wed, 22 Oct 2003 18:19:08 +0000 (18:19 +0000)]
Clarify our testing experience.
llvm-svn: 9383
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).
llvm-svn: 9381
Brian Gaeke [Wed, 22 Oct 2003 17:51:28 +0000 (17:51 +0000)]
I think this file is not included by anything.
llvm-svn: 9380
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
llvm-svn: 9378
Chris Lattner [Wed, 22 Oct 2003 16:41:21 +0000 (16:41 +0000)]
Do not add unreachable code to a natural loop!
llvm-svn: 9377
Chris Lattner [Wed, 22 Oct 2003 16:30:58 +0000 (16:30 +0000)]
Make sure to print labels on nodes without names
llvm-svn: 9376
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
llvm-svn: 9375
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.
llvm-svn: 9374
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
llvm-svn: 9373
Chris Lattner [Wed, 22 Oct 2003 16:02:58 +0000 (16:02 +0000)]
Delete the -print-cfg pass from this file
llvm-svn: 9372
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.
llvm-svn: 9371
Misha Brukman [Wed, 22 Oct 2003 05:50:40 +0000 (05:50 +0000)]
Add comments to describe what these functions actually do.
llvm-svn: 9370
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
llvm-svn: 9369
Misha Brukman [Wed, 22 Oct 2003 04:55:09 +0000 (04:55 +0000)]
Removed completely duplicated function comment (an identical one appears later).
llvm-svn: 9368
Misha Brukman [Wed, 22 Oct 2003 04:51:36 +0000 (04:51 +0000)]
No, really, order the #includes correctly.
llvm-svn: 9367
Chris Lattner [Wed, 22 Oct 2003 04:43:18 +0000 (04:43 +0000)]
Update the 'used' flag correctly
llvm-svn: 9366
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
llvm-svn: 9365
Chris Lattner [Wed, 22 Oct 2003 03:40:33 +0000 (03:40 +0000)]
New library needed
llvm-svn: 9364
Chris Lattner [Wed, 22 Oct 2003 03:35:34 +0000 (03:35 +0000)]
Implement FunctionResolve/2003-10-21-GlobalResolveHack.ll
llvm-svn: 9363
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.
llvm-svn: 9362
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
llvm-svn: 9361
Misha Brukman [Wed, 22 Oct 2003 03:10:26 +0000 (03:10 +0000)]
Converted tabs to spaces.
llvm-svn: 9360
Chris Lattner [Tue, 21 Oct 2003 23:17:56 +0000 (23:17 +0000)]
Fix bug: FunctionResolve/2003-10-21-GlobalTypeDifference.ll
llvm-svn: 9359
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.
llvm-svn: 9358
Chris Lattner [Tue, 21 Oct 2003 22:46:38 +0000 (22:46 +0000)]
Fix bug: Linker/2003-10-21-ConflictingTypesTolerance.ll
llvm-svn: 9357
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.
llvm-svn: 9356
Brian Gaeke [Tue, 21 Oct 2003 21:58:38 +0000 (21:58 +0000)]
Add C/C++ build instructions, first draft.
llvm-svn: 9355
Chris Lattner [Tue, 21 Oct 2003 21:52:20 +0000 (21:52 +0000)]
Fix message to make more sense and confuse Chris less
llvm-svn: 9354
Chris Lattner [Tue, 21 Oct 2003 21:33:18 +0000 (21:33 +0000)]
New testcase, fixed in the C++ frontend
llvm-svn: 9353
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.
llvm-svn: 9352
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.
llvm-svn: 9351
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.
llvm-svn: 9348
Misha Brukman [Tue, 21 Oct 2003 18:26:07 +0000 (18:26 +0000)]
Add dummy content for libgdbm.
llvm-svn: 9344
Misha Brukman [Tue, 21 Oct 2003 18:25:37 +0000 (18:25 +0000)]
Fix libm's name to be `libm'
llvm-svn: 9343
Misha Brukman [Tue, 21 Oct 2003 18:22:34 +0000 (18:22 +0000)]
Fix library name and fix line to fit within 80 columns.
llvm-svn: 9342
Brian Gaeke [Tue, 21 Oct 2003 18:08:10 +0000 (18:08 +0000)]
Add tools-only target, for bootstrapping the C/C++ front end.
llvm-svn: 9341
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
llvm-svn: 9340
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
llvm-svn: 9339
Chris Lattner [Tue, 21 Oct 2003 17:53:16 +0000 (17:53 +0000)]
Fix strcpy implementation and trie
llvm-svn: 9338
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.
llvm-svn: 9337
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
llvm-svn: 9336
Chris Lattner [Tue, 21 Oct 2003 17:39:59 +0000 (17:39 +0000)]
Fix problem which effected linking apache
llvm-svn: 9335
Chris Lattner [Tue, 21 Oct 2003 17:22:23 +0000 (17:22 +0000)]
Hrm, unbreak stuph :(
llvm-svn: 9334
Chris Lattner [Tue, 21 Oct 2003 16:29:23 +0000 (16:29 +0000)]
Fix preselection/lowerswitches bug
llvm-svn: 9333
Chris Lattner [Tue, 21 Oct 2003 16:09:23 +0000 (16:09 +0000)]
Pull the PHI special case into it's own visit* method
llvm-svn: 9332
Chris Lattner [Tue, 21 Oct 2003 16:06:07 +0000 (16:06 +0000)]
The lastOp operand is never used
llvm-svn: 9331
Chris Lattner [Tue, 21 Oct 2003 15:47:31 +0000 (15:47 +0000)]
Add more space!
llvm-svn: 9330
Chris Lattner [Tue, 21 Oct 2003 15:43:55 +0000 (15:43 +0000)]
Hrm, for some reason, my fingers like typing va_begin. Weird
llvm-svn: 9329
Chris Lattner [Tue, 21 Oct 2003 15:37:09 +0000 (15:37 +0000)]
Syntax highlight the new operators
llvm-svn: 9328
Chris Lattner [Tue, 21 Oct 2003 15:36:21 +0000 (15:36 +0000)]
Update test to new style
llvm-svn: 9327
John Criswell [Tue, 21 Oct 2003 15:33:12 +0000 (15:33 +0000)]
Removed LLVM copyright from sample Makefile.
llvm-svn: 9326
John Criswell [Tue, 21 Oct 2003 15:31:36 +0000 (15:31 +0000)]
Removed LLVM copyright notice from sample Makefile.
llvm-svn: 9325
John Criswell [Tue, 21 Oct 2003 15:29:18 +0000 (15:29 +0000)]
Added LLVM copyright notice.
llvm-svn: 9324
John Criswell [Tue, 21 Oct 2003 15:17:13 +0000 (15:17 +0000)]
Added LLVM copyright header.
llvm-svn: 9321
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.
llvm-svn: 9320
John Criswell [Tue, 21 Oct 2003 14:33:46 +0000 (14:33 +0000)]
Added LLVM copyright notice.
llvm-svn: 9319
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.
llvm-svn: 9318
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?
llvm-svn: 9317
Vikram S. Adve [Tue, 21 Oct 2003 11:25:09 +0000 (11:25 +0000)]
Implement the new varargs instructions and intrinsics.
llvm-svn: 9316
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.
llvm-svn: 9315
John Criswell [Mon, 20 Oct 2003 22:29:16 +0000 (22:29 +0000)]
Added LLVM copyright to Makefiles.
llvm-svn: 9314
John Criswell [Mon, 20 Oct 2003 22:28:01 +0000 (22:28 +0000)]
Added LLVM copyrights to Makefiles.
llvm-svn: 9313
John Criswell [Mon, 20 Oct 2003 22:26:57 +0000 (22:26 +0000)]
Added LLVM copyright notice to Makefiles.
llvm-svn: 9312
Chris Lattner [Mon, 20 Oct 2003 20:55:13 +0000 (20:55 +0000)]
Add a new map
llvm-svn: 9311
Chris Lattner [Mon, 20 Oct 2003 20:52:23 +0000 (20:52 +0000)]
Convert this code from using annotations to using a local map
llvm-svn: 9310
Brian Gaeke [Mon, 20 Oct 2003 20:44:03 +0000 (20:44 +0000)]
Goodbye, AddRegNumToValues
llvm-svn: 9309
John Criswell [Mon, 20 Oct 2003 20:40:30 +0000 (20:40 +0000)]
Removed extraneous comment line.
llvm-svn: 9308
Chris Lattner [Mon, 20 Oct 2003 20:38:17 +0000 (20:38 +0000)]
Remove using declaration
llvm-svn: 9307
Chris Lattner [Mon, 20 Oct 2003 20:29:44 +0000 (20:29 +0000)]
This #include is no longer necessary
llvm-svn: 9306
John Criswell [Mon, 20 Oct 2003 20:20:30 +0000 (20:20 +0000)]
Added LLVM copyright header.
llvm-svn: 9305
John Criswell [Mon, 20 Oct 2003 20:19:47 +0000 (20:19 +0000)]
Added LLVM copyright header (for lack of a better term).
llvm-svn: 9304
John Criswell [Mon, 20 Oct 2003 20:16:14 +0000 (20:16 +0000)]
Oops. Typo.
llvm-svn: 9303
John Criswell [Mon, 20 Oct 2003 20:11:43 +0000 (20:11 +0000)]
Added LLVM header notice.
llvm-svn: 9302
Misha Brukman [Mon, 20 Oct 2003 19:47:25 +0000 (19:47 +0000)]
Fixed the documentation to coincide with the code.
llvm-svn: 9301