Commit Graph

8866 Commits

Author SHA1 Message Date
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
Chris Lattner 1e0c213eab New testcase, fixed in the C++ frontend
llvm-svn: 9353
2003-10-21 21:33:18 +00:00
John Criswell 9d6053158b 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
2003-10-21 21:24:38 +00:00
Brian Gaeke 9e10b9a96f Fix off-by-one error in processing of libraries named on command line.
llvm-svn: 9351
2003-10-21 21:07:12 +00:00
John Criswell b920fe79ba Adding information on what testing support is provided by the LLVM build
system.  Currently, it is not much.

llvm-svn: 9348
2003-10-21 19:35:06 +00:00
Misha Brukman 5014715d83 Add dummy content for libgdbm.
llvm-svn: 9344
2003-10-21 18:26:07 +00:00
Misha Brukman 1a1f2b977b Fix libm's name to be `libm'
llvm-svn: 9343
2003-10-21 18:25:37 +00:00
Misha Brukman 8719ea2732 Fix library name and fix line to fit within 80 columns.
llvm-svn: 9342
2003-10-21 18:22:34 +00:00
Brian Gaeke 030474f284 Add tools-only target, for bootstrapping the C/C++ front end.
llvm-svn: 9341
2003-10-21 18:08:10 +00:00
Chris Lattner 59607b0a40 This was not a lower-switch bug, it was a preselection bug
llvm-svn: 9340
2003-10-21 18:02:17 +00:00
Chris Lattner 8aaa7f77c7 When linking the runtime libraries, do not link -lc and -lgcc into the libraries
llvm-svn: 9339
2003-10-21 18:00:37 +00:00
Chris Lattner 5382729e0c Fix strcpy implementation and trie
llvm-svn: 9338
2003-10-21 17:53:16 +00:00
Brian Gaeke 9a0bdb1aca 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
2003-10-21 17:41:35 +00:00
Chris Lattner 2c35b1c94c Make sure to add a type for va_next operands, which may not other wise
occur in the module

llvm-svn: 9336
2003-10-21 17:40:54 +00:00
Chris Lattner 7267b352fb Fix problem which effected linking apache
llvm-svn: 9335
2003-10-21 17:39:59 +00:00
Chris Lattner 73d9355fea Hrm, unbreak stuph :(
llvm-svn: 9334
2003-10-21 17:22:23 +00:00
Chris Lattner a62228d01a Fix preselection/lowerswitches bug
llvm-svn: 9333
2003-10-21 16:29:23 +00:00
Chris Lattner 4439aee504 Pull the PHI special case into it's own visit* method
llvm-svn: 9332
2003-10-21 16:09:23 +00:00
Chris Lattner 898a42afde The lastOp operand is never used
llvm-svn: 9331
2003-10-21 16:06:07 +00:00
Chris Lattner 518f3fd74f Add more space!
llvm-svn: 9330
2003-10-21 15:47:31 +00:00
Chris Lattner 3daeff5ce8 Hrm, for some reason, my fingers like typing va_begin. Weird
llvm-svn: 9329
2003-10-21 15:43:55 +00:00
Chris Lattner 6ffa75a1ac Syntax highlight the new operators
llvm-svn: 9328
2003-10-21 15:37:09 +00:00
Chris Lattner 7231f7c431 Update test to new style
llvm-svn: 9327
2003-10-21 15:36:21 +00:00
John Criswell 3ea4445600 Removed LLVM copyright from sample Makefile.
llvm-svn: 9326
2003-10-21 15:33:12 +00:00
John Criswell f9924ce362 Removed LLVM copyright notice from sample Makefile.
llvm-svn: 9325
2003-10-21 15:31:36 +00:00
John Criswell 9583cfafc5 Added LLVM copyright notice.
llvm-svn: 9324
2003-10-21 15:29:18 +00:00
John Criswell 29265fe981 Added LLVM copyright header.
llvm-svn: 9321
2003-10-21 15:17:13 +00:00
Chris Lattner 2e2a0ed7e1 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
2003-10-21 14:49:19 +00:00
John Criswell 23e43fb12b Added LLVM copyright notice.
llvm-svn: 9319
2003-10-21 14:33:46 +00:00
Vikram S. Adve 8264e29e01 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
2003-10-21 12:29:45 +00:00
Vikram S. Adve 64e8a13b7b Why does g++ not even generate a warning when you miss a break statement?
llvm-svn: 9317
2003-10-21 12:28:27 +00:00
Vikram S. Adve af2df5b7f9 Implement the new varargs instructions and intrinsics.
llvm-svn: 9316
2003-10-21 11:25:09 +00:00
Misha Brukman 4947c42086 Only fails on the Sparc, only when run via the JIT.
And yet, it's a failure in the ``LowerSwitch'' pass.

llvm-svn: 9315
2003-10-21 04:13:37 +00:00
John Criswell abe5cdcf21 Added LLVM copyright to Makefiles.
llvm-svn: 9314
2003-10-20 22:29:16 +00:00
John Criswell ac028f18af Added LLVM copyrights to Makefiles.
llvm-svn: 9313
2003-10-20 22:28:01 +00:00
John Criswell 4436c49787 Added LLVM copyright notice to Makefiles.
llvm-svn: 9312
2003-10-20 22:26:57 +00:00
Chris Lattner 826afe939d Add a new map
llvm-svn: 9311
2003-10-20 20:55:13 +00:00