diff options
author | Jan Hubicka <jh@suse.cz> | 2020-10-08 17:15:58 +0200 |
---|---|---|
committer | Jan Hubicka <jh@suse.cz> | 2020-10-08 17:23:16 +0200 |
commit | 3e1123e52f8eca2650efa0bc81768792d328961f (patch) | |
tree | 6d7164bbf9f936430f020bc3ef566542abdbe447 /gcc/tree-ssa-alias.h | |
parent | 3a9e6ee42acf1e3d00e4391ab1b1a56bb0b32ad2 (diff) | |
download | gcc-3e1123e52f8eca2650efa0bc81768792d328961f.zip gcc-3e1123e52f8eca2650efa0bc81768792d328961f.tar.gz gcc-3e1123e52f8eca2650efa0bc81768792d328961f.tar.bz2 |
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.
Diffstat (limited to 'gcc/tree-ssa-alias.h')
-rw-r--r-- | gcc/tree-ssa-alias.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-alias.h b/gcc/tree-ssa-alias.h index 1dd02c0..1561ead 100644 --- a/gcc/tree-ssa-alias.h +++ b/gcc/tree-ssa-alias.h @@ -128,7 +128,7 @@ extern bool ref_maybe_used_by_stmt_p (gimple *, ao_ref *, bool = true); extern bool stmt_may_clobber_global_p (gimple *); extern bool stmt_may_clobber_ref_p (gimple *, tree, bool = true); extern bool stmt_may_clobber_ref_p_1 (gimple *, ao_ref *, bool = true); -extern bool call_may_clobber_ref_p (gcall *, tree); +extern bool call_may_clobber_ref_p (gcall *, tree, bool = true); extern bool call_may_clobber_ref_p_1 (gcall *, ao_ref *, bool = true); extern bool stmt_kills_ref_p (gimple *, tree); extern bool stmt_kills_ref_p (gimple *, ao_ref *); |