Displaying 2 results from an estimated 2 matches for "c3ec1ffd".
2010 Aug 10
0
[LLVMdev] Overflow trap
...#39;t understand... why can'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/20100809/c3ec1ffd/attachment.html>
2010 Aug 09
2
[LLVMdev] Overflow trap
Several instruction set architectures include arithmetic operations that can
trap on overflow, or support this feature with a separate
trap-on-overflow-flag instruction (such as the x86 INTO instruction).
I am adding a back-end to the Open Dylan compiler to generate LLVM IR. The
original back-end, which generates x86 machine code, makes use of the INTO
instruction, and the runtime turns the