This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Loop induction variable optimization question
- From: Stephen Clarke <Stephen dot Clarke at imgtec dot com>
- To: Steve Ellcey <Steve dot Ellcey at imgtec dot com>
- Cc: "oleg dot endo at online dot de" <oleg dot endo at online dot de>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>, "jasonwucj at gmail dot com" <jasonwucj at gmail dot com>
- Date: Thu, 20 Jun 2013 10:16:22 +0000
- Subject: Re: Loop induction variable optimization question
> why (and where) did ivopts decide to move the post-increments above the usages in the first loop?
It looks rather like the transformation described next to tree-ssa-loop-ivopts.c/adjust_iv_update_pos.