diff options
author | Richard Biener <rguenther@suse.de> | 2023-06-21 11:12:36 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2023-06-21 13:38:02 +0200 |
commit | fb0447b1f6b7373f57cb3a3d17a46803cfd9909d (patch) | |
tree | 81b3a283fa1256e3b266c621f282ca4306950f20 /gcc/tree-ssa-loop-ivopts.h | |
parent | bb3c69058a5fb874ea3c5c26bfb331d33d0497c3 (diff) | |
download | gcc-fb0447b1f6b7373f57cb3a3d17a46803cfd9909d.zip gcc-fb0447b1f6b7373f57cb3a3d17a46803cfd9909d.tar.gz gcc-fb0447b1f6b7373f57cb3a3d17a46803cfd9909d.tar.bz2 |
Hide IVOPTs strip_offset
PR110243 shows strip_offset has some correctness issues, the following
avoids using it from loop distribution which can use the more correct
split_constant_offset from data-ref analysis instead. The patch then
un-exports the function from IVOPTs.
* tree-loop-distribution.cc (classify_builtin_st): Use
split_constant_offset.
* tree-ssa-loop-ivopts.h (strip_offset): Remove.
* tree-ssa-loop-ivopts.cc (strip_offset): Make static.
Diffstat (limited to 'gcc/tree-ssa-loop-ivopts.h')
-rw-r--r-- | gcc/tree-ssa-loop-ivopts.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/tree-ssa-loop-ivopts.h b/gcc/tree-ssa-loop-ivopts.h index 9514861..7a53ce4 100644 --- a/gcc/tree-ssa-loop-ivopts.h +++ b/gcc/tree-ssa-loop-ivopts.h @@ -28,7 +28,6 @@ extern void dump_cand (FILE *, struct iv_cand *); extern bool contains_abnormal_ssa_name_p (tree); extern class loop *outermost_invariant_loop_for_expr (class loop *, tree); extern bool expr_invariant_in_loop_p (class loop *, tree); -extern tree strip_offset (tree, poly_uint64_pod *); bool may_be_nonaddressable_p (tree expr); void tree_ssa_iv_optimize (void); |