On 08/16/2016 05:02 AM, Jan Hubicka wrote:
I don't think the backwards/FSM threader tries to update the profile
data at all right now.
This seems to be cause of the regression andrew is speaking about. I wrote
updating
of profile after threading few times and there was also Theresa's patch.
I tought all the threaders use common duplication engine and that one does the
updating?
I will try to dive into the code, but creating basic blocks with frequency 0
across hot
paths is bad idea - they will be optimized for size.
No, the updaters are independent. We'll need to port Theresa's work to
the newer scheme.
jeff