search for: b37d9dd7

Displaying 2 results from an estimated 2 matches for "b37d9dd7".

2013 Apr 05
0
[LLVMdev] Integer divide by zero
...-zero option seems to provide what you want. See the Clang User Manual: http://clang.llvm.org/docs/UsersManual.html#controlling-code-generation --Owen -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130405/b37d9dd7/attachment.html>
2013 Apr 05
4
[LLVMdev] Integer divide by zero
On Fri, Apr 5, 2013 at 2:40 PM, Joshua Cranmer 🐧 <Pidgeot18 at gmail.com>wrote: ... > Per C and C++, integer division by 0 is undefined. That means, if it > happens, the compiler is free to do whatever it wants. It is perfectly > legal for LLVM to define r to be, say, 42 in this code; it is not required > to preserve the fact that the idiv instruction on x86 and x86-64 will