Document -enable-no-infs-fp-math and -enable-no-nans-fp-math command line options

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119370 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Peter Collingbourne 2010-11-16 19:40:13 +00:00
parent 6904d7af1c
commit 5a0a7ced12
2 changed files with 14 additions and 3 deletions

View File

@ -84,6 +84,14 @@ Disable optimizations that may produce excess precision for floating point.
Note that this option can dramatically slow down code on some systems
(e.g. X86).
=item B<--enable-no-infs-fp-math>
Enable optimizations that assume no Inf values.
=item B<--enable-no-nans-fp-math>
Enable optimizations that assume no NAN values.
=item B<--enable-unsafe-fp-math>
Enable optimizations that make unsafe assumptions about IEEE math (e.g. that

View File

@ -102,10 +102,13 @@ B<llvm-as E<lt> /dev/null | llc -march=xyz -mattr=help>
Disable optimizations that may increase floating point precision.
=item B<-enable-finite-only-fp-math>
=item B<-enable-no-infs-fp-math>
Enable optimizations that assumes only finite floating point math. That is,
there is no NAN or Inf values.
Enable optimizations that assume no Inf values.
=item B<-enable-no-nans-fp-math>
Enable optimizations that assume no NAN values.
=item B<-enable-unsafe-fp-math>