From: "Tuo, Tony" <tony.tuo@xxxxxxxxx>
There is redundant code introduced in lowering-to-cg phase in some
cases. The redundant part is marked in the end with string ">>>>>>". But this
seems to be eliminated in the later phases.
Although you could call this redundant, it is not a problem.
What happens is that first we have parameter expressions under a call,
e.g.
<load argument>
U4PARM
CALL
then when we lower we create stores of the arguments to the actual
registers, e.g.
<load argument>
STID $r4
but the CALL PARM still exists. So it is a copy of the <load argument>,
but that's okay.
-- Mike Murphy
-- mpm@xxxxxxx
-- quote of the day:
-- "Air power is an unusually seductive form of military strength
-- because, like modern courtship, it appears to offer gratification
-- without commitment." (Eliot Cohen)
|