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] |
Hello,
can_duplicate_block_p prevents us from duplicating a basic block if it has a fallthru edge going to the exit block (which in the testcase for this PR prevents a loop from being unrolled). However, there does not seem to be a reason for this restriction; even if there is a problem with several fallthru edges to exit, cfg_layout_finalize should fix it.
Bootstrapped & regtested on i686.
Thanks, Richard.
Zdenek
PR rtl-optimization/32729 * cfghooks.c (can_duplicate_block_p): Do not forbid duplicating blocks that fallthru to exit.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |