This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Fusing two loops
- From: "Sandeep Maram" <sandeep244 at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 4 Apr 2008 12:50:55 +0530
- Subject: Fusing two loops
Hi,
I am trying to fuse two loops in tree level. For that, I am trying to
transfer statements in the header of one loop to the header of the
other one.
The code " http://rafb.net/p/fha0IG57.html " contains the 2 loops.
After moving a statement from one BB to another BB, do I need to
update any other info?
I need to transfer all the statements of bb_6 to bb_3. Can any one
please tell me what is the exact procedure.
Can i simply use add_bb_to_loop() and add bb_6 to loop_1 ?
Thanks,
Sandeep.