pro64-support
[Top] [All Lists]

Re: redundant part in lowering-to-cg

To: "''pro64-support@xxxxxxxxxxx' '" <pro64-support@xxxxxxxxxxx>, "Tuo, Tony" <tony.tuo@xxxxxxxxx>
Subject: Re: redundant part in lowering-to-cg
From: mpm@xxxxxxxxxxxxxxxxx (Michael Murphy)
Date: Tue, 31 Jul 2001 10:41:59 -0700 (PDT)
Sender: owner-pro64-support@xxxxxxxxxxx
        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)

<Prev in Thread] Current Thread [Next in Thread>