Commit Graph

8866 Commits

Author SHA1 Message Date
Misha Brukman c7b1bce283 Make code layout more consistent.
llvm-svn: 9426
2003-10-23 17:39:37 +00:00
Chris Lattner 5bdcd0315b Zero arg varargs functions are legal in LLVM, but not in C.
llvm-svn: 9425
2003-10-23 17:31:33 +00:00
Chris Lattner 37f4a4c184 Delete unused EmitByteSwap method
Implement mul/div/rem constant expressions

llvm-svn: 9424
2003-10-23 17:21:43 +00:00
Chris Lattner f516c698ff Check in initial version of ipcp
llvm-svn: 9423
2003-10-23 16:52:27 +00:00
Chris Lattner e4511db45a Include new prototype
llvm-svn: 9422
2003-10-23 16:51:49 +00:00
Misha Brukman 3f45389172 Make code layout more consistent.
llvm-svn: 9418
2003-10-23 16:48:30 +00:00
Chris Lattner 6f92cdd0cf Actually share constants local to a function!
llvm-svn: 9417
2003-10-23 16:29:12 +00:00
Misha Brukman 998cabe4ff * Order includes according to style guide
* Convert tabs to spaces
* Make code fit within 80 columns

llvm-svn: 9416
2003-10-23 16:22:08 +00:00
Misha Brukman 79c14a65e4 * Stop referring to llvmbugs mailing list, point them to Bugzilla
* Use ASCII (c) instead of the special character, which may not display
  correctly for everyone
* Wrap at 80 columns

llvm-svn: 9415
2003-10-23 16:18:51 +00:00
Chris Lattner 5368576589 Update test
llvm-svn: 9414
2003-10-23 16:01:03 +00:00
Chris Lattner cad69cd450 document real source of bug
llvm-svn: 9413
2003-10-23 16:00:59 +00:00
John Criswell e80ea4b9fe Added new license information in preparation for LLVM 1.0.
llvm-svn: 9410
2003-10-23 15:57:59 +00:00
Chris Lattner 2bbd0265ce fix test
llvm-svn: 9409
2003-10-23 15:57:45 +00:00
Chris Lattner 3c2c81df1c Fix test
llvm-svn: 9408
2003-10-23 15:51:55 +00:00
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