[llvm] r212164 - InstCombine: Don't turn -(x/INT_MIN) -> x/INT_MIN
Sean Silva
chisophugis at gmail.com
Wed Jul 2 09:39:18 PDT 2014
On Wed, Jul 2, 2014 at 1:07 AM, Chandler Carruth <chandlerc at google.com>
wrote:
>
> On Tue, Jul 1, 2014 at 11:54 PM, David Majnemer <david.majnemer at gmail.com>
> wrote:
>
>> cmpl $-2147483648, %edi
>>
>
> There has to be a less crazy way to test for -1... encoding this massive
> immediate makes me sad.
>
Sign-extended imm8 should only take 1 byte.
-- Sean Silva
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140702/2c5c986b/attachment.html>
More information about the llvm-commits
mailing list