no_new_pseudos

Richard Earnshaw Richard.Earnshaw@arm.com
Mon Jul 2 16:16:00 GMT 2007


On Mon, 2007-07-02 at 12:10 -0400, Kenneth Zadeck wrote:
> I do not remember if it was stevenb or bonzini that observed that
> because of changes that came with the dataflow branch it is now trivial
> to get rid of no_new_pseudos.  All of the sets can just go away, as well
> as the tests of it that occur in passes that only run before reload.
> 
> For those few passes that can run both before and after reload, the test
> would be replaced with a test of reload_completed.
> 
> I believe that the original purpose of this was to protect certain
> datastructures that had to be resized manually when pseudos were added. 
> However, all of these are gone, and have been replaced with structures
> inside of df that are automatically resized.
> 
> Does anyone think this is a bad idea?  A grep for no_new_pseudos bears
> out that nothing is really going on here anymore. 

There are 199 uses of it in the backends; compared to 32 in the front
end.

So it is quite heavily used by MD code.

R.
-- 
Richard Earnshaw             Email: Richard.Earnshaw@arm.com
ARM Ltd                      Phone: +44 1223 400569 (Direct + VoiceMail)
110 Fulbourn Road            Switchboard: +44 1223 400400
Cherry Hinton                Fax: +44 1223 400410
Cambridge CB1 9NJ            Web: http://www.arm.com/
UK

-- 
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.  Thank you.




More information about the Gcc mailing list