<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On May 26, 2011, at 6:36 AM, Gergö Barany wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Optima; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="font-family: monospace; "><blockquote type="cite">One thing that is somewhat unclear to me is why phys-regs are only considered live to end of block? Is this because the RA later ignores these registers? How come<br></blockquote><blockquote type="cite">this information is not needed?<br></blockquote><br>My understanding is that physregs are only ever used for very brief, local<br>operations; for instance, an argument register is loaded before a function<br>call but is dead afterwards. Return registers are immediately copied to<br>virtual registers and can then be considered dead.<br><br>This way, you don't need to track liveness and reaching definitions for such<br>registers across blocks.</span></span></blockquote></div><br><div>That's right.</div><div><br></div><div>It it possible to have physregs live across blocks, but they must be explicitly added to the live-in list for each block.</div><div><br></div><div>/jakob</div><div><br></div></body></html>