Yaorong lee
2014-Feb-19 15:25 UTC
[LLVMdev] How to set a "SchedBoundary" in pre-RA scheduler
Hi, It can use the function of "isSchedBoundary" to set a 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 SchedBoundary in pre-RA scheduler? Thanks in advance. Best Regards, Yaorong -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140219/e319ccf4/attachment.html>
Andrew Trick
2014-Feb-24 08:17 UTC
[LLVMdev] How to set a "SchedBoundary" in pre-RA scheduler
On Feb 19, 2014, at 7:25 AM, Yaorong lee <leeyr338 at gmail.com> wrote:> Hi, > It can use the function of "isSchedBoundary" to set a 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 SchedBoundary in pre-RA scheduler? Thanks in advance.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). -Andy> > Best Regards, > Yaorong > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140224/1433a3e0/attachment.html>