This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH PR41488]Recognize more induction variables by simplifying PEELED chrec in scalar evolution


On 12/09/13 19:46, bin.cheng wrote:
IVOPT adds original cand and tries to keep it the original IV is
because it does have an updating statement.  For IVs picked up by
this patch, it doesn't have stepping statement, so no need/way to
leaving it untouched.  It will be represented by candidates for IVs
from which it is peeled.

Understood.  Thanks for clarifying.  The patch is fine for the trunk.
Thanks very much for reviewing.  Since Sebastian hasn't added any
comments, I will change the patch as suggested by Richard before, then
retest it, and check in the new version if it's ok.

Hi,
This is the new version patch computing the difference in tree affine then
comparing against integer_zero_node.
Bootstrap and test on current upstream.  I will commit it if there is no
other objection.
Please install.

Thanks,
Jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]