Displaying 2 results from an estimated 2 matches for "1e095e7c".
2010 Aug 22
0
[LLVMdev] [PATCH] Re: Overflow trap
...n't you use a branch on a llvm.sadd.with.overflow that goes to an llvm.trap? This is what clang does with -ftrapv.
>>
>> -Chris
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100821/1e095e7c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: int.diff
Type: application/octet-stream
Size: 2184 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100821/1e095e7c/attachment.obj>
-------------- next...
2010 Aug 10
2
[LLVMdev] Overflow trap
After chatting on IRC, Peter wants a very specific interrupt (int4 on x86). I suggested he add a new llvm.x86.int(i32) intrinsic, and use the existing branch on llvm.sadd.with.overflow intrinsic. The x86 backend can then turn jo+int4 into into when reasonable.
-Chris
On Aug 9, 2010, at 5:45 PM, Chris Lattner wrote:
>
> On Aug 9, 2010, at 10:44 AM, Peter S. Housel wrote:
>
>>