<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jan 9, 2012, at 7:23 PM, Jakob Stoklund Olesen wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jan 9, 2012, at 6:02 PM, Evan Cheng 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-align: -webkit-auto; 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; ">Allow machine-cse to look across MBB boundary when cse'ing instructions that<br>define physical registers. It's currently very restrictive, only catching<br>cases where the CE is in an immediate (and only) predecessor. But it catches<br>a surprising large number of cases.</span></span></blockquote></div><br><div>Yikes, that's pretty scary. You could badly constrain register allocation by extend the live range of random physical registers. You could also make the program impossible to register allocate, like physreg coalescing used to do on occasion.</div><div><br></div><div>Could this be limited to only unallocatable physregs? I am assuming you are after EFLAGS/CPSR anyway.</div><div><br></div><div>Check out TRI::isInAllocatableClass(), or even RegisterClassInfo::isAllocatable().</div></div></blockquote><div><br></div>Ok. I've constrained it with r147902.</div><div><br></div><div>Evan</div><div><br><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>/jakob</div><div><br></div></div></blockquote></div><br></body></html>