<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Looks good to me.<br>
      <br>
      +/// Restore clobbered registers with their spill slot value.<br>
      +/// The SP will be adjust at the same time, thus the SpillList
      must be ordered<br>
      +/// with the largest (negative) offsets first.<br>
      +static void<br>
      +RestoreSpillList(MachineBasicBlock &MBB,
      MachineBasicBlock::iterator MBBI,<br>
      <br>
      adjust -> adjusted<br>
      <br>
      On 06/01/14 15:11, Robert Lytton wrote:<br>
    </div>
    <blockquote
cite="mid:E55040AE4CA5DE4A84D2754CE295AF3001686BBD@EXMAILBOX1.vo.spidergroup.co.uk"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
      <div style="direction: ltr;font-family: Tahoma;color:
        #000000;font-size: 10pt;">Hi,<br>
        <br>
        Here is a patch for handling the exception unwind on the XCore
        target.<br>
        <br>
            XCore target: Fix llvm.eh.return and EH info register
        handling<br>
        <br>
            For functions which call callsUnwindInit() and
        callsEHReturn()<br>
            spill slots for R0 & R1 (exception info regs) are added
        without spilling R0 & R1.<br>
            The EH unwinder will write the exception info to these spill
        slots.<br>
            The exception info registers are only restored during an
        llv.eh.return() to a landing pad.<br>
            Under normal return, R0 holds the function's return code and
        must not be overwritten.<br>
        <br>
        Robert<br>
        <br>
      </div>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Richard Osborne | XMOS
<a class="moz-txt-link-freetext" href="http://www.xmos.com">http://www.xmos.com</a>
</pre>
  </body>
</html>