aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2010-11-16 19:40:13 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2010-11-16 19:40:13 +0000
commitb813cacf06ed9e07d2fefe3340ba99f236b9c063 (patch)
treec48742ad6d999616e2f6a20963269b57015be2e4
parentdfac58bed1c67b00accbae5a8b89ed2f15baa7b9 (diff)
downloadllvm-b813cacf06ed9e07d2fefe3340ba99f236b9c063.zip
llvm-b813cacf06ed9e07d2fefe3340ba99f236b9c063.tar.gz
llvm-b813cacf06ed9e07d2fefe3340ba99f236b9c063.tar.bz2
Document -enable-no-infs-fp-math and -enable-no-nans-fp-math command line options
llvm-svn: 119370
-rw-r--r--llvm/docs/CommandGuide/llc.pod8
-rw-r--r--llvm/docs/CommandGuide/lli.pod9
2 files changed, 14 insertions, 3 deletions
diff --git a/llvm/docs/CommandGuide/llc.pod b/llvm/docs/CommandGuide/llc.pod
index ac24aab..eb26ec0 100644
--- a/llvm/docs/CommandGuide/llc.pod
+++ b/llvm/docs/CommandGuide/llc.pod
@@ -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
diff --git a/llvm/docs/CommandGuide/lli.pod b/llvm/docs/CommandGuide/lli.pod
index d368bec..52a2721 100644
--- a/llvm/docs/CommandGuide/lli.pod
+++ b/llvm/docs/CommandGuide/lli.pod
@@ -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>