From: Dan Gohman Date: Sun, 11 Jul 2010 00:08:34 +0000 (+0000) Subject: sdiv overflow is outright undefined behavior, with or without the X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=38da927703898d538cae72af188349954ae78408;p=oota-llvm.git sdiv overflow is outright undefined behavior, with or without the 'exact' keyword. Thanks to nlewycky for pointing this out! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108064 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/LangRef.html b/docs/LangRef.html index b952c4080ac..dbcd3556a4c 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -3564,7 +3564,7 @@ Instruction

If the exact keyword is present, the result value of the sdiv is a trap value if the result would - be rounded or if overflow would occur.

+ be rounded.

Example: