diff options
author | Melanie Blower <melanie.blower@intel.com> | 2020-05-01 10:32:06 -0700 |
---|---|---|
committer | Melanie Blower <melanie.blower@intel.com> | 2020-05-04 05:51:25 -0700 |
commit | f5360d4bb3376347479d86547d21b95d80be786d (patch) | |
tree | 2b0aea0b2e02617572187f640570a8c9fc1c1f92 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 67b466deda1dcee2ba4bea8ad3579415df678249 (diff) | |
download | llvm-f5360d4bb3376347479d86547d21b95d80be786d.zip llvm-f5360d4bb3376347479d86547d21b95d80be786d.tar.gz llvm-f5360d4bb3376347479d86547d21b95d80be786d.tar.bz2 |
Reapply "Add support for #pragma float_control" with buildbot fixes
Add support for #pragma float_control
Reviewers: rjmccall, erichkeane, sepavloff
Differential Revision: https://reviews.llvm.org/D72841
This reverts commit fce82c0ed310174fe48e2402ac731b6340098389.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 0e09eb7..2639fd8 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -4575,6 +4575,11 @@ inline llvm::Value *DominatingLLVMValue::restore(CodeGenFunction &CGF, } } // end namespace CodeGen + +// Map the LangOption for floating point exception behavior into +// the corresponding enum in the IR. +llvm::fp::ExceptionBehavior +ToConstrainedExceptMD(LangOptions::FPExceptionModeKind Kind); } // end namespace clang #endif |