<div class="gmail_quote">On Wed, Jun 6, 2012 at 10:37 PM, Hal Finkel <span dir="ltr"><<a href="mailto:hfinkel@anl.gov" target="_blank">hfinkel@anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;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>
<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>