This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Stepanov, PowerPC, life_analysis
>>>>> "Richard" == Richard Henderson <rth@redhat.com> writes:
Richard> Yep. CSE doesn't maintain the CFG while simplifying or
Richard> eliminating branches, so rebuilding it is necessary. You
Richard> do want to add a call to cleanup_cfg though. The flags
Richard> to life_analysis are right.
Great. To make sure I'm clear: I call cleanup_cfg right after
find_basic_blocks to blow away unreachable blocks entirely, right?
Richard> I do suggest that we move this a bit earlier -- before
Richard> the call to renumber_insns.
Yes, that makes sense.
I feel much better that you've confirmed the rightness here. I'll
make the changes, retest the patch, and check it in.
Thanks,
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com