oota-llvm.git
19 years agoImplement Transforms/SCCP/ipsccp-gvar.ll, by tracking values stored to
Chris Lattner [Sat, 11 Dec 2004 05:15:59 +0000 (05:15 +0000)]
Implement Transforms/SCCP/ipsccp-gvar.ll, by tracking values stored to
non-address-taken global variables.

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

19 years agoNew testcase that ipsccp should handle.
Chris Lattner [Sat, 11 Dec 2004 05:14:55 +0000 (05:14 +0000)]
New testcase that ipsccp should handle.

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

19 years agoFix some minor spellos and grammaros.
Reid Spencer [Sat, 11 Dec 2004 05:12:57 +0000 (05:12 +0000)]
Fix some minor spellos and grammaros.

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

19 years agoRevert the last patch. We really do need SimplyCFG.
Reid Spencer [Sat, 11 Dec 2004 03:03:54 +0000 (03:03 +0000)]
Revert the last patch. We really do need SimplyCFG.

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

19 years agoFix a bug where we could delete dead invoke instructions with uses.
Chris Lattner [Sat, 11 Dec 2004 02:53:57 +0000 (02:53 +0000)]
Fix a bug where we could delete dead invoke instructions with uses.
In functions where we fully constant prop the return value, replace all
ret instructions with 'ret undef'.

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

19 years agoPath::get -> Path::toString
Reid Spencer [Sat, 11 Dec 2004 00:14:15 +0000 (00:14 +0000)]
Path::get -> Path::toString

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

19 years agoRemove this pass as its no longer needed.
Reid Spencer [Fri, 10 Dec 2004 22:55:35 +0000 (22:55 +0000)]
Remove this pass as its no longer needed.

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

19 years agoThis pass is no longer needed.
Chris Lattner [Fri, 10 Dec 2004 22:30:32 +0000 (22:30 +0000)]
This pass is no longer needed.

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

19 years agoImplement SCCP/ipsccp-conditional.ll, by totally deleting dead blocks.
Chris Lattner [Fri, 10 Dec 2004 22:29:08 +0000 (22:29 +0000)]
Implement SCCP/ipsccp-conditional.ll, by totally deleting dead blocks.

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

19 years agoNew testcase
Chris Lattner [Fri, 10 Dec 2004 22:28:49 +0000 (22:28 +0000)]
New testcase

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

19 years agoGet rid of warning from flex.
Reid Spencer [Fri, 10 Dec 2004 21:59:47 +0000 (21:59 +0000)]
Get rid of warning from flex.

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

19 years agoFix SCCP/2004-12-10-UndefBranchBug.ll
Chris Lattner [Fri, 10 Dec 2004 20:41:50 +0000 (20:41 +0000)]
Fix SCCP/2004-12-10-UndefBranchBug.ll

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

19 years agoAdd missing accessor.
Chris Lattner [Fri, 10 Dec 2004 20:35:47 +0000 (20:35 +0000)]
Add missing accessor.

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

19 years agoMake sure to link the target-triple as well, so it ends up in the .llvm.bc file
Chris Lattner [Fri, 10 Dec 2004 20:26:15 +0000 (20:26 +0000)]
Make sure to link the target-triple as well, so it ends up in the .llvm.bc file

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

19 years agoNew testcase that SCCP miscompiles. Luckily this is extremely unlikely to
Chris Lattner [Fri, 10 Dec 2004 20:10:23 +0000 (20:10 +0000)]
New testcase that SCCP miscompiles.  Luckily this is extremely unlikely to
happen in practice, but IP-SCCP can trigger it.

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

19 years agoFix output for Flexing to not print full path of source.
Reid Spencer [Fri, 10 Dec 2004 19:44:16 +0000 (19:44 +0000)]
Fix output for Flexing to not print full path of source.

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

19 years agoCheck in the right test
Chris Lattner [Fri, 10 Dec 2004 17:43:43 +0000 (17:43 +0000)]
Check in the right test

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

19 years agoFix Regression/Transforms/SimplifyCFG/2004-12-10-SimplifyCFGCrash.ll,
Chris Lattner [Fri, 10 Dec 2004 17:42:31 +0000 (17:42 +0000)]
Fix Regression/Transforms/SimplifyCFG/2004-12-10-SimplifyCFGCrash.ll,
and the failure on make_dparser last night.

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

19 years agoNew testcase for a bug exposed by the ipsccp pass, causing dparser to fail
Chris Lattner [Fri, 10 Dec 2004 17:41:43 +0000 (17:41 +0000)]
New testcase for a bug exposed by the ipsccp pass, causing dparser to fail
last night.

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

19 years agoFix typo
Chris Lattner [Fri, 10 Dec 2004 16:27:34 +0000 (16:27 +0000)]
Fix typo

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

19 years agoMerged in RELEASE_14 changes.
John Criswell [Fri, 10 Dec 2004 15:51:16 +0000 (15:51 +0000)]
Merged in RELEASE_14 changes.

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

19 years agoMove -lowerselect later in the chain; some select instructions were
Brian Gaeke [Fri, 10 Dec 2004 08:39:30 +0000 (08:39 +0000)]
Move -lowerselect later in the chain; some select instructions were
slipping through into the instruction selector, which can't deal with
them yet.

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

19 years agoAdd the rest of the multiply instructions.
Brian Gaeke [Fri, 10 Dec 2004 08:39:29 +0000 (08:39 +0000)]
Add the rest of the multiply instructions.

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

19 years agoSupport binary operations with immediates for <= cInt.
Brian Gaeke [Fri, 10 Dec 2004 08:39:28 +0000 (08:39 +0000)]
Support binary operations with immediates for <= cInt.

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

19 years agoUpdate lists of failing benchmarks (except C++...something is the
Brian Gaeke [Fri, 10 Dec 2004 08:39:27 +0000 (08:39 +0000)]
Update lists of failing benchmarks (except C++...something is the
matter with my sparcv8 libstdc++.a) and to-do list.

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

19 years agoTurn on ipsccp by default instead of simple IPCP
Chris Lattner [Fri, 10 Dec 2004 08:03:43 +0000 (08:03 +0000)]
Turn on ipsccp by default instead of simple IPCP

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

19 years agoThis is the initial implementation of IPSCCP, as requested by Brian.
Chris Lattner [Fri, 10 Dec 2004 08:02:06 +0000 (08:02 +0000)]
This is the initial implementation of IPSCCP, as requested by Brian.

This implements SCCP/ipsccp-basic.ll, rips apart Olden/mst (as described in
PR415), and does other nice things.

There is still more to come with this, but it's a start.

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

19 years agoNew prototype
Chris Lattner [Fri, 10 Dec 2004 07:55:01 +0000 (07:55 +0000)]
New prototype

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

19 years agoNew testcase
Chris Lattner [Fri, 10 Dec 2004 07:54:51 +0000 (07:54 +0000)]
New testcase

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

19 years agoEmit correct prototype for __builtin_alloca on V8.
Brian Gaeke [Fri, 10 Dec 2004 05:44:45 +0000 (05:44 +0000)]
Emit correct prototype for __builtin_alloca on V8.

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

19 years agoFix writer to properly quote label names when they don't contain
Alkis Evlogimenos [Fri, 10 Dec 2004 05:41:10 +0000 (05:41 +0000)]
Fix writer to properly quote label names when they don't contain
simple characters.

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

19 years agoDo not allow empty label names.
Alkis Evlogimenos [Fri, 10 Dec 2004 05:40:19 +0000 (05:40 +0000)]
Do not allow empty label names.

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

19 years agoUpdate testcase
Alkis Evlogimenos [Fri, 10 Dec 2004 05:39:57 +0000 (05:39 +0000)]
Update testcase

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

19 years agoImplement test/Feature/escaped_label.ll
Chris Lattner [Fri, 10 Dec 2004 05:27:29 +0000 (05:27 +0000)]
Implement test/Feature/escaped_label.ll

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

19 years agoSimple testcase for quoted label.
Chris Lattner [Fri, 10 Dec 2004 05:27:14 +0000 (05:27 +0000)]
Simple testcase for quoted label.

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

19 years agoLink V8 backend into llc.
Brian Gaeke [Fri, 10 Dec 2004 05:04:13 +0000 (05:04 +0000)]
Link V8 backend into llc.

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

19 years agoAdd SparcV8 target back into the build
Brian Gaeke [Fri, 10 Dec 2004 04:54:21 +0000 (04:54 +0000)]
Add SparcV8 target back into the build

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

19 years agoAdjust paths: Sparc/V8 --> SparcV8
Brian Gaeke [Fri, 10 Dec 2004 04:48:57 +0000 (04:48 +0000)]
Adjust paths: Sparc/V8 --> SparcV8

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

19 years agoMake this file self-contained.
Brian Gaeke [Fri, 10 Dec 2004 04:46:30 +0000 (04:46 +0000)]
Make this file self-contained.

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

19 years agoUpdate list of failing MultiSource benchmarks. It works out to +5 -5, but I
Brian Gaeke [Fri, 10 Dec 2004 04:42:46 +0000 (04:42 +0000)]
Update list of failing MultiSource benchmarks. It works out to +5 -5, but I
think some of these might be the CFE's fault; a rebuild should come soon.

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

19 years agoWhen FpMOVDs appeared in pairs, we were mistakenly skipping over the latter of
Brian Gaeke [Fri, 10 Dec 2004 04:42:45 +0000 (04:42 +0000)]
When FpMOVDs appeared in pairs, we were mistakenly skipping over the latter of
each pair. I think this fixes that.

One of these days, I swear I'm going to get the hang of C++ iterators.
Really.

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

19 years agoMissed moving bugpoint link over to CommandGuide/html/
Misha Brukman [Thu, 9 Dec 2004 23:28:09 +0000 (23:28 +0000)]
Missed moving bugpoint link over to CommandGuide/html/

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

19 years agoGenerated HTML documentation is now back in CommandGuide/html/
Misha Brukman [Thu, 9 Dec 2004 23:25:59 +0000 (23:25 +0000)]
Generated HTML documentation is now back in CommandGuide/html/

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

19 years agoRip out the guts of this document to prepare it for LLVM 1.5 progress
Chris Lattner [Thu, 9 Dec 2004 22:22:58 +0000 (22:22 +0000)]
Rip out the guts of this document to prepare it for LLVM 1.5 progress

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

19 years agoClean up this man page
Chris Lattner [Thu, 9 Dec 2004 21:16:40 +0000 (21:16 +0000)]
Clean up this man page

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

19 years agoAdd new pseudo target
Chris Lattner [Thu, 9 Dec 2004 21:06:32 +0000 (21:06 +0000)]
Add new pseudo target

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

19 years agoThe textual description is gone from this manpage, only the options and a quick
Misha Brukman [Thu, 9 Dec 2004 20:28:42 +0000 (20:28 +0000)]
The textual description is gone from this manpage, only the options and a quick
summary remain.  The manpage references Bugpoint.html as the repository for more
detailed info.

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

19 years ago* Straighten a comment to a single line
Misha Brukman [Thu, 9 Dec 2004 20:27:37 +0000 (20:27 +0000)]
* Straighten a comment to a single line
* Block off the section correctly with <!-- ***** -->

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

19 years agoWe now have a real Bugpoint doc, not just a huge man page.
Misha Brukman [Thu, 9 Dec 2004 20:26:53 +0000 (20:26 +0000)]
We now have a real Bugpoint doc, not just a huge man page.

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

19 years agoConvert from being a copy of the man page to a full-fledged document.
Misha Brukman [Thu, 9 Dec 2004 20:26:20 +0000 (20:26 +0000)]
Convert from being a copy of the man page to a full-fledged document.
This doc keeps all the descriptive info from the man page, but not the options.

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

19 years agoWe're continuing to make progress on MultiSource.
Brian Gaeke [Thu, 9 Dec 2004 18:54:31 +0000 (18:54 +0000)]
We're continuing to make progress on MultiSource.

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

19 years agoBytes and shorts are aligned differently from words.
Brian Gaeke [Thu, 9 Dec 2004 18:51:02 +0000 (18:51 +0000)]
Bytes and shorts are aligned differently from words.

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

19 years agoFix asm-printing directives (how did we not see this before...apparently,
Brian Gaeke [Thu, 9 Dec 2004 18:51:01 +0000 (18:51 +0000)]
Fix asm-printing directives (how did we not see this before...apparently,
everything was an int!)

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

19 years agoMore grammaro's fixed.
Reid Spencer [Thu, 9 Dec 2004 18:13:12 +0000 (18:13 +0000)]
More grammaro's fixed.

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

19 years agoClean up some grammaro's.
Reid Spencer [Thu, 9 Dec 2004 18:02:53 +0000 (18:02 +0000)]
Clean up some grammaro's.

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

19 years agoCorrect the version numbers for automake, Perl, and CVS.
Reid Spencer [Thu, 9 Dec 2004 17:55:37 +0000 (17:55 +0000)]
Correct the version numbers for automake, Perl, and CVS.

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

19 years agoFully document the LLVM constants. This should go into LLVM 1.4
Chris Lattner [Thu, 9 Dec 2004 17:30:23 +0000 (17:30 +0000)]
Fully document the LLVM constants.  This should go into LLVM 1.4

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

19 years agoReflow and clean up some of the HTML in the initial section, split linkage
Chris Lattner [Thu, 9 Dec 2004 16:36:40 +0000 (16:36 +0000)]
Reflow and clean up some of the HTML in the initial section, split linkage
types into its own section.

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

19 years agoMove the "High Level Structure" to before "Type System"
Chris Lattner [Thu, 9 Dec 2004 16:11:40 +0000 (16:11 +0000)]
Move the "High Level Structure" to before "Type System"

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

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