[llvm-commits] [llvm] r131887 - in /llvm/trunk: lib/Transforms/InstCombine/InstCombineMulDivRem.cpp test/Transforms/InstCombine/shift.ll
Duncan Sands
baldrick at free.fr
Tue May 24 01:25:25 PDT 2011
Hi Nick,
> 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.
Ciao, Duncan.
More information about the llvm-commits
mailing list