<div class="gmail_quote">2011/8/4 Daniel Nicácio <span dir="ltr"><<a href="mailto:dnicacios@gmail.com" target="_blank">dnicacios@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi, this patch increments the instcombiner pass.<div>It adds a new XOR, OR, AND optimization, trying to find a chain of logical instructions (xor, and, or) operating on different bits of the same word. If this chain is found, it is collapsed into a single logical instruction.</div>






<div>The figure below shows a generic example:</div><div><br></div><div>Any comments and critics are welcome.</div>



<div></div></blockquote></div><br><div>Please attach a single diff containing all the changes, and please use "svn diff" or some other tool that makes a unified diff.</div><div><br></div><div>-Eli</div>