This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Minor SSA cleanups


On Fri, Jun 22, 2001 at 05:51:43AM -0400, Daniel Berlin wrote:
> By keeping the block number there, you *force* SSA-GVN to keep track of
> where each register is def'd.  Without it, I could do a simple replacement
> of register with register.

Um, no, the block number (or, eventually, pointer) in the PHI
node is not the block in which the register is defined.  It
is the incoming _edge_ from whence the definition came.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]