From: Chris Lattner Date: Sat, 22 Sep 2007 03:17:52 +0000 (+0000) Subject: fix bugs in the manual X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=885190418fdf8736dd1948d5533f333d7e0f4060;p=oota-llvm.git fix bugs in the manual git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42221 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/LangRef.html b/docs/LangRef.html index 173e5b526f8..e7c3b1fade8 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -3122,14 +3122,10 @@ must be an integer type.

towards zero) unsigned integer value. If the value cannot fit in ty2, the results are undefined.

-

When converting to i1, the conversion is done as a comparison against -zero. If the value was zero, the i1 result will be false. -If the value was non-zero, the i1 result will be true.

-
Example:
   %X = fptoui double 123.0 to i32      ; yields i32:123
-  %Y = fptoui float 1.0E+300 to i1     ; yields i1:true
+  %Y = fptoui float 1.0E+300 to i1     ; yields undefined:1
   %X = fptoui float 1.04E+17 to i8     ; yields undefined:1
 
@@ -3162,14 +3158,10 @@ must also be an integer type.

towards zero) signed integer value. If the value cannot fit in ty2, the results are undefined.

-

When converting to i1, the conversion is done as a comparison against -zero. If the value was zero, the i1 result will be false. -If the value was non-zero, the i1 result will be true.

-
Example:
   %X = fptosi double -123.0 to i32      ; yields i32:-123
-  %Y = fptosi float 1.0E-247 to i1      ; yields i1:true
+  %Y = fptosi float 1.0E-247 to i1      ; yields undefined:1
   %X = fptosi float 1.04E+17 to i8      ; yields undefined:1