Chris Lattner
c7afc06316
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
2003-11-23 18:06:37 +00:00
Chris Lattner
767a1e462d
Checkin the stacker compiler
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10184 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-23 18:01:26 +00:00
Chris Lattner
afec3dc21f
Fix file header
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10183 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-23 17:59:43 +00:00
Chris Lattner
42cb6df6a1
Initial checkin
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10182 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-23 17:58:46 +00:00
Chris Lattner
9d014e70bb
Initial checkin of stacker samples
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10181 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-23 17:55:19 +00:00
Chris Lattner
900f12b9f0
Adjust file header
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10180 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-23 17:54:18 +00:00
Chris Lattner
302810dbad
Initial checkin of stacker runtime
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10179 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-23 17:53:46 +00:00
Chris Lattner
f608e85323
Initial stacker checkin
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10178 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-23 17:52:55 +00:00
Chris Lattner
3fabd81605
Update file header
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10177 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-23 17:51:56 +00:00
Chris Lattner
2025b24bfd
initial checkin of stacker makefile
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10176 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-23 17:51:37 +00:00
Chris Lattner
c6b519d64e
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
2003-11-23 04:51:05 +00:00
Brian Gaeke
9bb2188b0e
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
2003-11-23 03:50:31 +00:00
Brian Gaeke
6de98f242a
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
2003-11-23 00:55:27 +00:00
Chris Lattner
3edb77c07e
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
2003-11-22 19:07:47 +00:00
Brian Gaeke
f9c86cf5cf
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
2003-11-22 07:18:25 +00:00
Brian Gaeke
dfcc9cfaa8
Constant shift expressions, meet InstSelectSimple. Yow!!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10170 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-22 06:49:41 +00:00
Brian Gaeke
3d55eda9da
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
2003-11-22 06:18:35 +00:00
Brian Gaeke
2dd3e1b435
Stub for constant shift expr support.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10168 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-22 05:18:35 +00:00
Brian Gaeke
0415b6c57a
Fix PR149 - support constant shift expressions.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10167 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-22 05:02:56 +00:00
Brian Gaeke
95c03fd204
Strengthen test case.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10166 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-22 05:01:57 +00:00
Brian Gaeke
b1ef7d6e35
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
2003-11-22 04:58:25 +00:00
Chris Lattner
ab25f5a6c1
Delete dead line
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10164 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-22 02:26:17 +00:00
Chris Lattner
3788c242be
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
2003-11-22 02:20:36 +00:00
Chris Lattner
be8d29909e
New testcase that breaks the pruneeh pass
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10162 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-22 02:20:08 +00:00
Chris Lattner
c8ecd22037
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
2003-11-22 02:13:08 +00:00
Chris Lattner
8bc098be0c
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
2003-11-22 02:10:38 +00:00
Chris Lattner
89eca9097d
Use new interfaces
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10159 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-22 02:10:26 +00:00
Misha Brukman
142207b9ec
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
2003-11-22 01:30:01 +00:00
Chris Lattner
35bb52f8b1
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
2003-11-22 01:29:35 +00:00
Misha Brukman
915cab2ac1
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
2003-11-22 01:26:21 +00:00
Misha Brukman
3f1b24c747
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
2003-11-22 01:23:53 +00:00
Misha Brukman
2061e89a38
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
2003-11-22 01:23:39 +00:00
Chris Lattner
9f9d00a13c
Add newly fixed pr
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10153 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-22 01:14:58 +00:00
Misha Brukman
5feba4e1df
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
2003-11-22 01:07:30 +00:00
Misha Brukman
e0c891c8da
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
2003-11-22 01:00:11 +00:00
Misha Brukman
e1f464e8eb
* 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
2003-11-22 00:59:08 +00:00
Misha Brukman
500bc30595
* 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
2003-11-22 00:38:41 +00:00
Misha Brukman
a59f41fc6c
* 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
2003-11-21 23:48:54 +00:00
Chris Lattner
c282f5a380
Check return types of functions
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10146 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-21 22:32:23 +00:00
Misha Brukman
1f254d50eb
Made paragraph structure more consistent.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10145 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-21 22:30:25 +00:00
Chris Lattner
e952f233a0
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10144 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-21 22:28:49 +00:00
Misha Brukman
76683d332e
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
2003-11-21 22:11:12 +00:00
Chris Lattner
6d1db01284
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
2003-11-21 21:57:29 +00:00
Chris Lattner
1e2385b941
Finegrainify namespacification
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10138 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-21 21:54:22 +00:00
Chris Lattner
1192283096
Get rid of using decls, finegrainify namespacification
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10137 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-21 21:52:10 +00:00
Chris Lattner
869adc283c
* 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
2003-11-21 21:46:09 +00:00
Chris Lattner
a51bcb50b0
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
2003-11-21 21:45:31 +00:00
Chris Lattner
14b170f5ff
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
2003-11-21 21:44:35 +00:00
Chris Lattner
afd0b4b24a
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
2003-11-21 20:33:27 +00:00
Chris Lattner
ae711a8b48
Don't crash on bogus source value
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10132 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-21 20:27:35 +00:00