<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 28, 2015 at 2:58 PM, Meador Inge <span dir="ltr"><<a href="mailto:meadori@gmail.com" target="_blank">meadori@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On Thu, May 28, 2015 at 4:29 PM, David Majnemer<br>
<<a href="mailto:david.majnemer@gmail.com">david.majnemer@gmail.com</a>> wrote:<br>
> Author: majnemer<br>
> Date: Thu May 28 16:29:59 2015<br>
> New Revision: 238503<br>
><br>
> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject-3Frev-3D238503-26view-3Drev&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=g2aNLNMfEJ4pff67Zl7Bl9sQpdud8da5XOVMc1xuxM4&s=RHOdCUtqs7l2RfERdVEPWSVWwCClW3ZZ2VQcYH7eyu4&e=" target="_blank">http://llvm.org/viewvc/llvm-project?rev=238503&view=rev</a><br>
> Log:<br>
> [SelectionDAG] Scalar shift amounts may require legalization<br>
><br>
> The shift amount may be too small to cope with promoted left hand side,<br>
> make sure to promote it as well.<br>
<br>
</span>I looked at this PR and converged on a similar fix to legalize the shift amount.<br>
<br>
Will you add a test case?<br></blockquote><div><br></div><div>Sorry about that, forgot to 'git add' the file. Added in r238515.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span class=""><font color="#888888"><br>
-- Meador<br>
</font></span></blockquote></div><br></div></div>