------- Comment #23 from steven at gcc dot gnu dot org 2008-11-27 15:26 ------- Created an attachment (id=16784) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16784&action=view) less unpolished version of tree code hoisting
This fixes some bugs in the proof-of-concept patch: 1. Don't hoist things out of loops. We have to look at ANTIC_IN of the block we hoist into, not the union of ANTIC_IN of all its successors. 2. Add a constraint that the hoisted expression must be computed in one of the successors of the block we're hoisting too. Also added comment so that the uninitiated don't have their eye balls dropping out in confusion ;-) I might actually post this for GCC 4.5 if it subsumes the RTL code hoisting pass. -- steven at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #16751|0 |1 is obsolete| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23286