From 226e20801438ae2e35df4234ad34c318be0e5522 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Sun, 11 Jul 2010 00:08:34 +0000 Subject: [PATCH] sdiv overflow is outright undefined behavior, with or without the 'exact' keyword. Thanks to nlewycky for pointing this out! llvm-svn: 108064 --- docs/LangRef.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: