This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug tree-optimization/42771] [4.5 Regression][graphite] ICE: in graphite_loop_normal_form, at graphite-sese-to-poly.c (2)
- From: Sebastian Pop <sebpop at gmail dot com>
- To: gcc-bugzilla at gcc dot gnu dot org
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 10 Feb 2010 18:28:46 -0600
- Subject: Re: [Bug tree-optimization/42771] [4.5 Regression][graphite] ICE: in graphite_loop_normal_form, at graphite-sese-to-poly.c (2)
- References: <bug-42771-14164@http.gcc.gnu.org/bugzilla/> <20100210182625.29007.qmail@sourceware.org>
On Wed, Feb 10, 2010 at 12:26, amonakov at gcc dot gnu dot org
<gcc-bugzilla@gcc.gnu.org> wrote:
> I don't see how this patch makes simple_iv call from number_of_iterations_exit
> return true for j_20. ?Could you please kindly explain?
We used to analyze the second scop after the code generation of the
first one. In that context, the scalar evolution analysis failed to
analyze the code containing scalar computations stored and read from
arrays with 1 element (introduced by the code generation and analysis
part). We now analyze all the scops before code generating them:
thus, we don't have to invalidate the scalar evolution hash tables
between the analysis of two scops.