Fix types in documentation.

The examples were using f32, but the IR type is called float

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212675 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Matt Arsenault 2014-07-10 03:22:16 +00:00
parent c4788790f6
commit 985d66c081

View File

@ -8651,7 +8651,7 @@ Syntax:
:: ::
declare i16 @llvm.convert.to.fp16(f32 %a) declare i16 @llvm.convert.to.fp16(float %a)
Overview: Overview:
""""""""" """""""""
@ -8679,7 +8679,7 @@ Examples:
.. code-block:: llvm .. code-block:: llvm
%res = call i16 @llvm.convert.to.fp16(f32 %a) %res = call i16 @llvm.convert.to.fp16(float %a)
store i16 %res, i16* @x, align 2 store i16 %res, i16* @x, align 2
.. _int_convert_from_fp16: .. _int_convert_from_fp16:
@ -8692,7 +8692,7 @@ Syntax:
:: ::
declare f32 @llvm.convert.from.fp16(i16 %a) declare float @llvm.convert.from.fp16(i16 %a)
Overview: Overview:
""""""""" """""""""
@ -8721,7 +8721,7 @@ Examples:
.. code-block:: llvm .. code-block:: llvm
%a = load i16* @x, align 2 %a = load i16* @x, align 2
%res = call f32 @llvm.convert.from.fp16(i16 %a) %res = call float @llvm.convert.from.fp16(i16 %a)
Debugger Intrinsics Debugger Intrinsics
------------------- -------------------