diff options
author | John Leidel <john.leidel@ttu.edu> | 2015-05-12 20:52:57 -0500 |
---|---|---|
committer | Craig Griffiths <craig.griffiths@codethink.co.uk> | 2015-08-14 10:37:59 +0100 |
commit | 1fbbe48084e48648d69423854663f5a10d9fd2c0 (patch) | |
tree | 7669d8e1d635a34ea6570882151ebbbe67fcb39f | |
parent | c1b7b2f05dfc6d71a4b3d238f3011adc8e4fae96 (diff) | |
download | flang-1fbbe48084e48648d69423854663f5a10d9fd2c0.tar.gz |
fix for issue #11, fix is temporary in that it disables the soft float; this needs to be moved to the FE module implementation as per LLVM trunk r237079 and beyond; mark this as something for the new driver implementation
-rw-r--r-- | lib/CodeGen/BackendUtil.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/CodeGen/BackendUtil.cpp b/lib/CodeGen/BackendUtil.cpp index 3190e5669d..db8c12befa 100644 --- a/lib/CodeGen/BackendUtil.cpp +++ b/lib/CodeGen/BackendUtil.cpp @@ -362,7 +362,9 @@ TargetMachine *EmitAssemblyHelper::CreateTargetMachine(bool MustCreateTM) { Options.NoNaNsFPMath = CodeGenOpts.NoNaNsFPMath; Options.NoZerosInBSS = CodeGenOpts.NoZeroInitializedInBSS; Options.UnsafeFPMath = CodeGenOpts.UnsafeFPMath; - Options.UseSoftFloat = CodeGenOpts.SoftFloat; + //TODO : This definition has moved to Module code rather thn TargetOptions + // This is true from LLVM trunk r237079 and beyond + //Options.UseSoftFloat = CodeGenOpts.SoftFloat; Options.StackAlignmentOverride = CodeGenOpts.StackAlignment; //Options.RealignStack = CodeGenOpts.StackRealignment; Options.DisableTailCalls = CodeGenOpts.DisableTailCalls; |