From 38da927703898d538cae72af188349954ae78408 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Sun, 11 Jul 2010 00:08:34 +0000 Subject: 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 --- docs/LangRef.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/LangRef.html') diff --git a/docs/LangRef.html b/docs/LangRef.html index b952c4080a..dbcd3556a4 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:
-- 
cgit v1.2.3