diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2010-12-04 01:51:14 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2010-12-04 01:51:14 +0000 |
commit | b8d9995c0eac512c566c0ffdddcef8bac7d78b16 (patch) | |
tree | 024187f63d86e383c83386fc6628d064b60c2910 /clang/lib/CodeGen/BackendUtil.cpp | |
parent | 0ba5ac85447b62d6909a65d71a7ebac614e36c9d (diff) | |
download | bcm5719-llvm-b8d9995c0eac512c566c0ffdddcef8bac7d78b16.tar.gz bcm5719-llvm-b8d9995c0eac512c566c0ffdddcef8bac7d78b16.zip |
Implement -cl-unsafe-math-optimizations
llvm-svn: 120879
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
-rw-r--r-- | clang/lib/CodeGen/BackendUtil.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/BackendUtil.cpp b/clang/lib/CodeGen/BackendUtil.cpp index ad70b601c55..2808b4a350d 100644 --- a/clang/lib/CodeGen/BackendUtil.cpp +++ b/clang/lib/CodeGen/BackendUtil.cpp @@ -186,6 +186,7 @@ bool EmitAssemblyHelper::AddEmitPasses(BackendAction Action, llvm::NoInfsFPMath = CodeGenOpts.NoInfsFPMath; llvm::NoNaNsFPMath = CodeGenOpts.NoNaNsFPMath; NoZerosInBSS = CodeGenOpts.NoZeroInitializedInBSS; + llvm::UnsafeFPMath = CodeGenOpts.UnsafeFPMath; llvm::UseSoftFloat = CodeGenOpts.SoftFloat; UnwindTablesMandatory = CodeGenOpts.UnwindTables; |