Hi guys,
I am trying to get as close mapping from liveness information ( in
bb->il.rtl->global_live_at_start )
to global and local variables as possible. Mapping to stack slots
would be a good first step.
What data structures should I look at use?
What would be the best way to do it?
Any sugges
ply a latent bug in the PPC back-end.
Got it working. It turns out I was renumbering the instructions just before
pass_final and it was messing up the creation of jump islands in PPC (and I
believe other archs with short cond branches). I changed my code not to
require the renumbering and it
t shorten_branches() does not really modify
instructions but it helps to shorten branches by providing more accurate
insns lengths?
Thanks,
Gregory
--
Gregory B. Prokopski <[EMAIL PROTECTED]>
Sable Research Group http://www.sable.mcgill.ca
Montreal, Quebec, Canada
all create
a chain of BB
3. cfg_layout_finalize();
Does this reorder the insn chain? If not, how do I reorder it?
Or where do I look for how it's done?
G.
--
Gregory B. Prokopski <[EMAIL PROTECTED]>
Sable Research Group http://www.sable.mcgill.ca
Montreal, Quebec, Canada
+++ Ian Lance Taylor [05/07/07 17:48 -0700]:
> "Gregory B. Prokopski" <[EMAIL PROTECTED]> writes:
>
> > One of the operations I need to perform is to reorder basic blocks in a
> > particular manner. This works fine for example on i386 and other
BB with an
unconditional or indirect jump to the label (like bb-reorder.c)
and redirect the original jump to it.
Is there an esier way of doing it? (maybe there's mechanisms in GCC that do
it already?) What am I missing? Any similar code in GCC I should look at?
Thanks,
Gregory