Clarify that fpaccuracy metadata is giving the compiler permission to use a
authorDuncan Sands <baldrick@free.fr>
Mon, 9 Apr 2012 14:08:00 +0000 (14:08 +0000)
committerDuncan Sands <baldrick@free.fr>
Mon, 9 Apr 2012 14:08:00 +0000 (14:08 +0000)
less accurate method.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154319 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LangRef.html

index 50ce5a07f433e352225acfd2f46d4dcf65e348a8..e6d47a6ce5bbbf443e0bf45cb12e1a8967eeddc4 100644 (file)
@@ -3006,8 +3006,10 @@ call void @llvm.dbg.value(metadata !24, i64 0, metadata !25)
 <div>
 
 <p><tt>fpaccuracy</tt> 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:</p>
+   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:</p>
 
 <blockquote>