Disable TBAA in some uses of call_may_clobber_ref_p
authorJan Hubicka <jh@suse.cz>
Thu, 8 Oct 2020 15:15:58 +0000 (17:15 +0200)
committerJan Hubicka <jh@suse.cz>
Thu, 8 Oct 2020 15:23:16 +0000 (17:23 +0200)
commit3e1123e52f8eca2650efa0bc81768792d328961f
tree6d7164bbf9f936430f020bc3ef566542abdbe447
parent3a9e6ee42acf1e3d00e4391ab1b1a56bb0b32ad2
Disable TBAA in some uses of call_may_clobber_ref_p

* tree-nrv.c (dest_safe_for_nrv_p): Disable tbaa in
call_may_clobber_ref_p and ref_maybe_used_by_stmt_p.
* tree-tailcall.c (find_tail_calls): Likewise.
* tree-ssa-alias.c (call_may_clobber_ref_p): Add tbaa_p parameter.
* tree-ssa-alias.h (call_may_clobber_ref_p): Update prototype.
* tree-ssa-sccvn.c (vn_reference_lookup_3): Pass data->tbaa_p
to call_may_clobber_ref_p_1.
gcc/tree-nrv.c
gcc/tree-ssa-alias.c
gcc/tree-ssa-alias.h
gcc/tree-ssa-sccvn.c
gcc/tree-tailcall.c