oota-llvm.git
20 years agoFix file header
Chris Lattner [Tue, 25 Nov 2003 20:11:47 +0000 (20:11 +0000)]
Fix file header

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

20 years agoRemove dead variable
Chris Lattner [Tue, 25 Nov 2003 20:11:00 +0000 (20:11 +0000)]
Remove dead variable

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

20 years agoUse gep_type_begin/end instead of looking for ubytes
Chris Lattner [Tue, 25 Nov 2003 20:10:07 +0000 (20:10 +0000)]
Use gep_type_begin/end instead of looking for ubytes

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

20 years agoConfigure script for ModuleMaker.
John Criswell [Tue, 25 Nov 2003 20:02:07 +0000 (20:02 +0000)]
Configure script for ModuleMaker.

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

20 years agoAuto-confed ModuleMaker.
John Criswell [Tue, 25 Nov 2003 19:59:59 +0000 (19:59 +0000)]
Auto-confed ModuleMaker.

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

20 years agoAuto-conf'ed the ModuleMaker code.
John Criswell [Tue, 25 Nov 2003 19:59:21 +0000 (19:59 +0000)]
Auto-conf'ed the ModuleMaker code.
Moved Makefile.common to Makefile.common.in.

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

20 years agoRename class to be consistent with other iterator classes
Chris Lattner [Tue, 25 Nov 2003 19:58:35 +0000 (19:58 +0000)]
Rename class to be consistent with other iterator classes

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

20 years agoInitial checkin of gep_type_begin/end which will be used to address PR82
Chris Lattner [Tue, 25 Nov 2003 19:37:28 +0000 (19:37 +0000)]
Initial checkin of gep_type_begin/end which will be used to address PR82

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

20 years agoAll directory targets now install the Makefile only if it is missing.
John Criswell [Tue, 25 Nov 2003 19:32:22 +0000 (19:32 +0000)]
All directory targets now install the Makefile only if it is missing.
Directory targets no longer check for existance of the directory in the
object tree; if the Makefile doesn't exist, we will re-create the directory.
This seems to be a pretty good assumption and saves us from checking
directory existance each time.

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

20 years agoFinegrainify namespacification
Chris Lattner [Tue, 25 Nov 2003 18:33:40 +0000 (18:33 +0000)]
Finegrainify namespacification

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

20 years agoAdded a pseudo-hack: The Makefile now copies Makefiles from source tree to
John Criswell [Tue, 25 Nov 2003 17:49:22 +0000 (17:49 +0000)]
Added a pseudo-hack: The Makefile now copies Makefiles from source tree to
object tree if it is missing.  This means that new Makefiles should get
picked up automagically, requiring less bothersome re-configuring after
updates.

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

20 years agoboog
Chris Lattner [Tue, 25 Nov 2003 08:49:12 +0000 (08:49 +0000)]
boog

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

20 years agotestcase for PR 148
Chris Lattner [Tue, 25 Nov 2003 08:45:38 +0000 (08:45 +0000)]
testcase for PR 148

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

20 years agoTestcase for PR147
Chris Lattner [Tue, 25 Nov 2003 03:58:49 +0000 (03:58 +0000)]
Testcase for PR147

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

20 years agoFix PR147
Chris Lattner [Tue, 25 Nov 2003 03:54:16 +0000 (03:54 +0000)]
Fix PR147

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

20 years agoadd link to the stacker dox
Chris Lattner [Tue, 25 Nov 2003 03:32:57 +0000 (03:32 +0000)]
add link to the stacker dox

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

20 years agoMinor fixes
Chris Lattner [Tue, 25 Nov 2003 01:44:27 +0000 (01:44 +0000)]
Minor fixes

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

20 years agoApply docs patch fro Reid
Chris Lattner [Tue, 25 Nov 2003 01:35:06 +0000 (01:35 +0000)]
Apply docs patch fro Reid

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

20 years agocheckin reid's docpatch
Chris Lattner [Tue, 25 Nov 2003 01:02:51 +0000 (01:02 +0000)]
checkin reid's docpatch

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

20 years agoModified directory building rules so that using the cd program/alias is
John Criswell [Mon, 24 Nov 2003 18:31:01 +0000 (18:31 +0000)]
Modified directory building rules so that using the cd program/alias is
not necessary.

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

20 years agoApply doc patch from PR136.
Brian Gaeke [Mon, 24 Nov 2003 17:03:38 +0000 (17:03 +0000)]
Apply doc patch from PR136.

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

21 years agoFix copy-pasto.
Misha Brukman [Mon, 24 Nov 2003 05:36:38 +0000 (05:36 +0000)]
Fix copy-pasto.

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

21 years agoI'm gonna be picky and say we don't really need that trailing slash "lib/"
Misha Brukman [Mon, 24 Nov 2003 05:31:57 +0000 (05:31 +0000)]
I'm gonna be picky and say we don't really need that trailing slash "lib/"

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

21 years agoMake sure we ONLY add a `-load' switch to the JIT command line if the file is
Misha Brukman [Mon, 24 Nov 2003 05:29:42 +0000 (05:29 +0000)]
Make sure we ONLY add a `-load' switch to the JIT command line if the file is
verified as having an ELF header. This fixes PR151.

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

21 years agoExpose functionality to query if a file is an ELF shared object.
Misha Brukman [Mon, 24 Nov 2003 05:28:39 +0000 (05:28 +0000)]
Expose functionality to query if a file is an ELF shared object.

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

21 years agoAdd ability to query if a file is a legitimate ELF shared object.
Misha Brukman [Mon, 24 Nov 2003 05:28:12 +0000 (05:28 +0000)]
Add ability to query if a file is a legitimate ELF shared object.

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

21 years agoApply patches from PR136
Brian Gaeke [Mon, 24 Nov 2003 02:57:25 +0000 (02:57 +0000)]
Apply patches from PR136

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

21 years agoRegenerated using autoconf-2.57
Brian Gaeke [Mon, 24 Nov 2003 02:54:57 +0000 (02:54 +0000)]
Regenerated using autoconf-2.57

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

21 years agoAdd Stacker directories.
Brian Gaeke [Mon, 24 Nov 2003 02:54:17 +0000 (02:54 +0000)]
Add Stacker directories.

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

21 years agoAdd documentation for Stacker.
Brian Gaeke [Mon, 24 Nov 2003 02:52:51 +0000 (02:52 +0000)]
Add documentation for Stacker.

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

21 years agoAdd a script I missed
Chris Lattner [Sun, 23 Nov 2003 18:12:51 +0000 (18:12 +0000)]
Add a script I missed

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

21 years agoCheckin tests
Chris Lattner [Sun, 23 Nov 2003 18:12:22 +0000 (18:12 +0000)]
Checkin tests

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

21 years agoDisable test.
Chris Lattner [Sun, 23 Nov 2003 18:10:25 +0000 (18:10 +0000)]
Disable test.

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

21 years agoFix these assertions:
Chris Lattner [Sun, 23 Nov 2003 18:06:37 +0000 (18:06 +0000)]
Fix these assertions:

stkrc -e -f -o testing.bc testing.st
Global is external, but doesn't have external linkage!
[1024 x int]* %_stack_
Global is external, but doesn't have external linkage!
long* %_index_
Broken module found, compilation aborted!

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

21 years agoCheckin the stacker compiler
Chris Lattner [Sun, 23 Nov 2003 18:01:26 +0000 (18:01 +0000)]
Checkin the stacker compiler

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

21 years agoFix file header
Chris Lattner [Sun, 23 Nov 2003 17:59:43 +0000 (17:59 +0000)]
Fix file header

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

21 years agoInitial checkin
Chris Lattner [Sun, 23 Nov 2003 17:58:46 +0000 (17:58 +0000)]
Initial checkin

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

21 years agoInitial checkin of stacker samples
Chris Lattner [Sun, 23 Nov 2003 17:55:19 +0000 (17:55 +0000)]
Initial checkin of stacker samples

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

21 years agoAdjust file header
Chris Lattner [Sun, 23 Nov 2003 17:54:18 +0000 (17:54 +0000)]
Adjust file header

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

21 years agoInitial checkin of stacker runtime
Chris Lattner [Sun, 23 Nov 2003 17:53:46 +0000 (17:53 +0000)]
Initial checkin of stacker runtime

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

21 years agoInitial stacker checkin
Chris Lattner [Sun, 23 Nov 2003 17:52:55 +0000 (17:52 +0000)]
Initial stacker checkin

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

21 years agoUpdate file header
Chris Lattner [Sun, 23 Nov 2003 17:51:56 +0000 (17:51 +0000)]
Update file header

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

21 years agoinitial checkin of stacker makefile
Chris Lattner [Sun, 23 Nov 2003 17:51:37 +0000 (17:51 +0000)]
initial checkin of stacker makefile

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

21 years agoDo not DESTROY programs by default. No wonder bugpoint was not being useful all...
Chris Lattner [Sun, 23 Nov 2003 04:51:05 +0000 (04:51 +0000)]
Do not DESTROY programs by default.  No wonder bugpoint was not being useful all this time!

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

21 years agoA better way to get std::pair into the compiler's little, walnut-sized brain.
Brian Gaeke [Sun, 23 Nov 2003 03:50:31 +0000 (03:50 +0000)]
A better way to get std::pair into the compiler's little, walnut-sized brain.

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

21 years agoThis is a hack to make this file compile under g++-3.0.x;
Brian Gaeke [Sun, 23 Nov 2003 00:55:27 +0000 (00:55 +0000)]
This is a hack to make this file compile under g++-3.0.x;
otherwise it can't decide what std::pair is. It seemed relatively
harmless.

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

21 years agoRevert the previous patch since it causes lots of miscompilations. :( :(
Chris Lattner [Sat, 22 Nov 2003 19:07:47 +0000 (19:07 +0000)]
Revert the previous patch since it causes lots of miscompilations.  :( :(

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

21 years agoSupport constant casting constant pointers to ints/uints, and/or
Brian Gaeke [Sat, 22 Nov 2003 07:18:25 +0000 (07:18 +0000)]
Support constant casting constant pointers to ints/uints, and/or
the other way around, instead of failing a large, tumor-like assertion.

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

21 years agoConstant shift expressions, meet InstSelectSimple. Yow!!
Brian Gaeke [Sat, 22 Nov 2003 06:49:41 +0000 (06:49 +0000)]
Constant shift expressions, meet InstSelectSimple.   Yow!!

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

21 years agoUnbreak this test case - llvm-as no longer tolerates redefining names in any
Brian Gaeke [Sat, 22 Nov 2003 06:18:35 +0000 (06:18 +0000)]
Unbreak this test case - llvm-as no longer tolerates redefining names in any
given type plane.

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

21 years agoStub for constant shift expr support.
Brian Gaeke [Sat, 22 Nov 2003 05:18:35 +0000 (05:18 +0000)]
Stub for constant shift expr support.

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

21 years agoFix PR149 - support constant shift expressions.
Brian Gaeke [Sat, 22 Nov 2003 05:02:56 +0000 (05:02 +0000)]
Fix PR149 - support constant shift expressions.

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

21 years agoStrengthen test case.
Brian Gaeke [Sat, 22 Nov 2003 05:01:57 +0000 (05:01 +0000)]
Strengthen test case.

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

21 years agoC Writer was dumping core on this test case.
Brian Gaeke [Sat, 22 Nov 2003 04:58:25 +0000 (04:58 +0000)]
C Writer was dumping core on this test case.

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

21 years agoDelete dead line
Chris Lattner [Sat, 22 Nov 2003 02:26:17 +0000 (02:26 +0000)]
Delete dead line

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

21 years agoFix bug: Transforms/PruneEH/2003-11-21-PHIUpdate.llx
Chris Lattner [Sat, 22 Nov 2003 02:20:36 +0000 (02:20 +0000)]
Fix bug: Transforms/PruneEH/2003-11-21-PHIUpdate.llx

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

21 years agoNew testcase that breaks the pruneeh pass
Chris Lattner [Sat, 22 Nov 2003 02:20:08 +0000 (02:20 +0000)]
New testcase that breaks the pruneeh pass

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

21 years agoDo not crash when deleing a region with a dead invoke instruction
Chris Lattner [Sat, 22 Nov 2003 02:13:08 +0000 (02:13 +0000)]
Do not crash when deleing a region with a dead invoke instruction

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

21 years agoDo not crash when dealing with invoke and unwind instructions!
Chris Lattner [Sat, 22 Nov 2003 02:10:38 +0000 (02:10 +0000)]
Do not crash when dealing with invoke and unwind instructions!

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

21 years agoUse new interfaces
Chris Lattner [Sat, 22 Nov 2003 02:10:26 +0000 (02:10 +0000)]
Use new interfaces

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

21 years agoSwitch to the standard footer. This page is not yet W3C-compliant.
Misha Brukman [Sat, 22 Nov 2003 01:30:01 +0000 (01:30 +0000)]
Switch to the standard footer. This page is not yet W3C-compliant.

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

21 years agoFinegrainify namespacification
Chris Lattner [Sat, 22 Nov 2003 01:29:35 +0000 (01:29 +0000)]
Finegrainify namespacification
The module stripping pass should not strip symbols on external globals

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

21 years agoAlign the W3C images on the right side, bottom of page.
Misha Brukman [Sat, 22 Nov 2003 01:26:21 +0000 (01:26 +0000)]
Align the W3C images on the right side, bottom of page.

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

21 years agoStyles for the page footer to align images properly.
Misha Brukman [Sat, 22 Nov 2003 01:23:53 +0000 (01:23 +0000)]
Styles for the page footer to align images properly.

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

21 years agoPut the W3C graphics on the right side of the page.
Misha Brukman [Sat, 22 Nov 2003 01:23:39 +0000 (01:23 +0000)]
Put the W3C graphics on the right side of the page.

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

21 years agoAdd newly fixed pr
Chris Lattner [Sat, 22 Nov 2003 01:14:58 +0000 (01:14 +0000)]
Add newly fixed pr

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

21 years agoThis page now uses valid HTML 4.01 Strict and valid CSS.
Misha Brukman [Sat, 22 Nov 2003 01:07:30 +0000 (01:07 +0000)]
This page now uses valid HTML 4.01 Strict and valid CSS.

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

21 years agoThis document is now valid HTML 4.01 Strict and valid CSS.
Misha Brukman [Sat, 22 Nov 2003 01:00:11 +0000 (01:00 +0000)]
This document is now valid HTML 4.01 Strict and valid CSS.
We shall display images to that effect.

If you modify this file, check that you haven't broken anything by clicking on
those links, or I will hunt you down and force you to memorize the HTML and CSS
specs!!

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

21 years ago* No borders on images used as links
Misha Brukman [Sat, 22 Nov 2003 00:59:08 +0000 (00:59 +0000)]
* No borders on images used as links
* Drop font-size from doc_footer class

This is now valid CSS.

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

21 years ago* Use stylesheets
Misha Brukman [Sat, 22 Nov 2003 00:38:41 +0000 (00:38 +0000)]
* Use stylesheets
* Close <li>, <a>, and <p> tags

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

21 years ago* Add code to flush the ICache, which any self-respecting SMC must do
Misha Brukman [Fri, 21 Nov 2003 23:48:54 +0000 (23:48 +0000)]
* Add code to flush the ICache, which any self-respecting SMC must do
* Restore registers *after* everything else to avoid any possible side effects

This fixes McCat-imp.

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

21 years agoCheck return types of functions
Chris Lattner [Fri, 21 Nov 2003 22:32:23 +0000 (22:32 +0000)]
Check return types of functions

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

21 years agoMade paragraph structure more consistent.
Misha Brukman [Fri, 21 Nov 2003 22:30:25 +0000 (22:30 +0000)]
Made paragraph structure more consistent.

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

21 years agoNew testcase
Chris Lattner [Fri, 21 Nov 2003 22:28:49 +0000 (22:28 +0000)]
New testcase

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

21 years agoAdded note about PR140: gccld generates script to run apps and load libraries.
Misha Brukman [Fri, 21 Nov 2003 22:11:12 +0000 (22:11 +0000)]
Added note about PR140: gccld generates script to run apps and load libraries.

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

21 years agoConsidering that CI is not even IN SCOPE here, I wooda thought the compiler
Chris Lattner [Fri, 21 Nov 2003 21:57:29 +0000 (21:57 +0000)]
Considering that CI is not even IN SCOPE here, I wooda thought the compiler
would have caught this.  *sigh*

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

21 years agoFinegrainify namespacification
Chris Lattner [Fri, 21 Nov 2003 21:54:22 +0000 (21:54 +0000)]
Finegrainify namespacification

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

21 years agoGet rid of using decls, finegrainify namespacification
Chris Lattner [Fri, 21 Nov 2003 21:52:10 +0000 (21:52 +0000)]
Get rid of using decls, finegrainify namespacification

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

21 years ago* Finegrainify namespacification
Chris Lattner [Fri, 21 Nov 2003 21:46:09 +0000 (21:46 +0000)]
* Finegrainify namespacification
* Make the cost metric for passing constants in as arguments to functions MUCH
  more accurate, by actually estimating the amount of code that will be constant
  propagated away.

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

21 years agoFinegrainify namespacification
Chris Lattner [Fri, 21 Nov 2003 21:45:31 +0000 (21:45 +0000)]
Finegrainify namespacification
Print out the costs for functions that AREN'T inlined as well

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

21 years agoReorder passes a bit. In particular, it makes sense to run globaldce IMMEDIATELY...
Chris Lattner [Fri, 21 Nov 2003 21:44:35 +0000 (21:44 +0000)]
Reorder passes a bit.  In particular, it makes sense to run globaldce IMMEDIATELY after funcresolve.  Also, run the mem2reg pass _early_ so that IPCP and DAE actually do stuff.
Run instcombine and simplify cfg after this to cleanup the intraprocedural messes we create.

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

21 years agoFix problem Reid was having with external globals and nonexternal linkage
Chris Lattner [Fri, 21 Nov 2003 20:33:27 +0000 (20:33 +0000)]
Fix problem Reid was having with external globals and nonexternal linkage

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

21 years agoDon't crash on bogus source value
Chris Lattner [Fri, 21 Nov 2003 20:27:35 +0000 (20:27 +0000)]
Don't crash on bogus source value

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

21 years agoFinegrainify namespacification
Chris Lattner [Fri, 21 Nov 2003 20:23:48 +0000 (20:23 +0000)]
Finegrainify namespacification

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

21 years agoFixed another minor grammatical error.
John Criswell [Fri, 21 Nov 2003 17:42:22 +0000 (17:42 +0000)]
Fixed another minor grammatical error.

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

21 years agoFix some problems with assertions printing
Chris Lattner [Fri, 21 Nov 2003 17:35:51 +0000 (17:35 +0000)]
Fix some problems with assertions printing

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

21 years agoimprove error message
Chris Lattner [Fri, 21 Nov 2003 17:06:29 +0000 (17:06 +0000)]
improve error message

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

21 years agoMinor cleanups and simplifications
Chris Lattner [Fri, 21 Nov 2003 16:52:05 +0000 (16:52 +0000)]
Minor cleanups and simplifications

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

21 years agoMinor grammatical and punctuation corrections.
John Criswell [Fri, 21 Nov 2003 16:09:42 +0000 (16:09 +0000)]
Minor grammatical and punctuation corrections.

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

21 years agoClean more qmtest files.
Brian Gaeke [Fri, 21 Nov 2003 01:12:47 +0000 (01:12 +0000)]
Clean more qmtest files.

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

21 years agoThis function REALLY DOES return void
Chris Lattner [Thu, 20 Nov 2003 21:22:32 +0000 (21:22 +0000)]
This function REALLY DOES return void

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

21 years ago* Finegrainify namespacification
Chris Lattner [Thu, 20 Nov 2003 21:21:31 +0000 (21:21 +0000)]
* Finegrainify namespacification
* Implement FuncResolve/2003-11-20-BogusResolveWarning.ll
   ... which eliminates a large number of annoying warnings.  I know misha
   will miss them though!

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

21 years agoFix an all too common form of the 'Found global types that are not compatible' warning
Chris Lattner [Thu, 20 Nov 2003 21:04:35 +0000 (21:04 +0000)]
Fix an all too common form of the 'Found global types that are not compatible' warning

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

21 years agoBug
Chris Lattner [Thu, 20 Nov 2003 20:59:57 +0000 (20:59 +0000)]
Bug

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

21 years agoNew testcase for PR143
Chris Lattner [Thu, 20 Nov 2003 20:57:33 +0000 (20:57 +0000)]
New testcase for PR143

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

21 years agoBlow away compiled versions of qmtest classes on 'make clean'.
Brian Gaeke [Thu, 20 Nov 2003 19:57:17 +0000 (19:57 +0000)]
Blow away compiled versions of qmtest classes on 'make clean'.

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

21 years agoFix0r a test that mistakenly used %llvmg++ instead of %llvmgxx.
Brian Gaeke [Thu, 20 Nov 2003 19:51:11 +0000 (19:51 +0000)]
Fix0r a test that mistakenly used %llvmg++ instead of %llvmgxx.

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

21 years agoBug
Chris Lattner [Thu, 20 Nov 2003 19:30:17 +0000 (19:30 +0000)]
Bug

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

21 years agoNew testcase for PR132
Chris Lattner [Thu, 20 Nov 2003 19:27:12 +0000 (19:27 +0000)]
New testcase for PR132

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

21 years agoBug fix
Chris Lattner [Thu, 20 Nov 2003 19:11:47 +0000 (19:11 +0000)]
Bug fix

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