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

llvm-svn: 119370
This commit is contained in:
Peter Collingbourne 2010-11-16 19:40:13 +00:00
parent dfac58bed1
commit b813cacf06
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>