On Thu, Dec 06, 2012 at 01:48:31PM +0100, Steven Bosscher wrote: > Hello, > > This patch has 3 parts: > > 1. Benign comment fixes. > > 2. Using DF_REF_REG_MEM_P idiom. Also benign. > > 3. Real bug fixes for cfglayout mode. > > For (3) the fixes are: > - Pointers to the unlinked parts of the insns chain are not cleared, > which results in complete RTL bodies being left not > garbage-collectable until the next function goes into cfglayout mode. > When compiling an artificial test case with two very large functions, > this patch reduces memory footprint by ~33%. > - Looking for BARRIERs as, well, barriers between basic blocks doesn't > work in cfglayout mode: the barriers are not there (they're in > BB_FOOTER, not in the insns chain). > > Bootstrapped&tested on powerpc64-unknown-linux-gnu. OK for trunk? > > Ciao! > Steven > > > > * bitmap.h: Fix "set_difference" references in comment. > * dse.c (dse_bitmap_obstack): Fix comment. > > * loop-invariant.c (record_use): Use DF_REF_REG_MEM_P instead of > looking at specific flags.
Dunno about the rest, but these parts look ok. Marek