2009-11-30 Paolo Bonzini <bonzini@gnu.org>
commit426e6c738cc332300bc50f3bfbac47afea256a88
authorbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Nov 2009 07:34:55 +0000 (30 07:34 +0000)
committerbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Nov 2009 07:34:55 +0000 (30 07:34 +0000)
treef00884f0bf62a839c7294b60335acdff07cd665b
parent08dc6a501c685f2e961fae92388bc449ad097e86
2009-11-30  Paolo Bonzini  <bonzini@gnu.org>

PR rtl-optimization/41812
* fwprop.c (local_md, local_lr): New globals.
(process_defs, process_uses): Remove local_md argument.  Never
consider dead pseudos to have singleton def-use chains.
(single_def_use_enter_block): Perform LR simulation.
(build_single_def_use_links): Remove local_md local variable.
Add DF_NOTE.  Allocate local_lr.
(fwprop_done): Do not remove DF_CHAIN, we do not use it anymore.
* df-problems.c (df_md_scratch): New.
(df_md_alloc, df_md_free): Allocate/free it.
(df_md_local_compute): Only include live registers in init.
(df_md_transfer_function): Prune the in-set computed by
the confluence function, and the gen-set too.
(df_simulate_one_insn_forwards): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154753 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/df-problems.c
gcc/fwprop.c