search for: e0848c6c

Displaying 3 results from an estimated 3 matches for "e0848c6c".

2013 Apr 08
1
[LLVMdev] Integer divide by zero
...#39;s in many ways. So, it could be that the issues I face are peculiar to my compiler. Without delving, my input LLVM IR is heavily optimized. -Cameron -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130408/e0848c6c/attachment.html>
2013 Apr 08
0
[LLVMdev] Integer divide by zero
Hey Duncan, On Mon, Apr 8, 2013 at 3:39 AM, Duncan Sands <baldrick at free.fr> wrote: ... > I reckon it shouldn't be too hard to teach the code generators to turn > this IR > sequence into "y = target-divide whatever/x" on targets for which dividing > by 0 > traps in a satisfactory way, so it turns into something efficient. > I was just writing Chandler
2013 Apr 08
3
[LLVMdev] Integer divide by zero
Hi Cameron, On 07/04/13 19:42, Cameron McInally wrote: > On Sun, Apr 7, 2013 at 1:23 PM, Duncan Sands <baldrick at free.fr > <mailto:baldrick at free.fr>> wrote: > ... > > If you want a trap you are going to have to (IMO) output IR > instructions rather than a constant expression. For example you can output the > equivalent of > if (x == 0)