This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [tree-ssa] Update loop analysis 1/2


> Hi,
> 
> The problem with the main branch is that it uses the basic_block.aux 
> field for storing the number of back-edges during the loops detection.
> This patch inserts the basic_block.num_latches field, and uses it 
> instead of the basic_block.aux field.  

Why you don't change tree-SSA to use it's own field instead of abusing
aux field to do so.  Aux is intended for temporaly use and num_latches
seems to fit it, while tree-SSA usage seem not.

Honza


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]