[LLVMdev] [llvm] r206732 - Implement builtins for safe division: safe.sdiv.iN, safe.udiv.iN, safe.srem.iN,

Eric Christopher echristo at gmail.com
Fri Apr 25 16:49:04 PDT 2014


> You keep mentioning undefined behaviour in C++.  I'm not compiling C++.  Why
> is this relevant?
>

This is actually my point. Everyone wants different semantics (see the
Go link I mentioned earlier) and so a huge "meta operation" node is
exactly the thing we don't want. It'll fit your needs, maybe
javascript (maybe not), but is not generally useful.

-eric



More information about the llvm-dev mailing list