From 3fa91b08a4ced58f520cb07d51316256d831893b Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Thu, 9 Nov 2006 21:48:10 +0000 Subject: [PATCH] Fix runaway element and section ordering. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31606 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LangRef.html | 76 +++++++++++++++++++++++------------------------ 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/docs/LangRef.html b/docs/LangRef.html index 44c63242c56..8c045000fec 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -2742,6 +2742,44 @@ If the value was non-zero, the bool result will be true.

+ + + +
+ +
Syntax:
+ +
+  <result> = fptrunc <ty> <value> to <ty2>             ; yields ty2
+
+ +
Overview:
+

The 'fptrunc' instruction truncates value to type +ty2.

+ + +
Arguments:
+

The 'fptrunc' instruction takes a floating + point value to cast and a floating point type to +cast it to. The size of value must be larger than the size of +ty2. This implies that fptrunc cannot be used to make a +no-op cast.

+ +
Semantics:
+

The 'fptrunc' instruction converts a +floating point value from a larger type to a smaller +type. If the value cannot fit within the destination type, ty2, then +the results are undefined.

+ +
Example:
+
+  %X = fptrunc double 123.0 to float         ; yields float:123.0
+  %Y = fptrunc double 1.0E+300 to float      ; yields undefined
+
+
+
'fpext .. to' Instruction @@ -2775,44 +2813,6 @@ change.

- - - -
- -
Syntax:
- -
-  <result> = fptrunc <ty> <value> to <ty2>             ; yields ty2
-
- -
Overview:
-

The 'fptrunc' instruction truncates value to type -ty2.

- - -
Arguments:
-

The 'fptrunc' instruction takes a floating - point value to cast and a floating point type to -cast it to. The size of value must be larger than the size of -ty2. This implies that fptrunc cannot be used to make a -no-op cast.

- -
Semantics:
-

The 'fptrunc' instruction converts a -floating point value from a larger type to a smaller -type. If the value cannot fit within the destination type, ty2, then -the results are undefined.

- -
Example:
-
-  %X = fptrunc double 123.0 to float         ; yields float:123.0
-  %Y = fptrunc double 1.0E+300 to float      ; yields undefined
-
-
-