diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-12-09 02:41:30 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-12-09 02:41:30 +0000 |
commit | c9ab2f39ceadefa4ac8c0c922c55a76c0d637a6e (patch) | |
tree | e52d141d7720411e8d73e15b2ed4edb0ed20e8dd /include/llvm/Target/TargetOptions.h | |
parent | 4ad6d61cb71fca7161dc38339ce29f4d776b2519 (diff) | |
download | external_llvm-c9ab2f39ceadefa4ac8c0c922c55a76c0d637a6e.zip external_llvm-c9ab2f39ceadefa4ac8c0c922c55a76c0d637a6e.tar.gz external_llvm-c9ab2f39ceadefa4ac8c0c922c55a76c0d637a6e.tar.bz2 |
Added option -soft-float to generate SW fp library calls instead of fp instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32393 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetOptions.h')
-rw-r--r-- | include/llvm/Target/TargetOptions.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetOptions.h b/include/llvm/Target/TargetOptions.h index ea391b7..4d21b0b 100644 --- a/include/llvm/Target/TargetOptions.h +++ b/include/llvm/Target/TargetOptions.h @@ -48,6 +48,12 @@ namespace llvm { /// and results are never NaNs or +-Infs. extern bool FiniteOnlyFPMathOption; extern bool FiniteOnlyFPMath(); + + /// UseSoftFloat - This flag is enabled when the -soft-float flag is specified + /// on the command line. When this flag is on, the code generator will + /// generate libcalls to the software floating point library instead of + /// target FP instructions. + extern bool UseSoftFloat; } // End llvm namespace #endif |