<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Can't we compute these on demand so codegen passes don't have to change these?<div><br></div><div>Evan</div><div><br><div><div>On Oct 1, 2009, at 2:25 PM, Devang Patel 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 Oct 1, 2009, at 1:38 PM, Dan Gohman wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>On Oct 1, 2009, at 11:25 AM, Devang Patel wrote:<br><br><blockquote type="cite">Author: dpatel<br></blockquote><blockquote type="cite">Date: Thu Oct  1 13:25:23 2009<br></blockquote><blockquote type="cite">New Revision: 83207<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">URL: <a href="http://llvm.org/viewvc/llvm-project?rev=83207&view=rev">http://llvm.org/viewvc/llvm-project?rev=83207&view=rev</a><br></blockquote><blockquote type="cite">Log:<br></blockquote><blockquote type="cite">Record first and last instruction of a scope in DbgScope.<br></blockquote><br>How does this interact with Post-RA scheduling, MachineLICM, and MachineHoist?<font class="Apple-style-span"><font class="Apple-style-span" color="#144FAE"><br></font></font></div></blockquote><br></div><div>It depends on when we run this DwarfDebug pass. Today, at iSel time we put the stake in the ground and emit label node (or instruction) to mark scope boundaries. In future,  this will be divided into three steps </div><div><br></div><div>1 - Just before AsmPrinter, the DwarfDebug will note down scope boundaries in DbgScope based on info attached with an machine instruction.</div><div>2 - @processDebugLoc() in AsmPrinter the labels will be emitted to mark scope boundaries and DW will be updated according.</div><div>3 - At the end, the scope DIEs will be created based on DbgScope entries.</div><div><br></div><div>So MachineLICM will have as much freedom as standard LICM.</div><div><br></div><div>-</div><div>Devang</div></div>_______________________________________________<br>llvm-commits mailing list<br><a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits<br></blockquote></div><br></div></body></html>