Use DR_IS_WRITE instead of !DR_IS_READ.
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Sep 2010 20:05:42 +0000 (20:05 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Sep 2010 20:05:42 +0000 (20:05 +0000)
commit9ff256032c64eeed5baff9dfe5e0bf42dfbc3229
tree3121c570d8493a5ae6a5f6645bb5df55a57f04dd
parent6759eb68d2e10fd8493a7eecd0c0e13b0f076bbb
Use DR_IS_WRITE instead of !DR_IS_READ.

2010-09-03  Sebastian Pop  <sebastian.pop@amd.com>

* tree-data-ref.c (dr_may_alias_p): Replace !DR_IS_READ with
DR_IS_WRITE.
(compute_all_dependences): Same.
(create_rdg_edge_for_ddr): Same.
* tree-data-ref.h (DR_IS_WRITE): New.
(ddr_is_anti_dependent): Replace !DR_IS_READ with DR_IS_WRITE.
* tree-if-conv.c (write_memrefs_written_at_least_once): Same.
(write_memrefs_written_at_least_once): Same.
* tree-predcom.c (suitable_component_p): Same.
(determine_roots_comp): Same.
(execute_load_motion): Same.
* tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Same.
(vect_enhance_data_refs_alignment): Same.
(vect_analyze_group_access): Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163841 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-data-ref.c
gcc/tree-data-ref.h
gcc/tree-if-conv.c
gcc/tree-predcom.c
gcc/tree-vect-data-refs.c