oota-llvm.git
19 years agoMake use of the LLVMGCCStdCXXLibDir variable to link objects
Reid Spencer [Sun, 5 Dec 2004 19:15:06 +0000 (19:15 +0000)]
Make use of the LLVMGCCStdCXXLibDir variable to link objects

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18548 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFix PR139: \
Reid Spencer [Sun, 5 Dec 2004 19:14:55 +0000 (19:14 +0000)]
Fix PR139: \
Implement LinkItems and BuildLinkItems interfaces.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18547 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFix PR139: \
Reid Spencer [Sun, 5 Dec 2004 19:14:43 +0000 (19:14 +0000)]
Fix PR139: \
Add support for ordered linking with the LinkItems function

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18546 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoDescribe the MODULE_NAME control variable
Reid Spencer [Sun, 5 Dec 2004 19:14:31 +0000 (19:14 +0000)]
Describe the MODULE_NAME control variable

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18545 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoProvide a variable to compute where the libstdc++.a is
Reid Spencer [Sun, 5 Dec 2004 19:14:19 +0000 (19:14 +0000)]
Provide a variable to compute where the libstdc++.a is

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18544 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoSuggest people run cvs up -P -d after checking out the tree so they don't
Chris Lattner [Sun, 5 Dec 2004 17:48:03 +0000 (17:48 +0000)]
Suggest people run cvs up -P -d after checking out the tree so they don't
get empty directories

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18543 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoProperly implement a fix for PR475
Chris Lattner [Sun, 5 Dec 2004 07:19:16 +0000 (07:19 +0000)]
Properly implement a fix for PR475

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18537 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMake this test actually capable of passing.
Chris Lattner [Sun, 5 Dec 2004 07:15:21 +0000 (07:15 +0000)]
Make this test actually capable of passing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18536 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRevert this patch, it broke a ton of programs.
Chris Lattner [Sun, 5 Dec 2004 06:59:59 +0000 (06:59 +0000)]
Revert this patch, it broke a ton of programs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18535 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMove lower intrinsics before FP constant emission, in case
Chris Lattner [Sun, 5 Dec 2004 06:49:44 +0000 (06:49 +0000)]
Move lower intrinsics before FP constant emission, in case
intrinsic lowering ever introduces constants.

Rename local symbols before printing function bodies, fixing 255.vortex
with the CBE!!!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18534 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoChange this test to not require execution of the program.
Chris Lattner [Sun, 5 Dec 2004 06:45:30 +0000 (06:45 +0000)]
Change this test to not require execution of the program.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18533 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoWhen printing out a function, make sure that local and global symbols
Chris Lattner [Sun, 5 Dec 2004 06:44:09 +0000 (06:44 +0000)]
When printing out a function, make sure that local and global symbols
don't conflict.  This fixes Assembler/2004-12-05-LocalGlobalSymtabConflict.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18532 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd a new method
Chris Lattner [Sun, 5 Dec 2004 06:43:27 +0000 (06:43 +0000)]
Add a new method

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18531 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFix typeo
Chris Lattner [Sun, 5 Dec 2004 06:33:15 +0000 (06:33 +0000)]
Fix typeo

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18530 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoNew testcase for the bug affecting 255.vortex in CBE mode.
Chris Lattner [Sun, 5 Dec 2004 06:18:35 +0000 (06:18 +0000)]
New testcase for the bug affecting 255.vortex in CBE mode.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18529 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoCorrect build script for stkr_runtime module
Reid Spencer [Sun, 5 Dec 2004 05:18:28 +0000 (05:18 +0000)]
Correct build script for stkr_runtime module

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18526 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoBuild a module instead of a library so main() is not missed
Reid Spencer [Sun, 5 Dec 2004 05:18:16 +0000 (05:18 +0000)]
Build a module instead of a library so main() is not missed

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18525 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMake a const method const
Reid Spencer [Sun, 5 Dec 2004 05:17:34 +0000 (05:17 +0000)]
Make a const method const

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18524 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd ability to make a single bytecode module from others
Reid Spencer [Sun, 5 Dec 2004 05:17:22 +0000 (05:17 +0000)]
Add ability to make a single bytecode module from others

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18523 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRemove unneeded code
Alkis Evlogimenos [Sun, 5 Dec 2004 02:03:16 +0000 (02:03 +0000)]
Remove unneeded code

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18516 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFix PR475.
Alkis Evlogimenos [Sun, 5 Dec 2004 01:51:20 +0000 (01:51 +0000)]
Fix PR475.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18515 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMatch codegen string better
Alkis Evlogimenos [Sun, 5 Dec 2004 01:50:32 +0000 (01:50 +0000)]
Match codegen string better

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18514 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd testcast for bug475
Alkis Evlogimenos [Sun, 5 Dec 2004 01:44:46 +0000 (01:44 +0000)]
Add testcast for bug475

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18513 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoDarwin and solaris don't support echo -e. This should get the test passing
Chris Lattner [Sat, 4 Dec 2004 23:44:42 +0000 (23:44 +0000)]
Darwin and solaris don't support echo -e.  This should get the test passing
for them.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18511 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoThis fails due to the sun headers.
Chris Lattner [Sat, 4 Dec 2004 23:24:30 +0000 (23:24 +0000)]
This fails due to the sun headers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18510 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoThis test passes on all platforms
Chris Lattner [Sat, 4 Dec 2004 23:21:41 +0000 (23:21 +0000)]
This test passes on all platforms

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18509 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoThese tests pass on darwin now that the __ thing is fixed.
Chris Lattner [Sat, 4 Dec 2004 23:20:14 +0000 (23:20 +0000)]
These tests pass on darwin now that the __ thing is fixed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18508 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFailing Feature/Regression test should fail the build
Reid Spencer [Sat, 4 Dec 2004 22:34:47 +0000 (22:34 +0000)]
Failing Feature/Regression test should fail the build

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18507 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoUse the FAKE_SOURCES feature for proper distribution of contents
Reid Spencer [Sat, 4 Dec 2004 22:34:33 +0000 (22:34 +0000)]
Use the FAKE_SOURCES feature for proper distribution of contents

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18506 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoDistribute headers and license files too
Reid Spencer [Sat, 4 Dec 2004 22:34:21 +0000 (22:34 +0000)]
Distribute headers and license files too

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18505 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoGetting dist-check to work:\
Reid Spencer [Sat, 4 Dec 2004 22:34:09 +0000 (22:34 +0000)]
Getting dist-check to work:\
* Implement the FAKE_SOURCES feature for GCCLibraries/crtend \
* Search for distribution files >first< in srcdir and >second< in objdir \
* Make dist-hook only run in top level directory. \
* Make dist-check run correctly in parallel builds \
* Wrap lines to 80 cols \
* Standardize variable names

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18504 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoCVS directory elimination moved to Makefile.rules
Reid Spencer [Sat, 4 Dec 2004 22:33:58 +0000 (22:33 +0000)]
CVS directory elimination moved to Makefile.rules

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18503 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoProvide more information in the error message that occurs when there are
Reid Spencer [Sat, 4 Dec 2004 22:19:53 +0000 (22:19 +0000)]
Provide more information in the error message that occurs when there are
unresolved constants remaining.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18502 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoPrint out something useful instead of a blank table when the external tests
Reid Spencer [Sat, 4 Dec 2004 22:18:28 +0000 (22:18 +0000)]
Print out something useful instead of a blank table when the external tests
are skipped by user option.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18501 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoCheck in some patches for better assertions
Chris Lattner [Sat, 4 Dec 2004 21:28:47 +0000 (21:28 +0000)]
Check in some patches for better assertions

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18500 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoThis patch prevents an infinite recursion while compiling 103.su2cor.
Chris Lattner [Sat, 4 Dec 2004 20:54:32 +0000 (20:54 +0000)]
This patch prevents an infinite recursion while compiling 103.su2cor.

All SPEC CFP 95 programs now work, though the JIT isn't loading -lf2c right
so they aren't testing correctly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18499 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMove the dejagnu section to immediately before the 'trends' section.
Chris Lattner [Sat, 4 Dec 2004 20:18:21 +0000 (20:18 +0000)]
Move the dejagnu section to immediately before the 'trends' section.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18497 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRemove last remnants of qmtest stuff
Chris Lattner [Sat, 4 Dec 2004 19:57:27 +0000 (19:57 +0000)]
Remove last remnants of qmtest stuff

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18496 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoUpdate the win32 project files, contributed by Morton Ofstad!
Chris Lattner [Sat, 4 Dec 2004 19:14:38 +0000 (19:14 +0000)]
Update the win32 project files, contributed by Morton Ofstad!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18495 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFix linkage of mismatched weak globals. This unbreaks 300.twolf
Chris Lattner [Sat, 4 Dec 2004 18:54:48 +0000 (18:54 +0000)]
Fix linkage of mismatched weak globals.  This unbreaks 300.twolf

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18494 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoUse the install-bytecode target to install just the bytecode libs into
Reid Spencer [Sat, 4 Dec 2004 08:13:20 +0000 (08:13 +0000)]
Use the install-bytecode target to install just the bytecode libs into
the CFE's install/bytecode-libs directory.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18493 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoClean feature also
Chris Lattner [Sat, 4 Dec 2004 06:47:07 +0000 (06:47 +0000)]
Clean feature also

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18491 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRun dejagnu by default.
Tanya Lattner [Sat, 4 Dec 2004 06:35:14 +0000 (06:35 +0000)]
Run dejagnu by default.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18490 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRemoved QMTest functions. The nightly tester no longer runs qmtest. It now runs dejag...
Tanya Lattner [Sat, 4 Dec 2004 06:25:50 +0000 (06:25 +0000)]
Removed QMTest functions. The nightly tester no longer runs qmtest. It now runs dejagnu by default and you must turn it off using -nodejagnu.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18489 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMade it default to check instead of check-dejagnu.
Tanya Lattner [Sat, 4 Dec 2004 06:25:08 +0000 (06:25 +0000)]
Made it default to check instead of check-dejagnu.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18488 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoDo not allow bytecode files with unresolved references to be read. Doing
Chris Lattner [Sat, 4 Dec 2004 05:28:27 +0000 (05:28 +0000)]
Do not allow bytecode files with unresolved references to be read.  Doing
so lets wierd ConstantPlaceholder objects sneak into the system which
confuses it greatly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18487 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFix compilation error on Darwin.
Chris Lattner [Sat, 4 Dec 2004 04:17:20 +0000 (04:17 +0000)]
Fix compilation error on Darwin.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18485 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoCheck if a block has a terminator first before calling front() on
Alkis Evlogimenos [Sat, 4 Dec 2004 02:30:42 +0000 (02:30 +0000)]
Check if a block has a terminator first before calling front() on
it. If a block has a terminator then it is certainly non-empty so the
verifier will not crash on it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18484 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMake error msg reflect what exactly went wrong.
Alkis Evlogimenos [Sat, 4 Dec 2004 01:25:06 +0000 (01:25 +0000)]
Make error msg reflect what exactly went wrong.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18478 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoPrevent accessing past the end of the intervals vector, this fixes
Chris Lattner [Sat, 4 Dec 2004 01:22:09 +0000 (01:22 +0000)]
Prevent accessing past the end of the intervals vector, this fixes
Prolang-C/bison in the JIT

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18477 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoUse the standard PR### notation for referencing bugs in bugzilla
Misha Brukman [Sat, 4 Dec 2004 00:45:09 +0000 (00:45 +0000)]
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

19 years agoRemove more smileys. I kept the one in WritingAnLLVMPass because it is actually
Misha Brukman [Sat, 4 Dec 2004 00:33:34 +0000 (00:33 +0000)]
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

19 years agoDocumentation which contains smileys won't be taken seriously by some people.
Misha Brukman [Sat, 4 Dec 2004 00:32:12 +0000 (00:32 +0000)]
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

19 years agoUpdate for changes to check targets.
Chris Lattner [Sat, 4 Dec 2004 00:04:48 +0000 (00:04 +0000)]
Update for changes to check targets.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18473 91177308-0d34-0410-b5e6-96231b3b80d8

19 years ago* Link to the license file from release 1.3 (should we link to CVS version
Misha Brukman [Fri, 3 Dec 2004 23:58:18 +0000 (23:58 +0000)]
* 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

19 years agocheck is now a single colon rule. Also make it default to running dejagnu instead...
Chris Lattner [Fri, 3 Dec 2004 23:57:00 +0000 (23:57 +0000)]
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

19 years agoRemove all recursive check support from Makefile.rules
Chris Lattner [Fri, 3 Dec 2004 23:56:41 +0000 (23:56 +0000)]
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

19 years agoRemove extraneous space in link
Misha Brukman [Fri, 3 Dec 2004 23:26:23 +0000 (23:26 +0000)]
Remove extraneous space in link

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18468 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRemove darwin specific majik
Chris Lattner [Fri, 3 Dec 2004 23:02:55 +0000 (23:02 +0000)]
Remove darwin specific majik

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18467 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMove darwin-specific majik here.
Chris Lattner [Fri, 3 Dec 2004 23:02:42 +0000 (23:02 +0000)]
Move darwin-specific majik here.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18466 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoSignificantly rework linker support for global variables, allowing it to
Chris Lattner [Fri, 3 Dec 2004 22:18:41 +0000 (22:18 +0000)]
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

19 years agoRemoved QMTests as I will be zapping them soon.
John Criswell [Fri, 3 Dec 2004 21:56:30 +0000 (21:56 +0000)]
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

19 years ago'make check' at the top level shouldn't recurse through the sourcedirs
Chris Lattner [Fri, 3 Dec 2004 21:05:57 +0000 (21:05 +0000)]
'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

19 years agoResurrect the install-bytecode target for installing just the bytecode
Reid Spencer [Fri, 3 Dec 2004 20:08:48 +0000 (20:08 +0000)]
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

19 years agoDo not multiply define symbol
Chris Lattner [Fri, 3 Dec 2004 19:48:10 +0000 (19:48 +0000)]
Do not multiply define symbol

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18461 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoBug fixed
Chris Lattner [Fri, 3 Dec 2004 17:21:33 +0000 (17:21 +0000)]
Bug fixed

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18460 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFix test/Regression/CodeGen/CBackend/2004-12-03-ExternStatics.ll and
Chris Lattner [Fri, 3 Dec 2004 17:19:10 +0000 (17:19 +0000)]
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

19 years agonew testcase for PR472
Chris Lattner [Fri, 3 Dec 2004 17:18:42 +0000 (17:18 +0000)]
new testcase for PR472

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18458 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoImplement stripping of debug symbols, making the --strip-debug options in
Chris Lattner [Fri, 3 Dec 2004 16:22:08 +0000 (16:22 +0000)]
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

19 years agoFixed typo.
John Criswell [Fri, 3 Dec 2004 15:59:26 +0000 (15:59 +0000)]
Fixed typo.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18455 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoDo not look here for elegance.
Chris Lattner [Fri, 3 Dec 2004 07:16:51 +0000 (07:16 +0000)]
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

19 years agoThis code rotted - change it to call abort() until someone wants
Brian Gaeke [Fri, 3 Dec 2004 06:57:14 +0000 (06:57 +0000)]
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

19 years agoPass -strip-debug to gccas when bytecode libraries are being built.
Reid Spencer [Fri, 3 Dec 2004 06:04:35 +0000 (06:04 +0000)]
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

19 years agoAdd -strip-debug option
Chris Lattner [Fri, 3 Dec 2004 05:45:58 +0000 (05:45 +0000)]
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

19 years agoWhen writing kernel, save the branches til the end. They are still put in the "right...
Tanya Lattner [Fri, 3 Dec 2004 05:25:22 +0000 (05:25 +0000)]
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

19 years agoFix a regression caused by the previous patch
Chris Lattner [Fri, 3 Dec 2004 05:13:15 +0000 (05:13 +0000)]
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

19 years agoThese lookup symbols with leading underscores, which currently fails in
John Criswell [Thu, 2 Dec 2004 21:28:37 +0000 (21:28 +0000)]
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

19 years agoAdjust to change in pass name
Chris Lattner [Thu, 2 Dec 2004 21:27:35 +0000 (21:27 +0000)]
Adjust to change in pass name

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18442 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRecognize --strip-all as a synonym for -s.
Chris Lattner [Thu, 2 Dec 2004 21:26:10 +0000 (21:26 +0000)]
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

19 years agoInitial reimplementation of the -strip pass, with a stub for implementing
Chris Lattner [Thu, 2 Dec 2004 21:25:03 +0000 (21:25 +0000)]
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

19 years agoThis pass is moving to lib IPO
Chris Lattner [Thu, 2 Dec 2004 21:24:40 +0000 (21:24 +0000)]
This pass is moving to lib IPO

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18439 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMove the strip pass from Scalar to IPO lib
Chris Lattner [Thu, 2 Dec 2004 21:24:19 +0000 (21:24 +0000)]
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

19 years agoQuiet!
Chris Lattner [Thu, 2 Dec 2004 21:23:43 +0000 (21:23 +0000)]
Quiet!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18437 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoThe stripping pass as we know it is about to disappear
Chris Lattner [Thu, 2 Dec 2004 21:05:01 +0000 (21:05 +0000)]
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

19 years agoReverting revision 1.209.
John Criswell [Thu, 2 Dec 2004 19:02:49 +0000 (19:02 +0000)]
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

19 years agoAdd a note
Chris Lattner [Thu, 2 Dec 2004 18:21:45 +0000 (18:21 +0000)]
Add a note

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18434 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoSpill/restore X86 floating point stack registers with 64-bits of precision
Chris Lattner [Thu, 2 Dec 2004 18:17:31 +0000 (18:17 +0000)]
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

19 years agoConsider 64-bit registers to be FP as well.
Chris Lattner [Thu, 2 Dec 2004 17:57:21 +0000 (17:57 +0000)]
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

19 years agoDocument beta pass
Chris Lattner [Thu, 2 Dec 2004 17:20:17 +0000 (17:20 +0000)]
Document beta pass

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18431 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoStandardize the makefiles with space around = to match the rest of LLVM.
Reid Spencer [Thu, 2 Dec 2004 09:58:09 +0000 (09:58 +0000)]
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

19 years agoPR466:
Reid Spencer [Thu, 2 Dec 2004 09:52:10 +0000 (09:52 +0000)]
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

19 years agoStandardize the format of the runtime libraries makefiles.
Reid Spencer [Thu, 2 Dec 2004 09:31:40 +0000 (09:31 +0000)]
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

19 years agoFor PR466:
Reid Spencer [Thu, 2 Dec 2004 09:29:49 +0000 (09:29 +0000)]
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

19 years agoFor PR466:
Reid Spencer [Thu, 2 Dec 2004 09:28:21 +0000 (09:28 +0000)]
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

19 years agoRemove this left-over crud from the automake experiment.
Reid Spencer [Thu, 2 Dec 2004 09:23:51 +0000 (09:23 +0000)]
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

19 years agoImplement file replacement correctly even with the f (TruncateNames) flag
Reid Spencer [Thu, 2 Dec 2004 09:21:55 +0000 (09:21 +0000)]
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

19 years agoFix seriously broken implementation of GetMagicNumber.
Reid Spencer [Thu, 2 Dec 2004 09:09:48 +0000 (09:09 +0000)]
Fix seriously broken implementation of GetMagicNumber.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18422 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoSearch for tclsh last so we don't find the FreeBSD warning script too early
Reid Spencer [Thu, 2 Dec 2004 07:31:22 +0000 (07:31 +0000)]
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

19 years agoSearch for tclsh last so we don't find the FreeBSD warning script.
Reid Spencer [Thu, 2 Dec 2004 07:29:17 +0000 (07:29 +0000)]
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

19 years agoReworked branch adding in prologue. Added check for infinite loops which are not...
Tanya Lattner [Thu, 2 Dec 2004 07:22:15 +0000 (07:22 +0000)]
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