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] New loop flattening pass on tree-ssa



Sebastian Pop <sebpop@gmail.com> wrote on 27/10/2010 09:41:43 PM:

> prefetch and iv-opt could be done before loop flattening.
> I don't know if we could move these two passes before SLP-vect.
> Any ideas here Richi? Ira?

I tried to move SLP after iv-opt:

Index: passes.c
===================================================================
--- passes.c    (revision 165969)
+++ passes.c    (working copy)
@@ -913,10 +913,10 @@
            }
           NEXT_PASS (pass_predcom);
          NEXT_PASS (pass_complete_unroll);
-         NEXT_PASS (pass_slp_vectorize);
          NEXT_PASS (pass_parallelize_loops);
          NEXT_PASS (pass_loop_prefetch);
          NEXT_PASS (pass_iv_optimize);
+         NEXT_PASS (pass_slp_vectorize);
          NEXT_PASS (pass_tree_loop_done);
        }
       NEXT_PASS (pass_cse_reciprocals);

and nothing bad happened to SLP tests. So it seems to be ok from the SLP
point of view.

Ira

>
> Thanks,
> Sebastian
> [attachment "0001-Call-if-conversion-from-loop-flattening.patch"
> deleted by Ira Rosen/Haifa/IBM]


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