Commit Graph

16078 Commits

Author SHA1 Message Date
Misha Brukman
43ee293abe Use the standard PR### notation for referencing bugs in bugzilla
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18476 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-04 00:45:09 +00:00
Misha Brukman
4f5659e829 Remove more smileys. I kept the one in WritingAnLLVMPass because it is actually
funny.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18475 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-04 00:33:34 +00:00
Misha Brukman
3b53a26191 Documentation which contains smileys won't be taken seriously by some people.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18474 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-04 00:32:12 +00:00
Chris Lattner
ff52f9c91d Update for changes to check targets.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18473 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-04 00:04:48 +00:00
Misha Brukman
237dc2a807 * Link to the license file from release 1.3 (should we link to CVS version
instead?)
* Encapsulate code and header file names with <tt> and </tt>
* Arrange <p> and </p> tags to be inline with the text they contain


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18472 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-03 23:58:18 +00:00
Chris Lattner
642d1021da check is now a single colon rule. Also make it default to running dejagnu instead of qmtest
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18471 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-03 23:57:00 +00:00
Chris Lattner
672d71dcb6 Remove all recursive check support from Makefile.rules
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18470 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-03 23:56:41 +00:00
Misha Brukman
e539a2baff Remove extraneous space in link
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18468 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-03 23:26:23 +00:00
Chris Lattner
b929de2a2c Remove darwin specific majik
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18467 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-03 23:02:55 +00:00
Chris Lattner
28dabf743b Move darwin-specific majik here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18466 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-03 23:02:42 +00:00
Chris Lattner
aee38ea569 Significantly rework linker support for global variables, allowing it to
correctly link globals whose LLVM types do not match.

This fixes several of the F2C SPEC FP benchmarks, which were failing this
due to the implementation of common blocks used by f2c.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18465 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-03 22:18:41 +00:00
John Criswell
68fa3ccf14 Removed QMTests as I will be zapping them soon.
I've done some testing, and this seems to work, but if people who use
the nightly tester regularly could spot check these changes, I'd be
appreciative.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18464 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-03 21:56:30 +00:00
Chris Lattner
7dc02825dc 'make check' at the top level shouldn't recurse through the sourcedirs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18463 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-03 21:05:57 +00:00
Reid Spencer
44cb1b3e07 Resurrect the install-bytecode target for installing just the bytecode
libraries to the CFE.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18462 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-03 20:08:48 +00:00
Chris Lattner
f0db7a98ae Do not multiply define symbol
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18461 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-03 19:48:10 +00:00
Chris Lattner
14d6b75c10 Bug fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18460 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-03 17:21:33 +00:00
Chris Lattner
cc16a8e73b Fix test/Regression/CodeGen/CBackend/2004-12-03-ExternStatics.ll and
PR472


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18459 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-03 17:19:10 +00:00
Chris Lattner
8430182d80 new testcase for PR472
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18458 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-03 17:18:42 +00:00
Chris Lattner
dd0ecf6731 Implement stripping of debug symbols, making the --strip-debug options in
gccas/gccld more than just a noop.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18456 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-03 16:22:08 +00:00
John Criswell
82bd0c51d7 Fixed typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18455 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-03 15:59:26 +00:00
Chris Lattner
33306c0b8c Do not look here for elegance.
This fixes the ugly darwin "cannot find symbols starting with __" issue.

Thanks for Owen/resistor for testing this out for me.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18454 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-03 07:16:51 +00:00
Brian Gaeke
1d65645582 This code rotted - change it to call abort() until someone wants
to rewrite this to use relocations.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18453 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-03 06:57:14 +00:00
Reid Spencer
776b80503f Pass -strip-debug to gccas when bytecode libraries are being built.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18452 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-03 06:04:35 +00:00
Chris Lattner
40add594eb Add -strip-debug option
remove the temporary -disable-dse option


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18451 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-03 05:45:58 +00:00
Tanya Lattner
f3fa55f979 When writing kernel, save the branches til the end. They are still put in the "right place" in the schedule, but sometimes when folding to make a kernel instructions are added between branches. This is wrong. To avoid this, we handle branches special.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18450 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-03 05:25:22 +00:00
Chris Lattner
223d4c4b3a Fix a regression caused by the previous patch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18449 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-03 05:13:15 +00:00
John Criswell
c60c334612 These lookup symbols with leading underscores, which currently fails in
the PowerPC JIT.
Hence, they are XFAILs.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18443 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-02 21:28:37 +00:00
Chris Lattner
f8f70c1a17 Adjust to change in pass name
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18442 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-02 21:27:35 +00:00
Chris Lattner
3f14fb1a0b Recognize --strip-all as a synonym for -s.
Add -S and --strip-debug option support.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18441 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-02 21:26:10 +00:00
Chris Lattner
e3ad43c828 Initial reimplementation of the -strip pass, with a stub for implementing
-S


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18440 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-02 21:25:03 +00:00
Chris Lattner
6992afcdb9 This pass is moving to lib IPO
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18439 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-02 21:24:40 +00:00
Chris Lattner
92f6c15d8f Move the strip pass from Scalar to IPO lib
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18438 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-02 21:24:19 +00:00
Chris Lattner
b0ea864bbd Quiet!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18437 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-02 21:23:43 +00:00
Chris Lattner
ad7919836f The stripping pass as we know it is about to disappear
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18436 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-02 21:05:01 +00:00
John Criswell
ced06b73ec Reverting revision 1.209.
Including alloca.h on Solaris brings in the prototype of strftime(), which
breaks compilation of CBE generated code.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18435 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-02 19:02:49 +00:00
Chris Lattner
06a60f5ef1 Add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18434 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-02 18:21:45 +00:00
Chris Lattner
45de191b0b Spill/restore X86 floating point stack registers with 64-bits of precision
instead of 80-bits of precision.  This fixes PR467.

This change speeds up fldry on X86 with LLC from 7.32s on apoc to 4.68s.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18433 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-02 18:17:31 +00:00
Chris Lattner
3986924e0b Consider 64-bit registers to be FP as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18432 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-02 17:57:21 +00:00
Chris Lattner
0da7f49381 Document beta pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18431 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-02 17:20:17 +00:00
Reid Spencer
010834654a Standardize the makefiles with space around = to match the rest of LLVM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18429 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-02 09:58:09 +00:00
Reid Spencer
be0b356593 PR466:
* Make the linker find lib*.bca files now instead of lib*.bc since those
  are what the makefiles now generate for bytecode archives.
* Make sure the linker only links archives when LinkLibraries is called.
  Previously if it found a lib*.bc file and that file was a bytecode file,
  it would link in the entire bytecode. This could make -lc -lc fail with
  duplicate symbols error but it shouldn't as searching multiple libraries,
  even the same one more than once, is permitted.
* Now that the above problems are corrected, implement the dependent libs
  feature. After the module is linked with all specified libraries, the
  LinkLibraries function will obtain the set of dependent libraries from
  the linked modules and attemp to find and link against those libraries.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18428 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-02 09:52:10 +00:00
Reid Spencer
8aa9a8ca98 Standardize the format of the runtime libraries makefiles.
* Don't have lines longer than 80 cols
* Blank line after the header
* Reduce spaces in var definitions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18427 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-02 09:31:40 +00:00
Reid Spencer
f5b709854f For PR466:
Much of what this Makefile did to make a libcrtend.a file is now supported
by Makefile.rules when BYTECODE_LIBRARY=1 is specified. So, we've
simplified the make rules for building this library.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18426 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-02 09:29:49 +00:00
Reid Spencer
9a2f137765 For PR466:
Change construction of bytecode libraries from producing a single bytecode
file to producing a library containing bytecode files. This gets around the
problem of multiple symbol definitions in the linker if something like
-lc -lc is attempted on the command line. Previously this happened because
the linker would find libc.bc as a "library". It will now find libc.a which
it can simply search for missing symbols instead of linking in wholesale.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18425 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-02 09:28:21 +00:00
Reid Spencer
3298f87c0b Remove this left-over crud from the automake experiment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18424 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-02 09:23:51 +00:00
Reid Spencer
0de66b5cc8 Implement file replacement correctly even with the f (TruncateNames) flag
set. The member name comparison was failing for truncated names. This patch
fixes that. Truncated names are now properly replaced.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18423 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-02 09:21:55 +00:00
Reid Spencer
86ac2dcda1 Fix seriously broken implementation of GetMagicNumber.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18422 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-02 09:09:48 +00:00
Reid Spencer
fc757b5217 Search for tclsh last so we don't find the FreeBSD warning script too early
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18421 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-02 07:31:22 +00:00
Reid Spencer
104298d1b4 Search for tclsh last so we don't find the FreeBSD warning script.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18420 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-02 07:29:17 +00:00
Tanya Lattner
ad7654f7c4 Reworked branch adding in prologue. Added check for infinite loops which are not modulo scheduled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18419 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-02 07:22:15 +00:00