mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
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. llvm-svn: 128647
This commit is contained in:
parent
a935319339
commit
753ef5bbf0
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user