tree-ssa-alias.h (refs_may_alias_p): Add tbaa_p bool parameter, defaulted to true.
authorRichard Biener <rguenther@suse.de>
Fri, 25 May 2018 13:08:28 +0000 (13:08 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 25 May 2018 13:08:28 +0000 (13:08 +0000)
commit27312bf2148af2bea946fcec8f4c2e1231e8d63b
treef39e10cb0937194fe5afa1b80ccfc7c530de6755
parentb55f342bdd8bec16b727a5889c589dd85c5ca3c3
tree-ssa-alias.h (refs_may_alias_p): Add tbaa_p bool parameter, defaulted to true.

2018-05-25  Richard Biener  <rguenther@suse.de>

* tree-ssa-alias.h (refs_may_alias_p): Add tbaa_p bool parameter,
defaulted to true.
(ref_maybe_used_by_stmt_p): Likewise.
(stmt_may_clobber_ref_p): Likewise.
(stmt_may_clobber_ref_p_1): Likewise.
* tree-ssa-alias.c (refs_may_alias_p): Add tbaa_p bool parameter
and pass it along.
(ref_maybe_used_by_stmt_p): Likewise.
(stmt_may_clobber_ref_p): Likewise.
(stmt_may_clobber_ref_p_1): Likewise.
* tree-vect-data-refs.c (vect_slp_analyze_node_dependences): Use
the alias oracle to disambiguate DRs with stmts DR analysis
couldn't handle.
(vect_analyze_data_refs): Do not give up on not analyzable
DRs for BB vectorization.  Remove code truncating the dataref
vector.

From-SVN: r260757
gcc/ChangeLog
gcc/tree-ssa-alias.c
gcc/tree-ssa-alias.h
gcc/tree-vect-data-refs.c