masoud.ataei added inline comments.

================
Comment at: clang/docs/UsersManual.rst:1393
+
+   Allow substitution of approximate calculations for functions.
+   Defaults to ``-fno-approx-func``.
----------------
erichkeane wrote:
> This seems pretty incomplete to me, I have no idea what it does from this 
> description.  Can you elaborate?
If I didn't miss to say it is about math function calls, then I guess it would 
be more clear. 
```
Allow substitution of approximate calculations for math function calls.
```
This option just adds `afn` fast-math flag to the function calls and in backend 
the math function call can be replaced by an approximate calculation (either 
another math function call or not). 
https://llvm.org/docs/LangRef.html#fast-math-flags


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106191/new/

https://reviews.llvm.org/D106191

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to