diff options
author | eraman <eraman@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-14 22:58:20 +0000 |
---|---|---|
committer | eraman <eraman@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-14 22:58:20 +0000 |
commit | b4a708fb48eab01fc16e5439a8eb5b6b8695273d (patch) | |
tree | 662b41a9892d0c4bf66e9033dbc6f4d7251dc841 /gcc/config/cris/cris.c | |
parent | a22bf6ec92dc45cc3899271c53b9cc28e06e72ac (diff) | |
download | gcc-b4a708fb48eab01fc16e5439a8eb5b6b8695273d.tar.gz |
2011-06-14 Easwaran Raman <eraman@google.com>
PR rtl-optimization/44194
* dse.c: Include tree-flow.h
(insn_info): Add new field non_frame_wild_read.
(group_info): Add new fields escaped_n and escaped_p.
(kill_on_calls): New variable.
(get_group_info): Initialize gi->escaped_n and gi->escaped_p.
(dse_step0): Initialize kill_on_calls.
(can_escape): New function.
(set_usage_bits): Add additional parameter; record information
about escaped locations.
(record_store): Pass EXPR corresponding to MEM to
set_usage_bits.
(dse_step2_nospill): Set kill_on_calls based on
group->escaped_n and group->escaped_n.
(add_wild_read): Refactor into...
(reset_active_stores): ... New method, and
(free_read_records): ... New method.
(add_non_frame_wild_read): New method.
(scan_insn): Call add_non_frame_wild_read on non-const calls.
(scan_reads_nospill): Handle instructions with
non_frame_wild_read.
(dse_step5_nospill): Call scan_reads_nospill for instructions
marked as non_frame_wild_read.
(dse_step7): Free escaped_n, escaped_p and kill_on_calls
bitmaps.
testsuite/ChangeLog
2011-06-14 Easwaran Raman <eraman@google.com>
PR rtl-optimization/44194
* gcc.dg/pr44194-1.c: New test.
* gcc.dg/pr44194-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175063 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/cris/cris.c')
0 files changed, 0 insertions, 0 deletions