<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On Feb 19, 2014, at 7:25 AM, Yaorong lee <<a href="mailto:leeyr338@gmail.com">leeyr338@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi, <div> It can use the function of "is<span style="font-family: monospace; font-size: inherit; white-space: pre;">SchedBoundary" to </span>set a <span style="font-size: inherit; font-family: monospace; white-space: pre;">SchedBoundary in misched or post-ra sched. But the function will not use in pre-RA scheduler, is there some interfaces that I can set a </span><span style="font-family: monospace; font-size: inherit; white-space: pre;">SchedBoundary in pre-RA scheduler? </span><span style="font-family: monospace; font-size: inherit; white-space: pre;">Thanks in advance.</span></div></div></blockquote><div><br></div>The pre-RA scheduler doesn’t get to decide the scheduling region. The SelectionDAGBuilder does this. There are tablegen properties like hasCtrlDep that might help you. I probably should not suggest this, but as a terrible hack you could just split the basic block before the SelectionDAG is built (addPreISel).</div><div><br></div><div>-Andy</div><div><br><blockquote type="cite"><div dir="ltr">
<div><span style="font-family: monospace; font-size: inherit; white-space: pre;"><br></span></div><div><span style="font-family: monospace; font-size: inherit; white-space: pre;">Best Regards,</span></div>
<div><span style="font-family: monospace; font-size: inherit; white-space: pre;">Yaorong</span></div></div>
_______________________________________________<br>LLVM Developers mailing list<br><a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br></blockquote></div><br></body></html>