<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Hal,<br>
<br>
On 07/06/2012 09:57, Chandler Carruth wrote:
<blockquote
cite="mid:CAGCO0Kiv+ZJJnQKeoHLFWr5q6ECcpj1tLScOaUudhrBq2BXusg@mail.gmail.com"
type="cite">
<div class="gmail_quote">On Wed, Jun 6, 2012 at 10:37 PM, Hal
Finkel <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:hfinkel@anl.gov" target="_blank">hfinkel@anl.gov</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
I am working on cleaning up some PPC code generation. Two
questions:<br>
<br>
1. Which pass is responsible for cleaning up self-moves:<br>
0x00000000100057c0 <+208>: mr r3,r3<br>
</blockquote>
</div>
</blockquote>
<br>
and the RA should eliminate trivial copies.<br>
<br>
<blockquote
cite="mid:CAGCO0Kiv+ZJJnQKeoHLFWr5q6ECcpj1tLScOaUudhrBq2BXusg@mail.gmail.com"
type="cite">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
2. Which pass is responsible for cleaning up unconditional
jumps that<br>
should be fall-throughs:<br>
0x0000000010005d88 <+1688>: b 0x10005d8c
<._Z11sfoo+1692><br>
0x0000000010005d8c <+1692>: ld r3,-32056(r2)<br>
</blockquote>
<div><br>
</div>
<div>This should be handled by the MachineBlockPlacement (among
others). Do you have a reduced est case?</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a class="moz-txt-link-freetext" href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a>
</pre>
</blockquote>
</body>
</html>