[llvm-commits] [PATCH] Avoid overflow in scheduling

Evan Cheng evan.cheng at apple.com
Sat Sep 26 22:19:50 PDT 2009


Also, could you first add assertions to catch the overflow? Thanks.

Evan

On Sep 26, 2009, at 3:36 PM, Evan Cheng wrote:

> I am concerned this can increase memory usage though for all "normal"
> usage cases though. It can a real issue for embedded hosts.
>
> Evan
>
> On Sep 26, 2009, at 1:19 PM, Reid Kleckner wrote:
>
>> Hey all,
>>
>> One of our nasty regression test cases generates a ginormous (4 MB of
>> bitcode) function that overflows a short integer in some instruction
>> scheduling code.  Is the attached fix OK?  If so, I'll commit it.
>>
>> This fixes PR4401.
>>
>> Thanks,
>> Reid
>> <isched-overflow.diff>_______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list