tree-chrec.c (convert_affine_scev): New parameter.
authorBin Cheng <bin.cheng@arm.com>
Thu, 21 Jul 2016 10:52:13 +0000 (10:52 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Thu, 21 Jul 2016 10:52:13 +0000 (10:52 +0000)
commitb24d94207914fb8695bd7307187a5a0bfcddc8c2
tree5395d978a3d736c900e79a29efb655abdb1d10e6
parent106d07f8d20542c5a0acad3699843aa26b2ee84f
tree-chrec.c (convert_affine_scev): New parameter.

* tree-chrec.c (convert_affine_scev): New parameter.  Pass new arg.
(chrec_convert_1, chrec_convert): Ditto.
* tree-chrec.h (chrec_convert, convert_affine_scev): New parameter.
* tree-scalar-evolution.c (interpret_rhs_expr): Pass new arg.
* tree-vrp.c (adjust_range_with_scev): Ditto.
* tree-ssa-loop-niter.c (idx_infer_loop_bounds): Ditto.
(scev_var_range_cant_overflow): New function.
(scev_probably_wraps_p): New parameter.  Call above function.
* tree-ssa-loop-niter.h (scev_probably_wraps_p): New parameter.

gcc/testsuite
* gcc.dg/tree-ssa/scev-15.c: New.

From-SVN: r238586
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/scev-15.c [new file with mode: 0644]
gcc/tree-chrec.c
gcc/tree-chrec.h
gcc/tree-scalar-evolution.c
gcc/tree-ssa-loop-niter.c
gcc/tree-ssa-loop-niter.h
gcc/tree-vrp.c