[LLVMdev] Instructions on how to implement an instruction scheduler for a backend
Ziqiang Patrick Huang
zh28 at duke.edu
Mon Sep 22 12:50:40 PDT 2014
Hi,
I'm trying to implement an instruction scheduler for a target ISA, I wonder
is there any docs/instructions on how to do it.
I looked at other targets and see I need to write a TargetSchedule.td file
to describe the functinal units and latency constraints. But right now it's
not clear to me how LLVM takes advantage of that, and where it's doing the
actual scheduling based on that.
Also I noticed there are MachineScheduler and PostRAscheduler, what's the
difference of those and how to enable them for a certain target.
Any suggestions on how to get started is appreciated.
Thank,
Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140922/4102601a/attachment.html>
More information about the llvm-dev
mailing list