Chris Lattner
c4d6916508
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
2004-12-09 04:51:50 +00:00
Alkis Evlogimenos
c49741d047
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
2004-12-08 23:56:15 +00:00
Chris Lattner
ea1c45405d
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
2004-12-08 23:43:58 +00:00
Alkis Evlogimenos
a95cf3024b
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
2004-12-08 23:42:11 +00:00
Chris Lattner
5cb77fb193
new testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18675 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 23:41:16 +00:00
Alkis Evlogimenos
54a96a2ad6
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
2004-12-08 23:10:30 +00:00
Reid Spencer
8690180f49
Remove last remnants of Python/QMTest support
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18672 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 23:07:27 +00:00
Reid Spencer
a23c0662dc
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
2004-12-08 22:58:34 +00:00
Chris Lattner
2a0cd9c9b5
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
2004-12-08 22:20:34 +00:00
Chris Lattner
d5e4e1756f
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
2004-12-08 22:18:35 +00:00
Chris Lattner
833408d484
Move method out of line
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18666 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 21:04:10 +00:00
Chris Lattner
b29dd0ff2b
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
2004-12-08 21:03:56 +00:00
Chris Lattner
2c20ef506f
Properly extern this.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18664 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 21:00:59 +00:00
Chris Lattner
d828e340a8
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
2004-12-08 20:59:18 +00:00
John Criswell
0b5b5e952c
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
2004-12-08 20:35:47 +00:00
Chris Lattner
b2abb26fe1
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
2004-12-08 20:01:10 +00:00
Chris Lattner
61db465a35
Test commit
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18654 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 19:05:44 +00:00
Reid Spencer
e47fd7d531
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
2004-12-08 19:01:01 +00:00
Chris Lattner
12d0cbce27
ignore generated file
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18652 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 19:00:45 +00:00
Alkis Evlogimenos
00af662b4d
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
2004-12-08 18:43:39 +00:00
Tanya Lattner
79445ba3ac
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
2004-12-08 18:34:56 +00:00
Tanya Lattner
78537e455b
Fixed a broken link to gcc manual.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18649 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 18:29:38 +00:00
Tanya Lattner
014e5f5e1c
Fixed broken link.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18648 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 18:25:34 +00:00
Tanya Lattner
54dc8b2a44
Fixed broken links.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18647 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 18:13:51 +00:00
John Criswell
d9eceee053
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
2004-12-08 18:04:14 +00:00
John Criswell
a34e65dc92
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
2004-12-08 18:01:27 +00:00
Reid Spencer
079e945387
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
2004-12-08 18:00:30 +00:00
John Criswell
3d8ba51c03
Minor fixups.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18643 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 17:53:54 +00:00
Tanya Lattner
faaeca28b6
Fixed typo in Dejagnu section.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18642 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 17:37:21 +00:00
Tanya Lattner
cc85da08f9
Removed QMTest reference.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18641 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 17:35:31 +00:00
Tanya Lattner
d10bc6e0bb
Removed QMTest reference.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18640 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 17:25:46 +00:00
Tanya Lattner
8f187242bb
Removed QMTest referrences. Updated ordering of notes.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18639 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 17:12:52 +00:00
John Criswell
c4ef3f2a37
Fix spell'os.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18638 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 16:55:27 +00:00
Reid Spencer
3281ead314
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
2004-12-08 16:52:51 +00:00
Reid Spencer
66db92eb64
Various 1.4ish corrections and additions.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18636 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 16:51:31 +00:00
John Criswell
687d5e5d8c
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
2004-12-08 16:47:14 +00:00
John Criswell
997715f1d2
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
2004-12-08 16:41:34 +00:00
John Criswell
207a6e9af3
xfail this across all platforms.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18633 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 16:31:06 +00:00
Reid Spencer
129f94e09a
* 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
2004-12-08 16:25:25 +00:00
Chris Lattner
1d875b854c
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
2004-12-08 16:22:48 +00:00
Chris Lattner
fe781654a3
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
2004-12-08 16:22:26 +00:00
Reid Spencer
c4b09ba288
Add descriptions of missing top level directories.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18629 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 16:18:26 +00:00
Chris Lattner
6d8dbecff2
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
2004-12-08 16:13:53 +00:00
Chris Lattner
17a213ad8b
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
2004-12-08 16:12:20 +00:00
Chris Lattner
194ca80fdb
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
2004-12-08 16:10:52 +00:00
Chris Lattner
f2fd400258
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
2004-12-08 16:05:02 +00:00
Alkis Evlogimenos
f08e961439
Add regression
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18624 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 07:25:10 +00:00
Reid Spencer
6b463b261e
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
2004-12-08 05:17:40 +00:00
Reid Spencer
6318456507
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
2004-12-08 04:43:40 +00:00
Reid Spencer
519799e340
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
2004-12-08 04:34:51 +00:00