<div dir="ltr">This patch simplifies constructs like:<div><br></div><div>(select (icmp eq (and X, C1), 0), Y, (or Y, C2))<br></div><div><br></div><div style>into:</div><div style><br></div><div style>(or (shl (and X, C1), C3), y)<br>
</div><div style><br></div><div style>where C3 = Log(C2) - Log(C1)</div><div style><br></div><div style>It includes quite a number of test cases and successfully runs 'make check' cleanly against r179493.</div><div style>
<br></div><div style>Thanks</div><div style>-- </div><div style>David Majnemer</div></div>