From: Nick Lewycky Date: Thu, 31 Mar 2011 18:20:19 +0000 (+0000) Subject: Pick better examples. "fpext float 3.1415 to double" won't parse because 3.1415 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5bb3eced658dfbbca60e183155017481f6159923;p=oota-llvm.git Pick better examples. "fpext float 3.1415 to double" won't parse because 3.1415 isn't an exact float. Also "fpext float 1.0 to float" is invalid IR because it's not performing an extension. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128647 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/LangRef.html b/docs/LangRef.html index 15ecf86d4f8..eb36f093de7 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -4751,8 +4751,8 @@ entry:
Example:
-  %X = fpext float 3.1415 to double        ; yields double:3.1415
-  %Y = fpext float 1.0 to float            ; yields float:1.0 (no-op)
+  %X = fpext float 3.125 to double         ; yields double:3.125000e+00
+  %Y = fpext double %X to fp128            ; yields fp128:0xL00000000000000004000900000000000