sdiv overflow is outright undefined behavior, with or without the
authorDan Gohman <gohman@apple.com>
Sun, 11 Jul 2010 00:08:34 +0000 (00:08 +0000)
committerDan Gohman <gohman@apple.com>
Sun, 11 Jul 2010 00:08:34 +0000 (00:08 +0000)
'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

docs/LangRef.html

index b952c4080ac5e0d726bd483dbbef3c23559d1049..dbcd3556a4c0731bad43320f603842556a149ffd 100644 (file)
@@ -3564,7 +3564,7 @@ Instruction</a> </div>
 
 <p>If the <tt>exact</tt> keyword is present, the result value of the
    <tt>sdiv</tt> is a <a href="#trapvalues">trap value</a> if the result would
-   be rounded or if overflow would occur.</p>
+   be rounded.</p>
 
 <h5>Example:</h5>
 <pre>