[PATCH GCC][PR62173 partial/1]Preserve ssa name (thus vrp info) for IV structure
Bin Cheng
bin.cheng@arm.com
Fri Feb 13 09:43:00 GMT 2015
Hi,
When dealing with PR62173, we found places in which overflow check on SCEVs
can be improved by range information. This patch addresses one of them.
Richard once suggested that we should trace range info all the way through
SCEV thus have it on CHREC structure. But as far as IVOPTs is concerned,
there is already the information because for each IV, we have the
corresponding ssa name field. The only problem is GCC now releases this
field to make iv dump routines easier. This is a trivial patch fixing this.
Bootstrap and test along with the other one. Is it OK?
Thanks,
bin
2015-02-13 Bin Cheng <bin.cheng@arm.com>
PR tree-optimization/62173
* tree-ssa-loop-ivopts.c (dump_iv): New parameter.
(dump_use, dump_cand, find_induction_variables): Pass new argument
to dump_iv.
(record_use): Preserve the ssa name information in IV.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: preserve-ssa_name-in-iv-20150203.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150213/104da5a0/attachment.txt>
More information about the Gcc-patches
mailing list