From 3e3ddda7a250804abd3dfe84b95694c1ffea27e5 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Thu, 10 Jul 2014 03:22:16 +0000 Subject: [PATCH] Fix types in documentation. The examples were using f32, but the IR type is called float llvm-svn: 212675 --- llvm/docs/LangRef.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst index 9886128..cc9656a7 100644 --- a/llvm/docs/LangRef.rst +++ b/llvm/docs/LangRef.rst @@ -8651,7 +8651,7 @@ Syntax: :: - declare i16 @llvm.convert.to.fp16(f32 %a) + declare i16 @llvm.convert.to.fp16(float %a) Overview: """"""""" @@ -8679,7 +8679,7 @@ Examples: .. 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 .. _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: """"""""" @@ -8721,7 +8721,7 @@ Examples: .. code-block:: llvm %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 ------------------- -- 2.7.4