This is the mail archive of the
mailing list for the GCC project.
Re: Delayed branch scheduling pass destroys the CFG data?
- From: "Steven Bosscher" <stevenb dot gcc at gmail dot com>
- To: nguyen at eit dot uni-kl dot de
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 27 Jun 2006 19:30:05 +0200
- Subject: Re: Delayed branch scheduling pass destroys the CFG data?
- References: <email@example.com>
On 6/27/06, Minh D. Nguyen <firstname.lastname@example.org> wrote:
I though the problem is that the delayed branch scheduling pass changes the
some instructions for the delayed branch, but it does not change the control
flow graph data.
It does not change the control flow graph. It destroys it. It doesn't
even really know that there is a CFG and it makes no attempt to keep
it up-to-date. It would take a rewrite of both reorg itself and of the
whole CFG support infrastructure in GCC to make it possible to have a
CFG after reorg. The current CFG infrastructure cannot handle the
SEQUENCE pseudo-insns used to represent delay slots.