Changes in directory llvm/include/llvm/Target:

TargetOptions.h updated: 1.8 -> 1.9
---
Log message:

Added option -enable-finite-only-fp-math. When on, the codegen can assume that
FP arithmetic arguments and results are never NaNs or +=Infs. This includes
ignoring parity flag (PF) when checking for FP equality.


---
Diffs of the changes:  (+7 -0)

 TargetOptions.h |    7 +++++++
 1 files changed, 7 insertions(+)


Index: llvm/include/llvm/Target/TargetOptions.h
diff -u llvm/include/llvm/Target/TargetOptions.h:1.8 
llvm/include/llvm/Target/TargetOptions.h:1.9
--- llvm/include/llvm/Target/TargetOptions.h:1.8        Wed Feb 22 14:19:42 2006
+++ llvm/include/llvm/Target/TargetOptions.h    Tue May 23 01:39:12 2006
@@ -40,6 +40,13 @@
   /// produce results that are "less precise" than IEEE allows.  This includes
   /// use of X86 instructions like FSIN and FCOS instead of libcalls.
   extern bool UnsafeFPMath;
+
+  /// FiniteOnlyFPMath - This is enabled when the -enable-finite-only-fp-math
+  /// flag is specified on the command line. When this flag is off (default),
+  /// the code generator is not allowed to assume that FP arithmetic arguments
+  /// and results are never NaNs or +-Infs. This includes ignoring parity flag
+  /// (PF) when checking for FP equality.
+  extern bool FiniteOnlyFPMath;
 } // End llvm namespace
 
 #endif



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to