oota-llvm.git
19 years agoFix check for valid floats. Also use and HUGE_VALF instead
Alkis Evlogimenos [Tue, 7 Dec 2004 06:46:50 +0000 (06:46 +0000)]
Fix check for valid floats.  Also use and HUGE_VALF instead
of std::numeric_limits, because they work in more platforms.

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

19 years agoMove virtual function call out of loop to speed up getFreePhysReg by about
Nate Begeman [Tue, 7 Dec 2004 05:25:53 +0000 (05:25 +0000)]
Move virtual function call out of loop to speed up getFreePhysReg by about
20%, shaving 0.1s off hbd compile time on my g5.  Yay.

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

19 years agoFor PR387:\
Reid Spencer [Tue, 7 Dec 2004 04:03:45 +0000 (04:03 +0000)]
For PR387:\
Make only one print method to avoid overloaded virtual warnings when \
compiled with -Woverloaded-virtual

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

19 years agoFor PR387:
Reid Spencer [Mon, 6 Dec 2004 23:42:37 +0000 (23:42 +0000)]
For PR387:
Make this compile without warning when -Woverloaded-virtual is used.

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

19 years agoPR409 fixed.
Reid Spencer [Mon, 6 Dec 2004 22:32:33 +0000 (22:32 +0000)]
PR409 fixed.

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

19 years agoFor PR409: \
Reid Spencer [Mon, 6 Dec 2004 22:18:37 +0000 (22:18 +0000)]
For PR409: \
Test the range of float constants to ensure we are not attempting to create a \
float constant using a double value that is out of range for a float

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

19 years agoFor PR409: \
Reid Spencer [Mon, 6 Dec 2004 22:18:25 +0000 (22:18 +0000)]
For PR409: \
Make sure to check isValueValidForType on floating point constants and give \
an error if the value is not valid, otherwise it would assert in the VMCore

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

19 years agoThis test still fails on Darwin and Sparc/Solaris.
John Criswell [Mon, 6 Dec 2004 22:05:02 +0000 (22:05 +0000)]
This test still fails on Darwin and Sparc/Solaris.

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

19 years agoTest case for PR409:
Reid Spencer [Mon, 6 Dec 2004 21:57:59 +0000 (21:57 +0000)]
Test case for PR409:
Make sure that floating point constant values outside the range of a float
cannot be assigned to a constant.

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

19 years agoRemove the last pieces of QMTest.
John Criswell [Mon, 6 Dec 2004 21:35:32 +0000 (21:35 +0000)]
Remove the last pieces of QMTest.

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

19 years agoRevert previous changes to remove -enable-linscan and the *BETA columns of
Reid Spencer [Mon, 6 Dec 2004 20:14:45 +0000 (20:14 +0000)]
Revert previous changes to remove -enable-linscan and the *BETA columns of
the nightly test. These are still needed for iterative linear scan testing.

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

19 years agoRather than break all the nightly test invocations, permit -enable-linscan
Reid Spencer [Mon, 6 Dec 2004 18:33:54 +0000 (18:33 +0000)]
Rather than break all the nightly test invocations, permit -enable-linscan
option to be specified, but do nothing with it.

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

19 years agoRemove LLC-BETA and linear scan options as they are no longer reported.
Reid Spencer [Mon, 6 Dec 2004 18:29:14 +0000 (18:29 +0000)]
Remove LLC-BETA and linear scan options as they are no longer reported.

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

19 years agoChange check to check-local per Makefile.rules changes.
Reid Spencer [Mon, 6 Dec 2004 05:35:38 +0000 (05:35 +0000)]
Change check to check-local per Makefile.rules changes.

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

19 years agoUpgrade documentation to reflect Makefile.rules changes.
Reid Spencer [Mon, 6 Dec 2004 05:35:25 +0000 (05:35 +0000)]
Upgrade documentation to reflect Makefile.rules changes.

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

19 years agoAdd the check target so all projects can have this
Reid Spencer [Mon, 6 Dec 2004 05:35:13 +0000 (05:35 +0000)]
Add the check target so all projects can have this
functionality.

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

19 years agoRemove the check target. Its now in Makefile.rules
Reid Spencer [Mon, 6 Dec 2004 05:35:00 +0000 (05:35 +0000)]
Remove the check target. Its now in Makefile.rules

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

19 years agoAdded DejaGNU information to the testing guide. This should go into the 1.4 release.
Tanya Lattner [Mon, 6 Dec 2004 02:11:52 +0000 (02:11 +0000)]
Added DejaGNU information to the testing guide. This should go into the 1.4 release.
I left the QMTest stuff in place but made it appear to be optional.

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

19 years agoPR139 fixed.
Reid Spencer [Sun, 5 Dec 2004 20:19:45 +0000 (20:19 +0000)]
PR139 fixed.

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

19 years agoAdd accessors for Constants in a ConstantStruct.
Alkis Evlogimenos [Sun, 5 Dec 2004 20:09:18 +0000 (20:09 +0000)]
Add accessors for Constants in a ConstantStruct.

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

19 years agoFix PR139:\
Reid Spencer [Sun, 5 Dec 2004 19:15:29 +0000 (19:15 +0000)]
Fix PR139:\
When not linking as a library, use LinkItems to retain command line order of \
linking, otherwise use LinkFiles

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

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