<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div id="yiv9793032175"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt;"><div id="yiv9793032175"><div id="yiv9793032175yui_3_13_0_ym1_1_1394616545095_3257"><div id="yiv9793032175yui_3_13_0_ym1_1_1394616545095_3256" class="yiv9793032175yui_3_13_0_ym1_1_1394616545095_3126" style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt;"><div id="yiv9793032175yui_3_13_0_ym1_7_1394561646716_70">Hello <span id="yiv9793032175misspell-0" class="yiv9793032175mark">LLVMdevs</span>,<br></div><div class="yiv9793032175yui_3_13_0_ym1_7_1394561646716_71 yiv9793032175yui_3_13_0_ym1_1_1394616545095_3127"
 id="yiv9793032175yui_3_13_0_ym1_7_1394561646716_72" style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br></div><div class="yiv9793032175yui_3_13_0_ym1_7_1394561646716_77 yiv9793032175yui_3_13_0_ym1_1_1394616545095_3130" id="yiv9793032175yui_3_13_0_ym1_7_1394561646716_78" style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">I would like to experiment with LLVM instruction scheduling, for the moment just trying a few <span id="misspell-2" class="">schedules</span> on a toy example, only with some slight differences between the schedules. I found that in <span id="yiv9793032175misspell-3" class="yiv9793032175mark">MCSchedule</span> (http://llvm.org/docs/doxygen/html/MCSchedule_8h_source.html) one
 can define <span id="yiv9793032175misspell-4" class="yiv9793032175mark">LoadLatency</span>, <span id="yiv9793032175misspell-5" class="yiv9793032175mark">HighLatency etc</span> for some operations.  I was thinking to define a new <span id="yiv9793032175misspell-6" class="yiv9793032175mark">CustomLatency, set some instructions to use it</span>, and see how this affects the scheduler. How can I achieve this? I do not want to test only the default options (list-tdrr, list-burr).<br><br>Could anyone please explain how this is working? Can I find any step-by-step documentation of how I can change the instruction scheduling and (if necessary) register
 allocation in <span id="yiv9793032175misspell-2" class="yiv9793032175mark">LLVM</span>?<br><br>Any help is appreciated.<br></div><div class="yiv9793032175yui_3_13_0_ym1_7_1394561646716_79 yiv9793032175yui_3_13_0_ym1_1_1394616545095_3131" id="yiv9793032175yui_3_13_0_ym1_7_1394561646716_80" style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br></div><div class="yiv9793032175yui_3_13_0_ym1_7_1394561646716_81 yiv9793032175yui_3_13_0_ym1_1_1394616545095_3132" id="yiv9793032175yui_3_13_0_ym1_7_1394561646716_82" style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">Thank you,</div><div class="yiv9793032175yui_3_13_0_ym1_7_1394561646716_83 yiv9793032175yui_3_13_0_ym1_1_1394616545095_3133"
 id="yiv9793032175yui_3_13_0_ym1_7_1394561646716_84" style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">Alexandra<br></div></div></div></div></div></div></div></div></body></html>