This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC ARM ivopts] : Check valid auto-inc addressing modes while looking at ivopts candidates
- From: Steven Bosscher <stevenb dot gcc at gmail dot com>
- To: ramana dot radhakrishnan at linaro dot org
- Cc: gcc-patches at gcc dot gnu dot org, richard dot sandiford at linaro dot org, patches at linaro dot org
- Date: Thu, 21 Jul 2011 19:13:41 +0200
- Subject: Re: [RFC ARM ivopts] : Check valid auto-inc addressing modes while looking at ivopts candidates
- References: <1311252456-5794-1-git-send-email-ramana.radhakrishnan@linaro.org>
On Thu, Jul 21, 2011 at 2:47 PM, <ramana.radhakrishnan@linaro.org> wrote:
> ? ? ? ?* tree-ssa-loop-ivopts.c (rtl.h): Include.
Please don't do this. The goal should be that GIMPLE is independent of
RTL, and almost no tree-* files include rtl.h for this reason.
Including rtl.h in tree-ssa-loop-ivopts.c is a very big step in the
wrong direction.
Maybe add a function in tree-ssa-address.c for this, or use a target hook.
Ciao!
Steven