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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Misha Brukman [Thu, 20 Nov 2003 19:08:42 +0000 (19:08 +0000)]
When writing out the runner script, add -load=<lib> lines to pull in all the
shared objects automagically, so it doesn't have to be done by hand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10114
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 20 Nov 2003 19:08:06 +0000 (19:08 +0000)]
Add ability to search only for native shared object, and expose the
functionality to the rest of gccld.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10113
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Nov 2003 19:05:21 +0000 (19:05 +0000)]
New testcase for PR141
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10112
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Nov 2003 18:25:24 +0000 (18:25 +0000)]
Start using the nicer terminator auto-insertion API
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10111
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Nov 2003 18:23:14 +0000 (18:23 +0000)]
Spew symbolic types!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10110
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Nov 2003 18:19:35 +0000 (18:19 +0000)]
When spewing out warnings during function resolution, do not vomit out pages
and pages of non-symbolic types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10109
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Nov 2003 18:11:56 +0000 (18:11 +0000)]
Somehow I forgot poor little UnwindInst
*sniff*
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10108
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Nov 2003 17:45:12 +0000 (17:45 +0000)]
* Finegrainify namespacification
* Add new constructors to allow insertion of terminator instructions at the
end of basic blocks.
* Move a ReturnInst method out-of-line, so that the vtable and type info don't
need to be emitted to every translation unit that uses the class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10107
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Nov 2003 17:44:37 +0000 (17:44 +0000)]
* Add new constructors to allow insertion of terminator instructions at the
end of basic blocks.
* Document some confusing constructor combinations
* Move a ReturnInst method out-of-line, so that the vtable and type info don't
need to be emitted to every translation unit that uses the class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10106
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 20 Nov 2003 06:26:15 +0000 (06:26 +0000)]
For consistency, removed space between function name and left paren in function
call, i.e. [ addPass (...) ] => [ addPass(...) ]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10105
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 20 Nov 2003 06:21:54 +0000 (06:21 +0000)]
* Doxygenified comments, simplifying them and shortening in the process
* Eliminated extra space
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10104
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Thu, 20 Nov 2003 03:32:25 +0000 (03:32 +0000)]
Merging the linear scan register allocator in trunk. It currently passes most tests under test/Programs/SingleSource/Benchmarks/Shootout so development will continue on trunk. The allocator is not enabled by default. You will need to pass -regallo=linearscan to lli or llc to use it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10103
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Nov 2003 01:07:41 +0000 (01:07 +0000)]
One new bug fixed, one old bug fixed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10102
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Nov 2003 00:32:57 +0000 (00:32 +0000)]
Testcase for PR113
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10101
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Nov 2003 00:09:43 +0000 (00:09 +0000)]
Don't crash if we are printing an orphaned basic block!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10100
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Wed, 19 Nov 2003 22:15:00 +0000 (22:15 +0000)]
Unbreak the "-" as filename hack.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10099
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 19 Nov 2003 22:05:38 +0000 (22:05 +0000)]
bugz
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10098
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Wed, 19 Nov 2003 21:57:30 +0000 (21:57 +0000)]
Also print an error msg. for files we cannot currently deal with.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10097
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Wed, 19 Nov 2003 21:52:09 +0000 (21:52 +0000)]
Fix PR134, by checking FileOpenable() on each input file before analyzing its
type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10096
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 19 Nov 2003 21:37:52 +0000 (21:37 +0000)]
New testcase for PR133
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10095
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Wed, 19 Nov 2003 21:13:25 +0000 (21:13 +0000)]
We now support different expectations for different OS's/architectures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10094
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 19 Nov 2003 21:08:57 +0000 (21:08 +0000)]
Fine grainify namespaceification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10093
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 19 Nov 2003 19:47:36 +0000 (19:47 +0000)]
update test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10092
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 19 Nov 2003 19:44:28 +0000 (19:44 +0000)]
Genericize tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10091
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 19 Nov 2003 19:42:12 +0000 (19:42 +0000)]
Cleanup test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10090
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 19 Nov 2003 19:20:20 +0000 (19:20 +0000)]
Really, there was a reason for me factoring that out
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10089
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 19 Nov 2003 19:10:23 +0000 (19:10 +0000)]
*** Significantly speed up type resultion
This change speeds up type resolution by checking to see if a type is
recursive, and if it's not, using a more efficient algorithm.
This dramatically reduces bytecode loading time of kc++, reducing time-to-jit
kc++ --version to 17s from 33s
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10088
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 19 Nov 2003 18:37:06 +0000 (18:37 +0000)]
Improve test portability
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10087
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 19 Nov 2003 18:34:44 +0000 (18:34 +0000)]
Fix testcase. This should no longer be XFAIL'd
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10086
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 19 Nov 2003 17:27:18 +0000 (17:27 +0000)]
* Finegrainify namespacification
* Strength reduce several data structures which were left over from the
"bad old days"
* Minor efficiency improvements
* Major efficiency improvement: In BytecodeParser::insertValue, do not allocate
a new ValueTab entry just because some value exists with a large type. This
dramatically reduces the number of allocations/deallocations performed by the
bytecode reader, and speeds up parsing of Kimwitu++ from 34s to 17s. This is
to help address PR127
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10085
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 19 Nov 2003 17:21:11 +0000 (17:21 +0000)]
Minor efficiency improvements, finegrainify namespacification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10084
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 19 Nov 2003 17:20:42 +0000 (17:20 +0000)]
In the future, these slabs can be null...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10083
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 19 Nov 2003 17:17:36 +0000 (17:17 +0000)]
Minor efficiency improvements all over. Finegrainify Namespacification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10082
91177308-0d34-0410-b5e6-
96231b3b80d8