oota-llvm.git
19 years agoMore QMTest cruft gone!
Reid Spencer [Thu, 9 Dec 2004 07:43:06 +0000 (07:43 +0000)]
More QMTest cruft gone!

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

19 years agonote to self: Do not check in debugging code!
Chris Lattner [Thu, 9 Dec 2004 07:15:52 +0000 (07:15 +0000)]
note to self: Do not check in debugging code!

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

19 years agoImplement trivial sinking for load instructions. This causes us to sink 567 loads...
Chris Lattner [Thu, 9 Dec 2004 07:14:34 +0000 (07:14 +0000)]
Implement trivial sinking for load instructions.  This causes us to sink 567 loads in spec

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

19 years agoRemove a dead field, make the map go to integer type ID to hash better and
Chris Lattner [Thu, 9 Dec 2004 06:19:44 +0000 (06:19 +0000)]
Remove a dead field, make the map go to integer type ID to hash better and
avoid a getType.

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

19 years agoFix residual Visual Studio build problems
Jeff Cohen [Thu, 9 Dec 2004 05:51:11 +0000 (05:51 +0000)]
Fix residual Visual Studio build problems

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

19 years agoTest commit
Test Commit [Thu, 9 Dec 2004 05:46:48 +0000 (05:46 +0000)]
Test commit

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

19 years agoRemove #include inadvertently added
Chris Lattner [Thu, 9 Dec 2004 04:53:17 +0000 (04:53 +0000)]
Remove #include inadvertently added

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

19 years agoEliminate this ugly hack. This was put back in when replaceAllUsesOf used
Chris Lattner [Thu, 9 Dec 2004 04:51:50 +0000 (04:51 +0000)]
Eliminate this ugly hack.  This was put back in when replaceAllUsesOf used
a different algorithm that was extremely inefficient for instructions with
many operands.

This reduces the time of this code snippet from .23s for 176.gcc to 0.03s
in a debug build, which speeds up total llvm-dis time just barely.

It's more of a code cleanup than a speedup.

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

19 years agoAdd testcase and fix for yet another case where we query the size an
Alkis Evlogimenos [Wed, 8 Dec 2004 23:56:15 +0000 (23:56 +0000)]
Add testcase and fix for yet another case where we query the size an
abstract type.

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

19 years agoDo extremely simple sinking of instructions when they are only used in a
Chris Lattner [Wed, 8 Dec 2004 23:43:58 +0000 (23:43 +0000)]
Do extremely simple sinking of instructions when they are only used in a
successor block.  This turns cases like this:

x = a op b
if (c) {
  use x
}

into:

if (c) {
  x = a op b
  use x
}

This triggers 3965 times in spec, and is tested by
Regression/Transforms/InstCombine/sink_instruction.ll

This appears to expose a bug in the X86 backend for 177.mesa, which I'm
looking in to.

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

19 years agoAdd testcase and fix for another case where we query the size an
Alkis Evlogimenos [Wed, 8 Dec 2004 23:42:11 +0000 (23:42 +0000)]
Add testcase and fix for another case where we query the size an
abstract type.

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

19 years agonew testcase
Chris Lattner [Wed, 8 Dec 2004 23:41:16 +0000 (23:41 +0000)]
new testcase

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

19 years agoFix this regression and remove the XFAIL from this test.
Alkis Evlogimenos [Wed, 8 Dec 2004 23:10:30 +0000 (23:10 +0000)]
Fix this regression and remove the XFAIL from this test.

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

19 years agoRemove last remnants of Python/QMTest support
Reid Spencer [Wed, 8 Dec 2004 23:07:27 +0000 (23:07 +0000)]
Remove last remnants of Python/QMTest support

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

19 years agoImplement the LLVM_DO_NOT_BUILD feature. If a file of that name is
Reid Spencer [Wed, 8 Dec 2004 22:58:34 +0000 (22:58 +0000)]
Implement the LLVM_DO_NOT_BUILD feature. If a file of  that name is
present in a directory that LLVM normally builds, it will skip building
the directory entirely. This is useful for allowing a bunch of projects to
live in the source tree but not be compiled from time to time.

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

19 years agoFix Transforms/InstCombine/2004-12-08-RemInfiniteLoop.ll
Chris Lattner [Wed, 8 Dec 2004 22:20:34 +0000 (22:20 +0000)]
Fix Transforms/InstCombine/2004-12-08-RemInfiniteLoop.ll

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

19 years agoThis testcase causes the instruction combiner to go spiraling into
Chris Lattner [Wed, 8 Dec 2004 22:18:35 +0000 (22:18 +0000)]
This testcase causes the instruction combiner to go spiraling into
an infinite loop.

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

19 years agoMove method out of line
Chris Lattner [Wed, 8 Dec 2004 21:04:10 +0000 (21:04 +0000)]
Move method out of line

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

19 years agoMove method out of line for better ICC support
Chris Lattner [Wed, 8 Dec 2004 21:03:56 +0000 (21:03 +0000)]
Move method out of line for better ICC support
Add some ifdefs for some stuff I like to be able to toggle easily

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

19 years agoProperly extern this.
Chris Lattner [Wed, 8 Dec 2004 21:00:59 +0000 (21:00 +0000)]
Properly extern this.

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

19 years agoDefine the pointer hash struct before the string one, to improve compatibility
Chris Lattner [Wed, 8 Dec 2004 20:59:18 +0000 (20:59 +0000)]
Define the pointer hash struct before the string one, to improve compatibility
with ICC.  Patch contributed by Bjørn Wennberg.

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

19 years agoThe noreturn GCC extension is now supported.
John Criswell [Wed, 8 Dec 2004 20:35:47 +0000 (20:35 +0000)]
The noreturn GCC extension is now supported.
Fixed some minor typos.

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

19 years agoTurn this error back into a warning, fixing the povray regression
Chris Lattner [Wed, 8 Dec 2004 20:01:10 +0000 (20:01 +0000)]
Turn this error back into a warning, fixing the povray regression

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

19 years agoTest commit
Chris Lattner [Wed, 8 Dec 2004 19:05:44 +0000 (19:05 +0000)]
Test commit

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

19 years agoBuild the man and ps versions of the command guide as well when
Reid Spencer [Wed, 8 Dec 2004 19:01:01 +0000 (19:01 +0000)]
Build the man and ps versions of the command guide as well when
BUILD_FOR_WEBSITE is set.

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

19 years agoignore generated file
Chris Lattner [Wed, 8 Dec 2004 19:00:45 +0000 (19:00 +0000)]
ignore generated file

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

19 years agoMark this as an XFAIL until a fix is worked out.
Alkis Evlogimenos [Wed, 8 Dec 2004 18:43:39 +0000 (18:43 +0000)]
Mark this as an XFAIL until a fix is worked out.

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

19 years agoFixed broken link to Bruce Eckle's book.
Tanya Lattner [Wed, 8 Dec 2004 18:34:56 +0000 (18:34 +0000)]
Fixed broken link to Bruce Eckle's book.

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

19 years agoFixed a broken link to gcc manual.
Tanya Lattner [Wed, 8 Dec 2004 18:29:38 +0000 (18:29 +0000)]
Fixed a broken link to gcc manual.

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

19 years agoFixed broken link.
Tanya Lattner [Wed, 8 Dec 2004 18:25:34 +0000 (18:25 +0000)]
Fixed broken link.

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

19 years agoFixed broken links.
Tanya Lattner [Wed, 8 Dec 2004 18:13:51 +0000 (18:13 +0000)]
Fixed broken links.

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

19 years agoMention in the exposition that lli can JIT on PowerPC now.
John Criswell [Wed, 8 Dec 2004 18:04:14 +0000 (18:04 +0000)]
Mention in the exposition that lli can JIT on PowerPC now.

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

19 years agoWe don't have python test classes anymore.
John Criswell [Wed, 8 Dec 2004 18:01:27 +0000 (18:01 +0000)]
We don't have python test classes anymore.

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

19 years agoAdd llvm-ld tool
Reid Spencer [Wed, 8 Dec 2004 18:00:30 +0000 (18:00 +0000)]
Add llvm-ld tool
Note that both llvmc and llvm-ld are experimental in 1.4

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

19 years agoMinor fixups.
John Criswell [Wed, 8 Dec 2004 17:53:54 +0000 (17:53 +0000)]
Minor fixups.

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

19 years agoFixed typo in Dejagnu section.
Tanya Lattner [Wed, 8 Dec 2004 17:37:21 +0000 (17:37 +0000)]
Fixed typo in Dejagnu section.

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

19 years agoRemoved QMTest reference.
Tanya Lattner [Wed, 8 Dec 2004 17:35:31 +0000 (17:35 +0000)]
Removed QMTest reference.

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

19 years agoRemoved QMTest reference.
Tanya Lattner [Wed, 8 Dec 2004 17:25:46 +0000 (17:25 +0000)]
Removed QMTest reference.

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

19 years agoRemoved QMTest referrences. Updated ordering of notes.
Tanya Lattner [Wed, 8 Dec 2004 17:12:52 +0000 (17:12 +0000)]
Removed QMTest referrences. Updated ordering of notes.

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

19 years agoFix spell'os.
John Criswell [Wed, 8 Dec 2004 16:55:27 +0000 (16:55 +0000)]
Fix spell'os.

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

19 years agoMove documentation for various configuration options applicabe only to the
Reid Spencer [Wed, 8 Dec 2004 16:52:51 +0000 (16:52 +0000)]
Move documentation for various configuration options applicabe only to the
llvm-test directory into this document from GettingStarted.html.

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

19 years agoVarious 1.4ish corrections and additions.
Reid Spencer [Wed, 8 Dec 2004 16:51:31 +0000 (16:51 +0000)]
Various 1.4ish corrections and additions.

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

19 years agoUpdate the version numbers of the pre-built LLVM GCC frontends.
John Criswell [Wed, 8 Dec 2004 16:47:14 +0000 (16:47 +0000)]
Update the version numbers of the pre-built LLVM GCC frontends.

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

19 years agoFix llvmgcc to use the TestRunner substition mechanism.
John Criswell [Wed, 8 Dec 2004 16:41:34 +0000 (16:41 +0000)]
Fix llvmgcc to use the TestRunner substition mechanism.

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

19 years agoxfail this across all platforms.
John Criswell [Wed, 8 Dec 2004 16:31:06 +0000 (16:31 +0000)]
xfail this across all platforms.

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

19 years ago* Change version numbers of tarballs from 1.3 to 1.4
Reid Spencer [Wed, 8 Dec 2004 16:25:25 +0000 (16:25 +0000)]
* Change version numbers of tarballs from 1.3 to 1.4
* Add llvm-test-1.4.tar.gz as the tarball for the llvm-test module
* Highlight the tarball name a little.

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

19 years agoWork correctly with MSVC and ICC, patch contributed by Bjørn Wennberg
Chris Lattner [Wed, 8 Dec 2004 16:22:48 +0000 (16:22 +0000)]
Work correctly with MSVC and ICC, patch contributed by Bjørn Wennberg

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

19 years agoWork correctly with ICC, Patch contributed by Bjørn Wennberg
Chris Lattner [Wed, 8 Dec 2004 16:22:26 +0000 (16:22 +0000)]
Work correctly with ICC, Patch contributed by Bjørn Wennberg

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

19 years agoAdd descriptions of missing top level directories.
Reid Spencer [Wed, 8 Dec 2004 16:18:26 +0000 (16:18 +0000)]
Add descriptions of missing top level directories.

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

19 years agoAdd support for compilers with arg dependent name lookup, contributed by
Chris Lattner [Wed, 8 Dec 2004 16:13:53 +0000 (16:13 +0000)]
Add support for compilers with arg dependent name lookup, contributed by
Bjørn Wennberg

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

19 years agoAdd support for compilers without argument dependent name lookup, contributed
Chris Lattner [Wed, 8 Dec 2004 16:12:20 +0000 (16:12 +0000)]
Add support for compilers without argument dependent name lookup, contributed
by Bjørn Wennberg

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

19 years agoMake this work with the ICC compiler, contributed by Bjørn Wennberg
Chris Lattner [Wed, 8 Dec 2004 16:10:52 +0000 (16:10 +0000)]
Make this work with the ICC compiler, contributed by Bjørn Wennberg

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

19 years agoRemove unneeded class qualifier, contributed by Bjørn Wennberg
Chris Lattner [Wed, 8 Dec 2004 16:05:02 +0000 (16:05 +0000)]
Remove unneeded class qualifier, contributed by Bjørn Wennberg

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

19 years agoAdd regression
Alkis Evlogimenos [Wed, 8 Dec 2004 07:25:10 +0000 (07:25 +0000)]
Add regression

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

19 years agoWhen -link-as-library, add -l options to Module's deplibs
Reid Spencer [Wed, 8 Dec 2004 05:17:40 +0000 (05:17 +0000)]
When -link-as-library, add -l options to Module's deplibs

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

19 years agoMake an alternate version of this Makefile that can be used in an
Reid Spencer [Wed, 8 Dec 2004 04:43:40 +0000 (04:43 +0000)]
Make an alternate version of this Makefile that can be used in an
unconfigured tree for rebuilding the html files from POD sources for the
website update on cvs commit.

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

19 years agoRemove -Woverloaded-virtual usage that was committed by accident.
Reid Spencer [Wed, 8 Dec 2004 04:34:51 +0000 (04:34 +0000)]
Remove -Woverloaded-virtual usage that was committed by accident.

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

19 years agoRemove variables that are not used by any of the LLVM makefiles
Reid Spencer [Wed, 8 Dec 2004 04:26:23 +0000 (04:26 +0000)]
Remove variables that are not used by any of the LLVM makefiles

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

19 years agoRemove useless -L switch now that gccld -link-as-library bug is fixed.
Reid Spencer [Wed, 8 Dec 2004 04:22:47 +0000 (04:22 +0000)]
Remove useless -L switch now that gccld -link-as-library bug is fixed.

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

19 years agoUse getOperand() and remove getElementAt() function.
Alkis Evlogimenos [Wed, 8 Dec 2004 03:45:20 +0000 (03:45 +0000)]
Use getOperand() and remove getElementAt() function.

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

19 years agoRevert this disgusting hack, John has a much nicer solution
Chris Lattner [Wed, 8 Dec 2004 03:31:14 +0000 (03:31 +0000)]
Revert this disgusting hack, John has a much nicer solution

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

19 years agoAdd a disgusting hack to work around a libstdc++ issue. This code should
Chris Lattner [Wed, 8 Dec 2004 03:28:51 +0000 (03:28 +0000)]
Add a disgusting hack to work around a libstdc++ issue.  This code should
be removed when PR400 is resolved.

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

19 years agoThis test is xfail right now, to keep DJ clean, also mention the PR# in testcases.
Chris Lattner [Wed, 8 Dec 2004 02:25:32 +0000 (02:25 +0000)]
This test is xfail right now, to keep DJ clean, also mention the PR# in testcases.

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

19 years ago* Eliminate redundancies
Reid Spencer [Tue, 7 Dec 2004 08:39:08 +0000 (08:39 +0000)]
* Eliminate redundancies
* Fix grammaro's
* HTML 4.01 Strict compliance

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

19 years agoFor PR387:\
Reid Spencer [Tue, 7 Dec 2004 08:11:36 +0000 (08:11 +0000)]
For PR387:\
Add doInitialization method to avoid overloaded virtuals

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

19 years agoFor PR387:\
Reid Spencer [Tue, 7 Dec 2004 08:11:24 +0000 (08:11 +0000)]
For PR387:\
Add getModRefInfo method to avoid overloaded virtuals

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

19 years agoFor PR387:\
Reid Spencer [Tue, 7 Dec 2004 08:11:11 +0000 (08:11 +0000)]
For PR387:\
Add runPass methods to remove -Woverloaded-virtual warnings are not \
present and circumvent possible inheritance bugs.

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

19 years agoCommit the cleanup of the LLVM 1.4 release notes. This should clearly go
Chris Lattner [Tue, 7 Dec 2004 08:04:13 +0000 (08:04 +0000)]
Commit the cleanup of the LLVM 1.4 release notes.  This should clearly go
into the release :)

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

19 years agoRevert the recent patches to "fix" ConstantFP::isValueValidForType. None
Reid Spencer [Tue, 7 Dec 2004 07:38:08 +0000 (07:38 +0000)]
Revert the recent patches to "fix" ConstantFP::isValueValidForType. None
of them seem to work everywhere.

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

19 years agoProvide a missing header file.
Reid Spencer [Tue, 7 Dec 2004 07:08:08 +0000 (07:08 +0000)]
Provide a missing header file.

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

19 years agoFix some comments.
Reid Spencer [Tue, 7 Dec 2004 07:06:47 +0000 (07:06 +0000)]
Fix some comments.

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

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