aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-manip.h
diff options
context:
space:
mode:
authorPan Li <pan2.li@intel.com>2023-05-11 18:50:56 +0800
committerPan Li <pan2.li@intel.com>2023-05-11 19:06:44 +0800
commit0918360d709a32294913aef4392cec6c1dec1857 (patch)
tree8dfac10cd9d51ba431cc46965f928ae980158801 /gcc/tree-ssa-loop-manip.h
parent0440b774ea3311d65027aa7b1d26b62b7d8538ea (diff)
downloadgcc-0918360d709a32294913aef4392cec6c1dec1857.zip
gcc-0918360d709a32294913aef4392cec6c1dec1857.tar.gz
gcc-0918360d709a32294913aef4392cec6c1dec1857.tar.bz2
VECT: Add tree_code into "creat_iv" and allow it can handle MINUS_EXPR IV
This patch is going to be commited after bootstrap && regression on X86 PASSED. Thanks Richards. gcc/ChangeLog: * cfgloopmanip.cc (create_empty_loop_on_edge): Add PLUS_EXPR. * gimple-loop-interchange.cc (tree_loop_interchange::map_inductions_to_loop): Ditto. * tree-ssa-loop-ivcanon.cc (create_canonical_iv): Ditto. * tree-ssa-loop-ivopts.cc (create_new_iv): Ditto. * tree-ssa-loop-manip.cc (create_iv): Ditto. (tree_transform_and_unroll_loop): Ditto. (canonicalize_loop_ivs): Ditto. * tree-ssa-loop-manip.h (create_iv): Ditto. * tree-vect-data-refs.cc (vect_create_data_ref_ptr): Ditto. * tree-vect-loop-manip.cc (vect_set_loop_controls_directly): Ditto. (vect_set_loop_condition_normal): Ditto. * tree-vect-loop.cc (vect_create_epilog_for_reduction): Ditto. * tree-vect-stmts.cc (vectorizable_store): Ditto. (vectorizable_load): Ditto. Signed-off-by: Juzhe Zhong <juzhe.zhong@rivai.ai>
Diffstat (limited to 'gcc/tree-ssa-loop-manip.h')
-rw-r--r--gcc/tree-ssa-loop-manip.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-ssa-loop-manip.h b/gcc/tree-ssa-loop-manip.h
index d49273a3..bda09f5 100644
--- a/gcc/tree-ssa-loop-manip.h
+++ b/gcc/tree-ssa-loop-manip.h
@@ -22,8 +22,8 @@ along with GCC; see the file COPYING3. If not see
typedef void (*transform_callback)(class loop *, void *);
-extern void create_iv (tree, tree, tree, class loop *, gimple_stmt_iterator *,
- bool, tree *, tree *);
+extern void create_iv (tree, tree_code, tree, tree, class loop *,
+ gimple_stmt_iterator *, bool, tree *, tree *);
extern void rewrite_into_loop_closed_ssa (bitmap, unsigned);
extern void verify_loop_closed_ssa (bool, class loop * = NULL);