aboutsummaryrefslogtreecommitdiff
path: root/gcc/hash-set.h
diff options
context:
space:
mode:
authorBin Cheng <bin.cheng@arm.com>2017-11-20 14:20:08 +0000
committerBin Cheng <amker@gcc.gnu.org>2017-11-20 14:20:08 +0000
commit9cdcebf971e71e69a773d729b97cfb55652cca31 (patch)
tree9ce904293837925904cc45a82747acaecf2be5be /gcc/hash-set.h
parent90ef577378e880769532ef1f68d7d3da4c2661e7 (diff)
downloadgcc-9cdcebf971e71e69a773d729b97cfb55652cca31.zip
gcc-9cdcebf971e71e69a773d729b97cfb55652cca31.tar.gz
gcc-9cdcebf971e71e69a773d729b97cfb55652cca31.tar.bz2
tree-predcom.c: Add general comment on Store-Store chains.
* tree-predcom.c: Add general comment on Store-Store chains. (split_data_refs_to_components): Postpone clearing eliminate_store_p flag in component. (get_chain_last_ref_at): Rename into... (get_chain_last_write_at): ...this. (get_chain_last_write_before_load): New function. (add_ref_to_chain): Promote type of chain from CT_STORE_LOAD to CT_STORE_STORE when write reference is added. (determine_roots_comp): Support load ref in CT_STORE_STORE chains. (is_inv_store_elimination_chain): Update get_chain_last_write_at call. (initialize_root_vars_store_elim_1): Ditto. (initialize_root_vars_store_elim_2): Ditto. Replace rhs once default definition is created. (execute_pred_commoning_chain): Support load ref in CT_STORE_STORE chain by replacing it with dominant stored value. gcc/testsuite * gcc.dg/tree-ssa/predcom-dse-12.c: New test. From-SVN: r254956
Diffstat (limited to 'gcc/hash-set.h')
0 files changed, 0 insertions, 0 deletions