Commit Graph

9237 Commits

Author SHA1 Message Date
Chris Lattner
3eaa9eec80 Revert the previous patch since it causes lots of miscompilations. :( :(
llvm-svn: 10172
2003-11-22 19:07:47 +00:00
Brian Gaeke
29723ca977 Support constant casting constant pointers to ints/uints, and/or
the other way around, instead of failing a large, tumor-like assertion.

llvm-svn: 10171
2003-11-22 07:18:25 +00:00
Brian Gaeke
296546cf0c Constant shift expressions, meet InstSelectSimple. Yow!!
llvm-svn: 10170
2003-11-22 06:49:41 +00:00
Brian Gaeke
dafe82129c Unbreak this test case - llvm-as no longer tolerates redefining names in any
given type plane.

llvm-svn: 10169
2003-11-22 06:18:35 +00:00
Brian Gaeke
8c4c9f6f1e Stub for constant shift expr support.
llvm-svn: 10168
2003-11-22 05:18:35 +00:00
Brian Gaeke
17db893394 Fix PR149 - support constant shift expressions.
llvm-svn: 10167
2003-11-22 05:02:56 +00:00
Brian Gaeke
ef4b6f1647 Strengthen test case.
llvm-svn: 10166
2003-11-22 05:01:57 +00:00
Brian Gaeke
8ba9deba09 C Writer was dumping core on this test case.
llvm-svn: 10165
2003-11-22 04:58:25 +00:00
Chris Lattner
7d794a8431 Delete dead line
llvm-svn: 10164
2003-11-22 02:26:17 +00:00
Chris Lattner
87e444b65b Fix bug: Transforms/PruneEH/2003-11-21-PHIUpdate.llx
llvm-svn: 10163
2003-11-22 02:20:36 +00:00
Chris Lattner
916c27ba4d New testcase that breaks the pruneeh pass
llvm-svn: 10162
2003-11-22 02:20:08 +00:00
Chris Lattner
a88e567e00 Do not crash when deleing a region with a dead invoke instruction
llvm-svn: 10161
2003-11-22 02:13:08 +00:00
Chris Lattner
a2120947bb Do not crash when dealing with invoke and unwind instructions!
llvm-svn: 10160
2003-11-22 02:10:38 +00:00
Chris Lattner
50d9290183 Use new interfaces
llvm-svn: 10159
2003-11-22 02:10:26 +00:00
Misha Brukman
422be7e77e Switch to the standard footer. This page is not yet W3C-compliant.
llvm-svn: 10158
2003-11-22 01:30:01 +00:00
Chris Lattner
3b71386e30 Finegrainify namespacification
The module stripping pass should not strip symbols on external globals

llvm-svn: 10157
2003-11-22 01:29:35 +00:00
Misha Brukman
d0f417ffa7 Align the W3C images on the right side, bottom of page.
llvm-svn: 10156
2003-11-22 01:26:21 +00:00
Misha Brukman
87d498dfd8 Styles for the page footer to align images properly.
llvm-svn: 10155
2003-11-22 01:23:53 +00:00
Misha Brukman
0a39030e79 Put the W3C graphics on the right side of the page.
llvm-svn: 10154
2003-11-22 01:23:39 +00:00
Chris Lattner
a0893ff97f Add newly fixed pr
llvm-svn: 10153
2003-11-22 01:14:58 +00:00
Misha Brukman
8df97f1656 This page now uses valid HTML 4.01 Strict and valid CSS.
llvm-svn: 10152
2003-11-22 01:07:30 +00:00
Misha Brukman
e6c102923e 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!!

llvm-svn: 10151
2003-11-22 01:00:11 +00:00
Misha Brukman
7f9c137b57 * No borders on images used as links
* Drop font-size from doc_footer class

This is now valid CSS.

llvm-svn: 10150
2003-11-22 00:59:08 +00:00
Misha Brukman
9411ec4939 * Use stylesheets
* Close <li>, <a>, and <p> tags

llvm-svn: 10149
2003-11-22 00:38:41 +00:00
Misha Brukman
1d9ac83d82 * 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.

llvm-svn: 10147
2003-11-21 23:48:54 +00:00
Chris Lattner
f987c67a53 Check return types of functions
llvm-svn: 10146
2003-11-21 22:32:23 +00:00
Misha Brukman
c4b71b53c7 Made paragraph structure more consistent.
llvm-svn: 10145
2003-11-21 22:30:25 +00:00
Chris Lattner
99e3cfd1b8 New testcase
llvm-svn: 10144
2003-11-21 22:28:49 +00:00
Misha Brukman
f1dba07a89 Added note about PR140: gccld generates script to run apps and load libraries.
llvm-svn: 10143
2003-11-21 22:11:12 +00:00
Chris Lattner
c837881d43 Considering that CI is not even IN SCOPE here, I wooda thought the compiler
would have caught this.  *sigh*

llvm-svn: 10142
2003-11-21 21:57:29 +00:00
Chris Lattner
9ae9c45d43 Finegrainify namespacification
llvm-svn: 10138
2003-11-21 21:54:22 +00:00
Chris Lattner
ebbe1376b3 Get rid of using decls, finegrainify namespacification
llvm-svn: 10137
2003-11-21 21:52:10 +00:00
Chris Lattner
5f38817de9 * 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.

llvm-svn: 10136
2003-11-21 21:46:09 +00:00
Chris Lattner
4a92f545ba Finegrainify namespacification
Print out the costs for functions that AREN'T inlined as well

llvm-svn: 10135
2003-11-21 21:45:31 +00:00
Chris Lattner
1b7c6e072b 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.

llvm-svn: 10134
2003-11-21 21:44:35 +00:00
Chris Lattner
1901b23d5d Fix problem Reid was having with external globals and nonexternal linkage
llvm-svn: 10133
2003-11-21 20:33:27 +00:00
Chris Lattner
70c6fff394 Don't crash on bogus source value
llvm-svn: 10132
2003-11-21 20:27:35 +00:00
Chris Lattner
a1da49a55c Finegrainify namespacification
llvm-svn: 10131
2003-11-21 20:23:48 +00:00
John Criswell
d38e92f298 Fixed another minor grammatical error.
llvm-svn: 10130
2003-11-21 17:42:22 +00:00
Chris Lattner
797e88aee9 Fix some problems with assertions printing
llvm-svn: 10129
2003-11-21 17:35:51 +00:00
Chris Lattner
acd028d92a improve error message
llvm-svn: 10128
2003-11-21 17:06:29 +00:00
Chris Lattner
2b7309dd1c Minor cleanups and simplifications
llvm-svn: 10127
2003-11-21 16:52:05 +00:00
John Criswell
29fec87d2f Minor grammatical and punctuation corrections.
llvm-svn: 10126
2003-11-21 16:09:42 +00:00
Brian Gaeke
8639bd254c Clean more qmtest files.
llvm-svn: 10125
2003-11-21 01:12:47 +00:00
Chris Lattner
d7d8b26e78 This function REALLY DOES return void
llvm-svn: 10124
2003-11-20 21:22:32 +00:00
Chris Lattner
01ab0d2d7b * Finegrainify namespacification
* Implement FuncResolve/2003-11-20-BogusResolveWarning.ll
   ... which eliminates a large number of annoying warnings.  I know misha
   will miss them though!

llvm-svn: 10123
2003-11-20 21:21:31 +00:00
Chris Lattner
7c86880898 Fix an all too common form of the 'Found global types that are not compatible' warning
llvm-svn: 10122
2003-11-20 21:04:35 +00:00
Chris Lattner
810180c090 Bug
llvm-svn: 10121
2003-11-20 20:59:57 +00:00
Chris Lattner
13cd6ef232 New testcase for PR143
llvm-svn: 10120
2003-11-20 20:57:33 +00:00
Brian Gaeke
068882b92d Blow away compiled versions of qmtest classes on 'make clean'.
llvm-svn: 10119
2003-11-20 19:57:17 +00:00