From 8e371aa7b623f6d1d62e8859df9d4134659bcd33 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 8 Sep 2009 19:45:34 +0000 Subject: [PATCH] another typo git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81243 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LangRef.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/LangRef.html b/docs/LangRef.html index b0bb562e7f3..b3e58138918 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -2136,7 +2136,7 @@ can be constant folded to undef because the undef could be an SNaN, and fdiv is not (currently) defined on SNaN's. However, in the second example, we can make a more aggressive assumption: because the undef is allowed to be an arbitrary value, we are allowed to assume that it could be zero. Since a divide by zero -it has undefined behavior, we are allowed to assume that the operation +has undefined behavior, we are allowed to assume that the operation does not execute at all. This allows us to delete the divide and all code after it: since the undefined operation "can't happen", the optimizer can assume that it occurs in dead code.