|Spilling in LCC email@example.com (1995-10-25)|
|Re: Spilling in LCC firstname.lastname@example.org (Chris Fraser) (1995-10-31)|
|From:||email@example.com (Mike Spivey)|
|Organization:||Oxford University Computing Laboratory, UK|
|Date:||Wed, 25 Oct 1995 10:57:22 GMT|
>From reading the Fraser/Hanson book about LCC, it seems to me that
(i) the register spiller assumes that each temporary is assigned once,
and the assignment is the first use. Thus, the store operation can
be inserted just after the instruction that first uses the temp.
(ii) conditional expressions (b ? e1 : e2) are translated as
if (not b) goto L1
tmp = e1
tmp = e2
with the result in tmp. And this code contains two assignments to
What am I missing?
-- Mike Spivey
Return to the
Search the comp.compilers archives again.