aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-03-31 18:20:19 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-03-31 18:20:19 +0000
commit5bb3eced658dfbbca60e183155017481f6159923 (patch)
tree17e2c745fd4748198a288ff1959af63fd7fbd397
parent280ea1a7466751c6d27ff343072c65e59a950053 (diff)
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
-rw-r--r--docs/LangRef.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html
index 15ecf86d4f..eb36f093de 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -4751,8 +4751,8 @@ entry:
<h5>Example:</h5>
<pre>
- %X = fpext float 3.1415 to double <i>; yields double:3.1415</i>
- %Y = fpext float 1.0 to float <i>; yields float:1.0 (no-op)</i>
+ %X = fpext float 3.125 to double <i>; yields double:3.125000e+00</i>
+ %Y = fpext double %X to fp128 <i>; yields fp128:0xL00000000000000004000900000000000</i>
</pre>
</div>