From 92fc76c901a26c3b769e0434996a452ca1abfef2 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Mon, 9 Apr 2012 14:08:00 +0000 Subject: [PATCH] Clarify that fpaccuracy metadata is giving the compiler permission to use a less accurate method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154319 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LangRef.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/LangRef.html b/docs/LangRef.html index 50ce5a07f43..e6d47a6ce5b 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -3006,8 +3006,10 @@ call void @llvm.dbg.value(metadata !24, i64 0, metadata !25)

fpaccuracy metadata may be attached to any instruction of floating - point type. It expresses the maximum relative error of the result of - that instruction, in ULPs. ULP is defined as follows:

+ point type. It expresses the maximum relative error allowed in the result + of that instruction, in ULPs, thus potentially allowing the compiler to use + a more efficient but less accurate method of computing it. + ULP is defined as follows: