[llvm-commits] [llvm] r131887 - in /llvm/trunk: lib/Transforms/InstCombine/InstCombineMulDivRem.cpp test/Transforms/InstCombine/shift.ll
baldrick at free.fr
Tue May 24 03:25:25 CDT 2011
> Dividing by zero actually generates a trap, not just undef. You could update the
> LangRef to make that explicit.
indeed this was my objection: according to the LangRef div by zero does not
generate a trap value. If it's just a doc bug (Dan, can you please confirm)
then I will fix LangRef.
More information about the llvm-commits