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: [lno] [PATCH] Loop Versioning



On Jan 29, 2004, at 3:01 PM, Zdenek Dvorak wrote:


this patch should fix this.

It causes abort() at


find_induction_variable() --> find_givs() --> get_loop_body_in_dom_order()

But first, could you please check with what
statement the preheader of the loop in this case ends?

conditional statement if (cond) goto L1; else goto L2;

I assumed that
since I force the preheader to have just a single successor,

hmm... in loop versioning I create a pre-header with two successors. One is original loop and second is new version of original loop.

no basic
block should need to be created here.

Zdenek

--
Devang


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