Commit Graph

8852 Commits

Author SHA1 Message Date
Chris Lattner 6398b6cc5b Fix buggy test
llvm-svn: 9407
2003-10-23 15:46:42 +00:00
Chris Lattner f3e8f97d7e Fix an assertion failure in Bugpoint
llvm-svn: 9406
2003-10-23 15:42:55 +00:00
John Criswell c82fb1520e Do not report errors if QMTest returns a non-zero value.
llvm-svn: 9404
2003-10-23 14:11:53 +00:00
Chris Lattner 8a55262c76 Fix bug: instcombine/2003-10-23-InstcombineNullFail.ll
llvm-svn: 9403
2003-10-23 05:21:48 +00:00
Chris Lattner 04f1163148 A new testcase for an instcombine miscompilation!
llvm-svn: 9402
2003-10-23 05:10:53 +00:00
Brian Gaeke 3ab0bb144e Fix apparent typo in head-of-file comment.
llvm-svn: 9400
2003-10-23 04:01:49 +00:00
Chris Lattner f9b7118ba0 Minor edits
llvm-svn: 9399
2003-10-23 03:55:23 +00:00
Chris Lattner 0658cc20bd 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
2003-10-23 03:48:17 +00:00
Chris Lattner 57be5fa3e7 To say this file is obsolete to understate the obvious
llvm-svn: 9397
2003-10-23 03:30:55 +00:00
Misha Brukman 9782b036fc Really close the <li> tags.
llvm-svn: 9396
2003-10-23 02:29:42 +00:00
Misha Brukman 90827ecc18 Remove extraneous comments.
llvm-svn: 9395
2003-10-23 01:50:39 +00:00
Misha Brukman f1e6b1526c * Quote a value in <font> tag.
* Let CVS figure out the last-modified-date for us

llvm-svn: 9394
2003-10-23 01:49:47 +00:00
Misha Brukman 0ccf519eac * 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
2003-10-23 01:48:33 +00:00
Misha Brukman 283ff6937f * 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
2003-10-22 23:27:16 +00:00
Misha Brukman b8363bbcb0 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
2003-10-22 23:23:49 +00:00
Chris Lattner 9e8fe49c37 This important patch fixes two warnings in the linker which can occur from linking
valid pieces of code

llvm-svn: 9390
2003-10-22 23:03:38 +00:00
Chris Lattner b7c3faabcd New testcase for the deadreturnvalue deletion extension to -deadargelim
llvm-svn: 9389
2003-10-22 22:33:59 +00:00
Brian Gaeke f140b28c16 Change the type of FnAllocState.
llvm-svn: 9388
2003-10-22 20:44:29 +00:00
Brian Gaeke 41fe18cbaa 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
2003-10-22 20:44:23 +00:00
Brian Gaeke f29231ec3a Add prototype for verifySavedState().
llvm-svn: 9386
2003-10-22 20:23:13 +00:00
Brian Gaeke e3cf072d9e 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
2003-10-22 20:22:53 +00:00
Chris Lattner 5987ab8677 This is a disgusting hack that improves code substantially, by making
callgraphSCC passes more effective.

llvm-svn: 9384
2003-10-22 18:53:31 +00:00
Brian Gaeke 7b51ed5668 Clarify our testing experience.
llvm-svn: 9383
2003-10-22 18:19:08 +00:00
Brian Gaeke 663fba3997 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
2003-10-22 17:52:56 +00:00
Brian Gaeke a2c22523d2 I think this file is not included by anything.
llvm-svn: 9380
2003-10-22 17:51:28 +00:00
Misha Brukman b00e1061e1 * Changed URL referring to zion to use llvm instead
* Close <li> tags

llvm-svn: 9378
2003-10-22 17:01:44 +00:00
Chris Lattner ac4238f7bc Do not add unreachable code to a natural loop!
llvm-svn: 9377
2003-10-22 16:41:21 +00:00
Chris Lattner aa81dce20c Make sure to print labels on nodes without names
llvm-svn: 9376
2003-10-22 16:30:58 +00:00
Chris Lattner 9d63afdea5 If the basic block has no name, make sure to print the % number of it
llvm-svn: 9375
2003-10-22 16:22:42 +00:00
Chris Lattner a93d11bc1d Implement the Function::viewCFG* methods, for use in a debugger. Also, the
-print-cfg pass now lives here.

llvm-svn: 9374
2003-10-22 16:03:49 +00:00
Chris Lattner 2262fd252e Add two new function stubs for viewing the CFG of a function inside of the
debugger

llvm-svn: 9373
2003-10-22 16:03:20 +00:00
Chris Lattner 638b5374d8 Delete the -print-cfg pass from this file
llvm-svn: 9372
2003-10-22 16:02:58 +00:00
John Criswell 56a850ad06 Added information on using Bugzilla.
Removed information on using llvm-bugs to report bugs.

llvm-svn: 9371
2003-10-22 15:06:11 +00:00
Misha Brukman dbe73c5d6d Add comments to describe what these functions actually do.
llvm-svn: 9370
2003-10-22 05:50:40 +00:00
Misha Brukman 8c0608cf0d * Use <cmath> instead of <math.h>
* Order #includes according to LLVM coding standards

llvm-svn: 9369
2003-10-22 05:09:56 +00:00
Misha Brukman cc0d34223d Removed completely duplicated function comment (an identical one appears later).
llvm-svn: 9368
2003-10-22 04:55:09 +00:00
Misha Brukman 980d74c752 No, really, order the #includes correctly.
llvm-svn: 9367
2003-10-22 04:51:36 +00:00
Chris Lattner 6d3425e87a Update the 'used' flag correctly
llvm-svn: 9366
2003-10-22 04:43:18 +00:00
Chris Lattner 12b3593dea Loop over the module, not the symbol table. This makes the code handle
unused external functions again

llvm-svn: 9365
2003-10-22 04:42:20 +00:00
Chris Lattner f1a80fc54e New library needed
llvm-svn: 9364
2003-10-22 03:40:33 +00:00
Chris Lattner 4cd99ffa57 Implement FunctionResolve/2003-10-21-GlobalResolveHack.ll
llvm-svn: 9363
2003-10-22 03:35:34 +00:00
Chris Lattner 21c505f95e New testcase for fun hack that is absolutely necessary for the C++ stdlib.
llvm-svn: 9362
2003-10-22 03:35:18 +00:00
Misha Brukman 88be700644 * 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
2003-10-22 03:27:45 +00:00
Misha Brukman 53d8490186 Converted tabs to spaces.
llvm-svn: 9360
2003-10-22 03:10:26 +00:00
Chris Lattner af2c00bf14 Fix bug: FunctionResolve/2003-10-21-GlobalTypeDifference.ll
llvm-svn: 9359
2003-10-21 23:17:56 +00:00
Chris Lattner de20d44b3e New testcase: globals should be linked if they are the wrong type. We should
just moan loudly.

llvm-svn: 9358
2003-10-21 23:17:45 +00:00
Chris Lattner 4f2581f828 Fix bug: Linker/2003-10-21-ConflictingTypesTolerance.ll
llvm-svn: 9357
2003-10-21 22:46:38 +00:00
Chris Lattner 1de1483e38 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
2003-10-21 22:46:22 +00:00
Brian Gaeke 0142c1e5a0 Add C/C++ build instructions, first draft.
llvm-svn: 9355
2003-10-21 21:58:38 +00:00
Chris Lattner 9bc22b7439 Fix message to make more sense and confuse Chris less
llvm-svn: 9354
2003-10-21 21:52:20 +00:00