<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>
      On 02/10/13 17:13, Robert Lytton wrote:<br>
    </div>
    <blockquote
cite="mid:E55040AE4CA5DE4A84D2754CE295AF300149D97E@EXMAILBOX1.vo.spidergroup.co.uk"
      type="cite">
      <pre wrap="">I've amended the patch.
For phi node handling the predecessor block is checked for multiple successors and if so the edge is first split.

    XCore target: fix bug in XCoreLowerThreadLocal.cpp
    
    When a ConstantExpr which uses a thread local is part of a PHI node
    instruction, the insruction that replaces the ConstantExpr must
    be inserted in the predecessor block, in front of the terminator instruction.
    If the predecessor block has multiple successors, the edge is first split.

Good to go?

Robert</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
llvm-commits mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a>
</pre>
    </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>