diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-01-13 15:42:08 +0000 |
---|---|---|
committer | Dongkyun Son <dongkyun.s@samsung.com> | 2017-09-04 10:33:44 +0900 |
commit | 04f427c7aa9f2d53b1cfe18704857dc74bd5dd0b (patch) | |
tree | cb38d621e3e8eefeda279eafcb006e598ca2dec7 /libsanitizer | |
parent | c77483e67bdcb1f14614db5ee051f5b05199af6d (diff) | |
download | linaro-gcc-sandbox/dkson95/memset.tar.gz linaro-gcc-sandbox/dkson95/memset.tar.bz2 linaro-gcc-sandbox/dkson95/memset.zip |
PR tree-optimization/33562sandbox/dkson95/memset
PR tree-optimization/61912
PR tree-optimization/77485
* doc/invoke.texi: Document new dse-max-object-size param.
* params.def (PARM_DSE_MAX_OBJECT_SIZE): New PARAM.
* tree-ssa-dse.c: Include params.h.
(dse_store_status): New enum.
(initialize_ao_ref_for_dse): New, partially extracted from
dse_optimize_stmt.
(valid_ao_ref_for_dse, normalize_ref): New.
(setup_live_bytes_from_ref, compute_trims): Likewise.
(clear_bytes_written_by, maybe_trim_complex_store): Likewise.
(maybe_trim_partially_dead_store): Likewise.
(maybe_trim_complex_store): Likewise.
(dse_classify_store): Renamed from dse_possibly_dead_store_p.
Track what bytes live from the original store. Return tri-state
for dead, partially dead or live.
(dse_dom_walker): Add constructor, destructor and new private members.
(delete_dead_call, delete_dead_assignment): New extracted from
dse_optimize_stmt.
(dse_optimize_stmt): Make a member of dse_dom_walker.
Use initialize_ao_ref_for_dse.
PR tree-optimization/33562
PR tree-optimization/61912
PR tree-optimization/77485
* gcc.dg/tree-ssa/complex-4.c: Remove xfail.
* gcc.dg/tree-ssa/complex-5.c: Likewise.
* gcc.dg/tree-ssa/ssa-dse-9.c: Likewise.
* gcc.dg/tree-ssa/ssa-dse-18.c: New test.
* gcc.dg/tree-ssa/ssa-dse-19.c: Likewise.
* gcc.dg/tree-ssa/ssa-dse-20.c: Likewise.
* gcc.dg/tree-ssa/ssa-dse-21.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@244442 138bc75d-0d04-0410-961f-82ee72b054a4
Conflicts:
gcc/ChangeLog
gcc/doc/invoke.texi
gcc/params.def
gcc/testsuite/ChangeLog
gcc/tree-ssa-dse.c
Diffstat (limited to 'libsanitizer')
0 files changed, 0 insertions, 0 deletions