Commit Graph

9388 Commits

Author SHA1 Message Date
Chris Lattner db8a179838 Revert the previous patch since it causes lots of miscompilations. :( :(
llvm-svn: 10172
2003-11-22 19:07:47 +00:00
Brian Gaeke 84c0efc946 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 9ba9225b35 Constant shift expressions, meet InstSelectSimple. Yow!!
llvm-svn: 10170
2003-11-22 06:49:41 +00:00
Brian Gaeke 8581a625df 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 e42b8fd298 Stub for constant shift expr support.
llvm-svn: 10168
2003-11-22 05:18:35 +00:00
Brian Gaeke 03f3611633 Fix PR149 - support constant shift expressions.
llvm-svn: 10167
2003-11-22 05:02:56 +00:00
Brian Gaeke 27a077209b Strengthen test case.
llvm-svn: 10166
2003-11-22 05:01:57 +00:00
Brian Gaeke b4c1782c7a C Writer was dumping core on this test case.
llvm-svn: 10165
2003-11-22 04:58:25 +00:00
Chris Lattner 28ebb3e0a6 Delete dead line
llvm-svn: 10164
2003-11-22 02:26:17 +00:00
Chris Lattner f40cdbe856 Fix bug: Transforms/PruneEH/2003-11-21-PHIUpdate.llx
llvm-svn: 10163
2003-11-22 02:20:36 +00:00
Chris Lattner 519900a36d New testcase that breaks the pruneeh pass
llvm-svn: 10162
2003-11-22 02:20:08 +00:00
Chris Lattner 4cc2cc5c58 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 7b233af247 Do not crash when dealing with invoke and unwind instructions!
llvm-svn: 10160
2003-11-22 02:10:38 +00:00
Chris Lattner 1e6089c2d6 Use new interfaces
llvm-svn: 10159
2003-11-22 02:10:26 +00:00
Misha Brukman 74d4df83cd 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 1ad805977d 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 e8e932a671 Align the W3C images on the right side, bottom of page.
llvm-svn: 10156
2003-11-22 01:26:21 +00:00
Misha Brukman 85ea4bb678 Styles for the page footer to align images properly.
llvm-svn: 10155
2003-11-22 01:23:53 +00:00
Misha Brukman 68aab3b3cf Put the W3C graphics on the right side of the page.
llvm-svn: 10154
2003-11-22 01:23:39 +00:00
Chris Lattner 3a9b2322e3 Add newly fixed pr
llvm-svn: 10153
2003-11-22 01:14:58 +00:00
Misha Brukman 58ec434f03 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 7cb4e38e2e 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 bff6032a34 * 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 80731b92ee * Use stylesheets
* Close <li>, <a>, and <p> tags

llvm-svn: 10149
2003-11-22 00:38:41 +00:00
Misha Brukman d181666052 * 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 3ae303cc8c Check return types of functions
llvm-svn: 10146
2003-11-21 22:32:23 +00:00
Misha Brukman bc2d3308fe Made paragraph structure more consistent.
llvm-svn: 10145
2003-11-21 22:30:25 +00:00
Chris Lattner 0e10ae4d0b New testcase
llvm-svn: 10144
2003-11-21 22:28:49 +00:00
Misha Brukman ffec0b7730 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 61b3f20bf1 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 f52e03c79e Finegrainify namespacification
llvm-svn: 10138
2003-11-21 21:54:22 +00:00
Chris Lattner 456031eed7 Get rid of using decls, finegrainify namespacification
llvm-svn: 10137
2003-11-21 21:52:10 +00:00
Chris Lattner 51c28a5c1b * 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 a82f131abb 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 52b4fb3fde 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 dcdc371522 Fix problem Reid was having with external globals and nonexternal linkage
llvm-svn: 10133
2003-11-21 20:33:27 +00:00
Chris Lattner 199bb859a9 Don't crash on bogus source value
llvm-svn: 10132
2003-11-21 20:27:35 +00:00
Chris Lattner 189d19fb04 Finegrainify namespacification
llvm-svn: 10131
2003-11-21 20:23:48 +00:00
John Criswell 745d0a5414 Fixed another minor grammatical error.
llvm-svn: 10130
2003-11-21 17:42:22 +00:00
Chris Lattner 7e5e456d96 Fix some problems with assertions printing
llvm-svn: 10129
2003-11-21 17:35:51 +00:00
Chris Lattner 9d72c2f229 improve error message
llvm-svn: 10128
2003-11-21 17:06:29 +00:00
Chris Lattner a29600046d Minor cleanups and simplifications
llvm-svn: 10127
2003-11-21 16:52:05 +00:00
John Criswell cc32e6e62a Minor grammatical and punctuation corrections.
llvm-svn: 10126
2003-11-21 16:09:42 +00:00
Brian Gaeke 71040f9251 Clean more qmtest files.
llvm-svn: 10125
2003-11-21 01:12:47 +00:00
Chris Lattner 3bf4fd9030 This function REALLY DOES return void
llvm-svn: 10124
2003-11-20 21:22:32 +00:00
Chris Lattner 8791e26de1 * 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 4eb18ce26d 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 5eac2d6615 Bug
llvm-svn: 10121
2003-11-20 20:59:57 +00:00
Chris Lattner 72e6b0c252 New testcase for PR143
llvm-svn: 10120
2003-11-20 20:57:33 +00:00
Brian Gaeke ce9a00cea6 Blow away compiled versions of qmtest classes on 'make clean'.
llvm-svn: 10119
2003-11-20 19:57:17 +00:00