diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2010-11-16 19:40:13 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2010-11-16 19:40:13 +0000 |
commit | 5a0a7ced12ed248c2a7b857d024d31030c627190 (patch) | |
tree | e5b8aa1aba7c4fc8d6de5539426169879e711ee1 /docs/CommandGuide | |
parent | 6904d7af1c796a77f31d84ea9de50784f3cf5503 (diff) |
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
Diffstat (limited to 'docs/CommandGuide')
-rw-r--r-- | docs/CommandGuide/llc.pod | 8 | ||||
-rw-r--r-- | docs/CommandGuide/lli.pod | 9 |
2 files changed, 14 insertions, 3 deletions
diff --git a/docs/CommandGuide/llc.pod b/docs/CommandGuide/llc.pod index ac24aab4ff..eb26ec00fd 100644 --- a/docs/CommandGuide/llc.pod +++ b/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/docs/CommandGuide/lli.pod b/docs/CommandGuide/lli.pod index d368bec866..52a2721e7d 100644 --- a/docs/CommandGuide/lli.pod +++ b/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> |